
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
020d186
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": "0", | |
"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": true, | |
"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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.635072, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3356767578125, | |
"mean": 7.3356767578125, | |
"stdev": 0.0, | |
"p50": 7.3356767578125, | |
"p90": 7.3356767578125, | |
"p95": 7.3356767578125, | |
"p99": 7.3356767578125, | |
"values": [ | |
7.3356767578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0569548833335793e-06, | |
"ram": 5.638044323315541e-07, | |
"gpu": 0.0, | |
"total": 1.6207593156651334e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.820864, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9962773747444159, | |
"mean": 0.00691859288016955, | |
"stdev": 0.0002780244823726523, | |
"p50": 0.006834175825119018, | |
"p90": 0.0072005630970001224, | |
"p95": 0.007459532618522644, | |
"p99": 0.007893811225891114, | |
"values": [ | |
0.007459839820861816, | |
0.007288832187652588, | |
0.007286784172058106, | |
0.007177216053009033, | |
0.007132160186767578, | |
0.007153664112091064, | |
0.007197696208953858, | |
0.007161856174468994, | |
0.0071198720932006835, | |
0.007219200134277344, | |
0.0071485438346862796, | |
0.007173120021820068, | |
0.00728166389465332, | |
0.007094272136688232, | |
0.007094272136688232, | |
0.0071495680809020995, | |
0.006847519874572754, | |
0.006909952163696289, | |
0.006822912216186523, | |
0.0068280320167541505, | |
0.006865920066833496, | |
0.006766592025756836, | |
0.006793248176574707, | |
0.006968319892883301, | |
0.006855679988861084, | |
0.006814720153808594, | |
0.006889472007751465, | |
0.006837247848510742, | |
0.006815743923187256, | |
0.006849535942077637, | |
0.006814720153808594, | |
0.006849535942077637, | |
0.006815711975097657, | |
0.006774784088134766, | |
0.006743040084838867, | |
0.006923264026641846, | |
0.006772736072540283, | |
0.006890495777130127, | |
0.006799359798431396, | |
0.006772736072540283, | |
0.006962143898010254, | |
0.006831103801727295, | |
0.006883391857147217, | |
0.006866943836212158, | |
0.007004159927368164, | |
0.007109632015228271, | |
0.0068280320167541505, | |
0.00676966381072998, | |
0.006876160144805908, | |
0.006908927917480469, | |
0.006867968082427979, | |
0.006846464157104492, | |
0.006831103801727295, | |
0.0068731198310852054, | |
0.006740992069244385, | |
0.006773759841918945, | |
0.006800384044647217, | |
0.00676966381072998, | |
0.006988800048828125, | |
0.006813695907592773, | |
0.0067717118263244626, | |
0.006749184131622315, | |
0.007002111911773682, | |
0.0070830078125, | |
0.007095295906066895, | |
0.007037951946258545, | |
0.007457791805267334, | |
0.00689356803894043, | |
0.007032832145690918, | |
0.00719155216217041, | |
0.007157760143280029, | |
0.007202816009521484, | |
0.0071526398658752445, | |
0.007128064155578613, | |
0.007201791763305664, | |
0.007012351989746094, | |
0.007527423858642578, | |
0.007039999961853028, | |
0.007023615837097168, | |
0.006973504066467285, | |
0.006829055786132812, | |
0.006936639785766602, | |
0.007063551902770996, | |
0.0068392958641052244, | |
0.006781951904296875, | |
0.006715392112731934, | |
0.006922239780426025, | |
0.006884352207183838, | |
0.006964223861694336, | |
0.00687718391418457, | |
0.006900735855102539, | |
0.0070225920677185055, | |
0.007655424118041992, | |
0.007911424160003662, | |
0.007870463848114014, | |
0.007854112148284912, | |
0.007825407981872558, | |
0.008070143699645996, | |
0.0070522880554199216, | |
0.006792191982269287, | |
0.006764607906341553, | |
0.006719456195831299, | |
0.006724607944488525, | |
0.006686719894409179, | |
0.006710303783416748, | |
0.006737919807434082, | |
0.006690815925598144, | |
0.006685696125030518, | |
0.0067010560035705566, | |
0.006726655960083008, | |
0.00667955207824707, | |
0.006690815925598144, | |
0.006675456047058105, | |
0.006702079772949219, | |
0.006770688056945801, | |
0.0067900800704956054, | |
0.006681600093841553, | |
0.006677504062652588, | |
0.0067123198509216305, | |
0.006673408031463623, | |
0.0067573761940002445, | |
0.006683648109436035, | |
0.006750144004821777, | |
0.006700032234191895, | |
0.0067041277885437015, | |
0.006711296081542969, | |
0.006668288230895996, | |
0.006702079772949219, | |
0.006657023906707763, | |
0.006689792156219483, | |
0.006792191982269287, | |
0.006800384044647217, | |
0.006667263984680176, | |
0.0066078720092773435, | |
0.006697919845581055, | |
0.0065771517753601075, | |
0.006598656177520752, | |
0.006602752208709717, | |
0.0066344962120056155, | |
0.006614016056060791, | |
0.0065812478065490725, | |
0.006599679946899414, | |
0.006656000137329102, | |
0.006612991809844971 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.53806103640738 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.858084792123827e-08, | |
"ram": 4.278438269965336e-08, | |
"gpu": 1.6186599206579042e-07, | |
"total": 2.8323122268668205e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3530684.189808504 | |
} | |
} | |
} | |
} |