
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f472cdf
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 878.456832, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 1.003844834804536, | |
"mean": 0.0066922988986969, | |
"stdev": 0.0001271429610267876, | |
"p50": 0.006663680076599121, | |
"p90": 0.0068230145931243895, | |
"p95": 0.006896127820014954, | |
"p99": 0.007328931851387024, | |
"values": [ | |
0.0074414081573486324, | |
0.006890495777130127, | |
0.007336959838867187, | |
0.006905856132507324, | |
0.0069324798583984375, | |
0.006889472007751465, | |
0.006900735855102539, | |
0.006795263767242431, | |
0.007000063896179199, | |
0.006850560188293457, | |
0.006781951904296875, | |
0.00677785587310791, | |
0.006823935985565186, | |
0.006822912216186523, | |
0.007079936027526855, | |
0.007320576190948487, | |
0.006677504062652588, | |
0.006472703933715821, | |
0.00643174409866333, | |
0.006576128005981445, | |
0.006649856090545654, | |
0.006717440128326416, | |
0.006707200050354004, | |
0.006689792156219483, | |
0.006680575847625733, | |
0.00667955207824707, | |
0.006662144184112549, | |
0.006683648109436035, | |
0.006675456047058105, | |
0.006670335769653321, | |
0.006666240215301514, | |
0.006687744140625, | |
0.006633471965789795, | |
0.0066375679969787596, | |
0.0066826238632202144, | |
0.006622208118438721, | |
0.006668288230895996, | |
0.006668288230895996, | |
0.0066109437942504885, | |
0.006651904106140137, | |
0.0066375679969787596, | |
0.0066744318008422855, | |
0.00667955207824707, | |
0.006670335769653321, | |
0.006690815925598144, | |
0.0066304001808166506, | |
0.006660096168518067, | |
0.006649856090545654, | |
0.006628352165222168, | |
0.006673408031463623, | |
0.006628352165222168, | |
0.0066713600158691405, | |
0.006662144184112549, | |
0.0066109437942504885, | |
0.006648831844329834, | |
0.006665215969085693, | |
0.00682700777053833, | |
0.006714367866516113, | |
0.006628352165222168, | |
0.006638591766357422, | |
0.006629471778869629, | |
0.0066641921997070315, | |
0.0066304001808166506, | |
0.006609920024871826, | |
0.006683648109436035, | |
0.006614016056060791, | |
0.006645760059356689, | |
0.0066713600158691405, | |
0.006642687797546387, | |
0.0066641921997070315, | |
0.006667263984680176, | |
0.006638591766357422, | |
0.006668288230895996, | |
0.0066447358131408694, | |
0.0066304001808166506, | |
0.0066641921997070315, | |
0.006676479816436768, | |
0.006633471965789795, | |
0.0066375679969787596, | |
0.006649856090545654, | |
0.006606847763061524, | |
0.006668288230895996, | |
0.006662144184112549, | |
0.006628352165222168, | |
0.006663167953491211, | |
0.006657023906707763, | |
0.006639616012573242, | |
0.0066447358131408694, | |
0.006626304149627686, | |
0.0066109437942504885, | |
0.006635519981384277, | |
0.006662144184112549, | |
0.0066344962120056155, | |
0.006650879859924317, | |
0.0066979842185974124, | |
0.006621183872222901, | |
0.006685696125030518, | |
0.006691840171813965, | |
0.006642687797546387, | |
0.0066713600158691405, | |
0.006595583915710449, | |
0.00688640022277832, | |
0.006767615795135498, | |
0.006717440128326416, | |
0.006666240215301514, | |
0.006709248065948486, | |
0.006756351947784424, | |
0.006714367866516113, | |
0.006799359798431396, | |
0.0066979842185974124, | |
0.006622208118438721, | |
0.006661119937896728, | |
0.006687744140625, | |
0.006626304149627686, | |
0.006696959972381592, | |
0.006825984001159668, | |
0.0066826238632202144, | |
0.006691840171813965, | |
0.006653952121734619, | |
0.006668288230895996, | |
0.0066938881874084475, | |
0.006651904106140137, | |
0.0066416640281677245, | |
0.006609920024871826, | |
0.006662144184112549, | |
0.006609920024871826, | |
0.006685696125030518, | |
0.006703104019165039, | |
0.006640672206878662, | |
0.006618112087249756, | |
0.006661119937896728, | |
0.00659660816192627, | |
0.006628352165222168, | |
0.006646783828735352, | |
0.0066344962120056155, | |
0.006623231887817383, | |
0.006694911956787109, | |
0.0066375679969787596, | |
0.006641727924346924, | |
0.006680575847625733, | |
0.006608895778656006, | |
0.006620160102844238, | |
0.0066406397819519045, | |
0.006614016056060791, | |
0.0066795840263366695, | |
0.006625279903411865, | |
0.006714367866516113, | |
0.0066713600158691405, | |
0.006649856090545654, | |
0.006619135856628418 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.42548369958735 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.841379234665319e-08, | |
"ram": 4.276295176288457e-08, | |
"gpu": 1.5100523776315771e-07, | |
"total": 2.721819818726955e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3674012.486497796 | |
} | |
} | |
} | |
} |