
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e1d4f1d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.348224, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 1.00095231628418, | |
"mean": 0.0066730154418945305, | |
"stdev": 0.0001377102196758533, | |
"p50": 0.006644223928451538, | |
"p90": 0.006847279930114746, | |
"p95": 0.00689879047870636, | |
"p99": 0.007091445865631102, | |
"values": [ | |
0.007425024032592774, | |
0.006897664070129395, | |
0.0069253120422363285, | |
0.006946847915649414, | |
0.006871039867401123, | |
0.006896639823913574, | |
0.006873087882995605, | |
0.006863840103149414, | |
0.006776832103729248, | |
0.006738944053649902, | |
0.006779903888702392, | |
0.006688767910003662, | |
0.006657023906707763, | |
0.006667263984680176, | |
0.006670271873474121, | |
0.006845439910888672, | |
0.00682700777053833, | |
0.006796288013458252, | |
0.00674508810043335, | |
0.006972383975982666, | |
0.006763519763946534, | |
0.0067717118263244626, | |
0.0067758078575134275, | |
0.0067686400413513184, | |
0.006754303932189941, | |
0.006750207901000976, | |
0.006745120048522949, | |
0.006899712085723877, | |
0.006709248065948486, | |
0.006568064212799072, | |
0.0065616960525512694, | |
0.006748159885406494, | |
0.006677504062652588, | |
0.00672156810760498, | |
0.006729728221893311, | |
0.006809535980224609, | |
0.006870016098022461, | |
0.006808576107025147, | |
0.006807519912719727, | |
0.006737919807434082, | |
0.006672383785247803, | |
0.006758399963378906, | |
0.006761472225189209, | |
0.006715392112731934, | |
0.00672870397567749, | |
0.006700032234191895, | |
0.006612991809844971, | |
0.006599679946899414, | |
0.0067153282165527345, | |
0.006755328178405762, | |
0.0066457920074462894, | |
0.006669312000274658, | |
0.0066969280242919925, | |
0.006665215969085693, | |
0.006669312000274658, | |
0.006716415882110595, | |
0.006707200050354004, | |
0.006755328178405762, | |
0.006718463897705078, | |
0.006730751991271973, | |
0.006724607944488525, | |
0.0066837120056152345, | |
0.006773759841918945, | |
0.006643712043762207, | |
0.006661119937896728, | |
0.006604800224304199, | |
0.006576128005981445, | |
0.00648086404800415, | |
0.006586368083953857, | |
0.006723584175109864, | |
0.006529983997344971, | |
0.0062975997924804685, | |
0.0065391998291015625, | |
0.0068249602317810056, | |
0.006681600093841553, | |
0.006699007987976074, | |
0.006927360057830811, | |
0.0068280320167541505, | |
0.006870016098022461, | |
0.007153664112091064, | |
0.006746111869812011, | |
0.0065812478065490725, | |
0.0066447358131408694, | |
0.006599679946899414, | |
0.0065474557876586915, | |
0.006623231887817383, | |
0.006624256134033203, | |
0.006646783828735352, | |
0.00662937593460083, | |
0.006595583915710449, | |
0.0065669121742248536, | |
0.006574079990386963, | |
0.006567935943603515, | |
0.006642687797546387, | |
0.006571072101593018, | |
0.006574079990386963, | |
0.0066109437942504885, | |
0.00658739185333252, | |
0.006565887928009034, | |
0.006574079990386963, | |
0.006619135856628418, | |
0.006651904106140137, | |
0.006608895778656006, | |
0.006663167953491211, | |
0.006560768127441406, | |
0.006559743881225586, | |
0.006586368083953857, | |
0.006615039825439453, | |
0.006558720111846924, | |
0.00659660816192627, | |
0.006552576065063476, | |
0.006585343837738037, | |
0.00657203197479248, | |
0.0065474557876586915, | |
0.006585343837738037, | |
0.006612991809844971, | |
0.006567935943603515, | |
0.0065771517753601075, | |
0.006638591766357422, | |
0.00657203197479248, | |
0.006549503803253174, | |
0.00658739185333252, | |
0.006552576065063476, | |
0.00658022403717041, | |
0.0066427521705627445, | |
0.006563839912414551, | |
0.006583295822143555, | |
0.006555647850036621, | |
0.006558720111846924, | |
0.006568960189819336, | |
0.0065392317771911625, | |
0.006567935943603515, | |
0.0070266880989074704, | |
0.006602752208709717, | |
0.006585343837738037, | |
0.006497280120849609, | |
0.006650879859924317, | |
0.006526976108551025, | |
0.006486015796661377, | |
0.0065177597999572755, | |
0.0065064959526062015, | |
0.006506303787231446, | |
0.006583295822143555, | |
0.006595583915710449, | |
0.006568992137908935, | |
0.006552576065063476, | |
0.006642687797546387, | |
0.006565887928009034, | |
0.00657696008682251, | |
0.006556672096252441 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.85728846389284 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.65692055439009e-08, | |
"ram": 4.1832954362359576e-08, | |
"gpu": 1.5566499908387099e-07, | |
"total": 2.7406715899013147e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3648740.708973481 | |
} | |
} | |
} | |
} |