IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d49a724 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "6",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1079.455744,
"max_global_vram": 68702.69952,
"max_process_vram": 46294.286336,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.6010947265625,
"mean": 8.6010947265625,
"stdev": 0.0,
"p50": 8.6010947265625,
"p90": 8.6010947265625,
"p95": 8.6010947265625,
"p99": 8.6010947265625,
"values": [
8.6010947265625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.273664,
"max_global_vram": 68702.69952,
"max_process_vram": 233730.240512,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.9967664623260497,
"mean": 0.0071709817433528765,
"stdev": 0.0002895410449554125,
"p50": 0.0070601701736450195,
"p90": 0.007549546909332275,
"p95": 0.007667868137359619,
"p99": 0.00801466814994812,
"values": [
0.0073198509216308594,
0.00730177116394043,
0.00738753080368042,
0.007482891082763672,
0.007456010818481446,
0.007319691181182861,
0.007389291763305664,
0.007598411083221435,
0.007285291194915771,
0.007350090980529785,
0.007267530918121338,
0.007208170890808105,
0.0071694512367248536,
0.0071302509307861325,
0.0071729707717895505,
0.007431850910186767,
0.007102731227874756,
0.00705633020401001,
0.007069770812988281,
0.007069291114807129,
0.007086090087890625,
0.007183051109313965,
0.00709489107131958,
0.007098570823669433,
0.00711536979675293,
0.007098411083221436,
0.007056490898132324,
0.007064651012420655,
0.007075850009918213,
0.007060650825500488,
0.00788241195678711,
0.00912433433532715,
0.0070417699813842775,
0.007019851207733154,
0.006990571022033692,
0.006998089790344239,
0.006984490871429444,
0.007026569843292236,
0.007020010948181153,
0.0070000109672546384,
0.006957449913024902,
0.006962730884552002,
0.007002729892730713,
0.0069644908905029295,
0.0069963312149047855,
0.006981130123138428,
0.006998091220855713,
0.006985929965972901,
0.007005930900573731,
0.007000490188598633,
0.006985130786895752,
0.0070232110023498535,
0.007020810127258301,
0.006969611167907715,
0.006969769954681396,
0.006960011005401611,
0.007140810966491699,
0.00702800989151001,
0.0070281710624694824,
0.006978569984436035,
0.007015690803527832,
0.007012811183929444,
0.007004010200500488,
0.007075050830841065,
0.007014730930328369,
0.007017769813537598,
0.0070160112380981444,
0.007086090087890625,
0.0070062499046325685,
0.0070299310684204105,
0.007001609802246094,
0.00700977087020874,
0.007007370948791504,
0.006985290050506592,
0.006998731136322022,
0.007060810089111328,
0.0070110511779785155,
0.006973289966583252,
0.007069610118865967,
0.007018091201782227,
0.006999209880828857,
0.007041291236877441,
0.007039851188659668,
0.0070601701736450195,
0.007024810791015625,
0.007014891147613525,
0.007012650012969971,
0.0070140910148620604,
0.007010250091552734,
0.0070036911964416505,
0.007014891147613525,
0.00702193021774292,
0.0070208110809326174,
0.006996809959411621,
0.007031530857086182,
0.0070427308082580565,
0.007130090236663818,
0.007113930225372315,
0.007070731163024902,
0.007103691101074219,
0.007063849925994873,
0.007089450836181641,
0.007119211196899414,
0.007128170967102051,
0.007026249885559082,
0.0070654511451721195,
0.007119370937347412,
0.007049130916595459,
0.007033130168914795,
0.00702561092376709,
0.007038569927215576,
0.007060330867767334,
0.007068971157073975,
0.007048810005187988,
0.007060969829559326,
0.007062571048736572,
0.007044650077819824,
0.007056169986724854,
0.007093131065368652,
0.007046091079711914,
0.007087530136108399,
0.00774865198135376,
0.007976972103118896,
0.00796593189239502,
0.008037772178649902,
0.007651212215423584,
0.007600171089172363,
0.007507691860198975,
0.007520811080932617,
0.00756865119934082,
0.007551210880279541,
0.007769132137298584,
0.007590250968933105,
0.007548811912536621,
0.007549130916595459,
0.0074632101058959965,
0.007658892154693604,
0.007455370903015137,
0.007482410907745362
]
},
"throughput": {
"unit": "samples/s",
"value": 139.4509198028495
},
"energy": null,
"efficiency": null
}
}
}