IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a379431
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": 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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "bf00581ca84403c7aba5a4a8f646e796f7b72599", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": 1160.33536, | |
"max_global_vram": 939.208704, | |
"max_process_vram": 150549.860352, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.6928 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.004107089996338, | |
"mean": 0.006972965902752346, | |
"stdev": 0.0003442307580630599, | |
"p50": 0.006860696077346802, | |
"p90": 0.0075205339908599855, | |
"p95": 0.007549990010261535, | |
"p99": 0.007864247999191281, | |
"values": [ | |
0.007063176155090332, | |
0.006745256900787353, | |
0.006757895946502685, | |
0.006731976985931396, | |
0.006704617023468018, | |
0.00677837610244751, | |
0.006785737037658691, | |
0.006762217044830323, | |
0.006696296215057373, | |
0.006713576793670654, | |
0.006688937187194825, | |
0.006760296821594239, | |
0.006695656776428222, | |
0.0067649359703063966, | |
0.007384134769439697, | |
0.007631972789764404, | |
0.007654853820800781, | |
0.007540294170379639, | |
0.007294855117797852, | |
0.007267653942108154, | |
0.007188136100769043, | |
0.007173894882202148, | |
0.006919496059417725, | |
0.006969895839691162, | |
0.006817895889282227, | |
0.006816297054290771, | |
0.007088614940643311, | |
0.007605574131011963, | |
0.0075532541275024415, | |
0.007201095104217529, | |
0.006883175849914551, | |
0.006994534969329834, | |
0.007102536201477051, | |
0.007270854949951172, | |
0.006887335777282715, | |
0.006898695945739746, | |
0.006716937065124512, | |
0.007016776084899902, | |
0.00683181619644165, | |
0.0067790160179138186, | |
0.006747177124023437, | |
0.009008129119873047, | |
0.008022212028503417, | |
0.006914055824279785, | |
0.006882535934448242, | |
0.006778536796569824, | |
0.006923336029052735, | |
0.006714857101440429, | |
0.00676093578338623, | |
0.006707016944885254, | |
0.006716456890106201, | |
0.0067090969085693355, | |
0.006726856231689453, | |
0.006745097160339356, | |
0.006707976818084717, | |
0.006697096824645996, | |
0.006700936794281006, | |
0.006738376140594482, | |
0.006709257125854492, | |
0.006741096973419189, | |
0.007207815170288086, | |
0.007535014152526855, | |
0.007498534202575684, | |
0.007637574195861817, | |
0.007161896228790283, | |
0.007178054809570312, | |
0.007002056121826172, | |
0.006980135917663575, | |
0.007231015205383301, | |
0.007299814224243164, | |
0.007059336185455322, | |
0.007290375232696533, | |
0.007003176212310791, | |
0.007040774822235108, | |
0.007030375957489014, | |
0.006967976093292237, | |
0.006854055881500244, | |
0.007007815837860107, | |
0.007076934814453125, | |
0.0071986961364746095, | |
0.007207015037536621, | |
0.00701549482345581, | |
0.007109416007995605, | |
0.007092935085296631, | |
0.007108935832977295, | |
0.006977416038513183, | |
0.007546693801879883, | |
0.007547813892364502, | |
0.007520773887634277, | |
0.00752333402633667, | |
0.00702509593963623, | |
0.006756937026977539, | |
0.006604456901550293, | |
0.006646216869354248, | |
0.007131814956665039, | |
0.007550374031066894, | |
0.007063654899597168, | |
0.007519974231719971, | |
0.007541093826293945, | |
0.007514533996582032, | |
0.0072740550041198735, | |
0.007044936180114746, | |
0.007114695072174072, | |
0.0071817350387573245, | |
0.006965415954589844, | |
0.007032135963439942, | |
0.0070470161437988284, | |
0.0070489349365234375, | |
0.0067132568359375, | |
0.006674376964569092, | |
0.0066284570693969725, | |
0.006693576812744141, | |
0.00666461706161499, | |
0.006673417091369629, | |
0.006794055938720703, | |
0.006690536975860596, | |
0.006654857158660888, | |
0.0067281370162963865, | |
0.006866856098175049, | |
0.006667656898498535, | |
0.006655336856842041, | |
0.006709736824035644, | |
0.006854536056518555, | |
0.00669245719909668, | |
0.0066943769454956056, | |
0.0066583771705627445, | |
0.006671816825866699, | |
0.006719017028808593, | |
0.006659176826477051, | |
0.006691815853118896, | |
0.006641417026519775, | |
0.006679496765136719, | |
0.006665417194366455, | |
0.006723657131195069, | |
0.006640936851501465, | |
0.00673341703414917, | |
0.006666377067565918, | |
0.006740457057952881, | |
0.006755496978759766, | |
0.006751657009124756, | |
0.006687816143035889, | |
0.0067036571502685546, | |
0.006675496101379395, | |
0.006821416854858399 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.41099812423911 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |