IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3ab7998
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"device": "cuda", | |
"device_ids": "5", | |
"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": 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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"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": 1070.415872, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48193.859584, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.8630126953125, | |
"mean": 8.8630126953125, | |
"stdev": 0.0, | |
"p50": 8.8630126953125, | |
"p90": 8.8630126953125, | |
"p95": 8.8630126953125, | |
"p99": 8.8630126953125, | |
"values": [ | |
8.8630126953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1200.316416, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 246382.575616, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 1.0063194375038145, | |
"mean": 0.007454218055583812, | |
"stdev": 0.0009623535608371883, | |
"p50": 0.007195342063903809, | |
"p90": 0.007976620292663574, | |
"p95": 0.008008235549926758, | |
"p99": 0.009732891349792477, | |
"values": [ | |
0.007736620903015137, | |
0.007983500003814698, | |
0.007534061908721924, | |
0.00766878080368042, | |
0.0077163009643554685, | |
0.007611501216888428, | |
0.007570220947265625, | |
0.00758190107345581, | |
0.008947017669677735, | |
0.007349902153015136, | |
0.007301422119140625, | |
0.007244781970977783, | |
0.007224462032318115, | |
0.007241422176361084, | |
0.007246702194213867, | |
0.007182863235473633, | |
0.007131502151489257, | |
0.007184782028198242, | |
0.007126062870025635, | |
0.007171822071075439, | |
0.00713742208480835, | |
0.007175662994384766, | |
0.01741483688354492, | |
0.007493900775909424, | |
0.007664620876312256, | |
0.008029260635375977, | |
0.007413421154022217, | |
0.007125583171844483, | |
0.010137735366821289, | |
0.007522861003875733, | |
0.006985262870788574, | |
0.006985261917114258, | |
0.007218381881713867, | |
0.008016301155090331, | |
0.007199662208557129, | |
0.007029263019561768, | |
0.007195342063903809, | |
0.007049263000488281, | |
0.007291982173919678, | |
0.007430221080780029, | |
0.007379181861877441, | |
0.00755086088180542, | |
0.007485742092132568, | |
0.007480782032012939, | |
0.007507340908050537, | |
0.007586541175842285, | |
0.007422542095184326, | |
0.007543500900268555, | |
0.007497262001037597, | |
0.007364141941070557, | |
0.007453900814056396, | |
0.007752301216125489, | |
0.007367022037506103, | |
0.00711102294921875, | |
0.007084782123565674, | |
0.007329741954803467, | |
0.007368621826171875, | |
0.007344461917877197, | |
0.007110702037811279, | |
0.007109582901000977, | |
0.007099021911621093, | |
0.007213741779327393, | |
0.007067663192749023, | |
0.007057423114776611, | |
0.0071049418449401856, | |
0.007113903045654297, | |
0.007099981784820557, | |
0.007119983196258545, | |
0.007091341972351074, | |
0.007114061832427979, | |
0.007082703113555908, | |
0.007066062927246094, | |
0.0071116619110107426, | |
0.00711102294921875, | |
0.007033902168273926, | |
0.007077582836151123, | |
0.007026542186737061, | |
0.007016462802886963, | |
0.007104463100433349, | |
0.007091182231903076, | |
0.007068782806396484, | |
0.007091661930084228, | |
0.007067663192749023, | |
0.00704622220993042, | |
0.007045903205871582, | |
0.007050063133239746, | |
0.007067821979522705, | |
0.007045103073120117, | |
0.007072782039642334, | |
0.00707230281829834, | |
0.00703838300704956, | |
0.007042381763458252, | |
0.007006382942199707, | |
0.0070087828636169434, | |
0.0070958218574523925, | |
0.0070412631034851075, | |
0.007018062114715576, | |
0.007099342823028564, | |
0.007099502086639405, | |
0.007098543167114258, | |
0.007066061973571777, | |
0.007058222770690918, | |
0.007062063217163086, | |
0.007103981971740722, | |
0.007109262943267822, | |
0.007062861919403076, | |
0.007075502872467041, | |
0.007093262195587158, | |
0.007067983150482178, | |
0.007044782161712646, | |
0.007107502937316894, | |
0.007089581966400147, | |
0.007972301006317139, | |
0.00799694013595581, | |
0.008034379959106445, | |
0.007944460868835448, | |
0.007648621082305908, | |
0.007625901222229004, | |
0.00742782211303711, | |
0.007325582027435303, | |
0.007894539833068847, | |
0.008064620018005371, | |
0.007996621131896973, | |
0.007915979862213134, | |
0.007995659828186036, | |
0.007995660781860352, | |
0.007945899963378905, | |
0.00797949981689453, | |
0.007881580829620361, | |
0.007865900993347169, | |
0.007949260234832764, | |
0.007911980152130127, | |
0.007950221061706543, | |
0.008004778861999512, | |
0.007947821140289307 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.15223334537674 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |