
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
25a555b
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.224-212.876.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.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": 800.247808, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.03089306640625, | |
"mean": 8.03089306640625, | |
"stdev": 0.0, | |
"p50": 8.03089306640625, | |
"p90": 8.03089306640625, | |
"p95": 8.03089306640625, | |
"p99": 8.03089306640625, | |
"values": [ | |
8.03089306640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.553198172204753e-06, | |
"ram": 1.3794758292693617e-06, | |
"gpu": 3.2552803820029563e-06, | |
"total": 7.187954383477071e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.69984, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 0.9994454083442688, | |
"mean": 0.006707687304323952, | |
"stdev": 0.00017038355302531554, | |
"p50": 0.006651904106140137, | |
"p90": 0.006848307323455811, | |
"p95": 0.007130112171173096, | |
"p99": 0.00729292808532715, | |
"values": [ | |
0.007329792022705078, | |
0.007252992153167725, | |
0.007219200134277344, | |
0.007159808158874512, | |
0.007203872203826904, | |
0.007209983825683594, | |
0.007134208202362061, | |
0.007535615921020508, | |
0.006944767951965332, | |
0.006386688232421875, | |
0.006416384220123291, | |
0.006359039783477783, | |
0.0065484800338745115, | |
0.0070563840866088865, | |
0.006774784088134766, | |
0.006753312110900879, | |
0.006916096210479736, | |
0.006743040084838867, | |
0.006803455829620361, | |
0.006740928173065186, | |
0.006749184131622315, | |
0.006811647891998291, | |
0.006747136116027832, | |
0.0067420158386230465, | |
0.006723584175109864, | |
0.006750239849090576, | |
0.006672383785247803, | |
0.006595583915710449, | |
0.006627327919006347, | |
0.006602752208709717, | |
0.006624256134033203, | |
0.006717440128326416, | |
0.0067420158386230465, | |
0.006726655960083008, | |
0.00674508810043335, | |
0.006714367866516113, | |
0.006781888008117676, | |
0.006650879859924317, | |
0.006627327919006347, | |
0.006607935905456543, | |
0.006603775978088379, | |
0.006609920024871826, | |
0.006590464115142822, | |
0.0065812478065490725, | |
0.00657919979095459, | |
0.006586368083953857, | |
0.006599711894989014, | |
0.006598656177520752, | |
0.006592512130737305, | |
0.006627327919006347, | |
0.006603775978088379, | |
0.006612991809844971, | |
0.006673408031463623, | |
0.006625279903411865, | |
0.006592544078826904, | |
0.006622208118438721, | |
0.0066078720092773435, | |
0.006614016056060791, | |
0.006590464115142822, | |
0.0066304001808166506, | |
0.006617087841033936, | |
0.0066928000450134275, | |
0.006694911956787109, | |
0.006651904106140137, | |
0.0066406397819519045, | |
0.006635519981384277, | |
0.006620160102844238, | |
0.006752255916595459, | |
0.006922239780426025, | |
0.006766592025756836, | |
0.00672870397567749, | |
0.006780928134918213, | |
0.00667852783203125, | |
0.0067420158386230465, | |
0.0068055038452148435, | |
0.006662144184112549, | |
0.00657203197479248, | |
0.006643712043762207, | |
0.006592512130737305, | |
0.006615039825439453, | |
0.006711296081542969, | |
0.006659071922302246, | |
0.006556672096252441, | |
0.006650879859924317, | |
0.0065792641639709475, | |
0.006636544227600098, | |
0.006622208118438721, | |
0.006585343837738037, | |
0.0066109437942504885, | |
0.006643712043762207, | |
0.006540287971496582, | |
0.006620160102844238, | |
0.006597631931304931, | |
0.006583295822143555, | |
0.006606847763061524, | |
0.006669312000274658, | |
0.00656387186050415, | |
0.0068280320167541505, | |
0.00658022403717041, | |
0.006696000099182129, | |
0.006725632190704346, | |
0.0066375679969787596, | |
0.006532095909118653, | |
0.006602752208709717, | |
0.00657919979095459, | |
0.006597631931304931, | |
0.006594560146331787, | |
0.006646783828735352, | |
0.006580160140991211, | |
0.0066109437942504885, | |
0.006567935943603515, | |
0.006692863941192627, | |
0.007123968124389648, | |
0.006863872051239014, | |
0.00684441614151001, | |
0.006801407814025879, | |
0.006872064113616944, | |
0.006822912216186523, | |
0.006789087772369385, | |
0.006803455829620361, | |
0.006833151817321777, | |
0.006836160182952881, | |
0.006718463897705078, | |
0.006762495994567871, | |
0.006743040084838867, | |
0.006802432060241699, | |
0.006740992069244385, | |
0.006609920024871826, | |
0.006595583915710449, | |
0.006614016056060791, | |
0.0067041277885437015, | |
0.0066416640281677245, | |
0.006608895778656006, | |
0.006669312000274658, | |
0.006607840061187744, | |
0.006620160102844238, | |
0.006651904106140137, | |
0.006642687797546387, | |
0.006617087841033936, | |
0.006584320068359375, | |
0.006662144184112549, | |
0.006725632190704346, | |
0.006766592025756836, | |
0.0066938881874084475, | |
0.006774784088134766, | |
0.006739903926849365, | |
0.0067266240119934085, | |
0.006702079772949219, | |
0.006812672138214112 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.0826800103478 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.51697434995911e-08, | |
"ram": 4.107625941096322e-08, | |
"gpu": 1.3639075608861535e-07, | |
"total": 2.5263675899916966e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3958252.171859467 | |
} | |
} | |
} | |
} |