IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9db40c7
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.2.1", | |
"optimum_benchmark_commit": "9c5b122c5b131ce085c14c11b158b31af90e674e", | |
"transformers_version": "4.41.0", | |
"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": 1008.80384, | |
"max_global_vram": 3137.871872, | |
"max_process_vram": 220971.35616, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9986507391929629, | |
"mean": 0.007681928763022789, | |
"stdev": 0.00021312161873525222, | |
"p50": 0.0076940605640411375, | |
"p90": 0.00791364402770996, | |
"p95": 0.007985851955413818, | |
"p99": 0.008212513561248778, | |
"values": [ | |
0.008936137199401855, | |
0.007585580825805664, | |
0.007524779796600342, | |
0.007446220874786377, | |
0.007507020950317383, | |
0.00743294095993042, | |
0.0074462218284606935, | |
0.007455020904541016, | |
0.007466061115264893, | |
0.007459341049194336, | |
0.007516301155090332, | |
0.007532619953155518, | |
0.007444301128387451, | |
0.007435661792755127, | |
0.00750413990020752, | |
0.007520620822906494, | |
0.007460300922393799, | |
0.007427021980285644, | |
0.007440621852874756, | |
0.007434381008148193, | |
0.007442541122436523, | |
0.0074435009956359864, | |
0.007435821056365967, | |
0.00747166109085083, | |
0.007516301155090332, | |
0.007442060947418213, | |
0.007456301212310791, | |
0.007440940856933594, | |
0.00742478084564209, | |
0.007429740905761719, | |
0.007487660884857178, | |
0.007505741119384766, | |
0.007448941230773926, | |
0.007451981067657471, | |
0.007441260814666748, | |
0.007459500789642334, | |
0.007444780826568603, | |
0.007505741119384766, | |
0.007538061141967773, | |
0.007537900924682617, | |
0.0074635009765625, | |
0.007471500873565674, | |
0.00745918083190918, | |
0.0074532608985900875, | |
0.007484621047973633, | |
0.007509100914001465, | |
0.00775006103515625, | |
0.007731019973754883, | |
0.007681739807128906, | |
0.007750861167907715, | |
0.007725419998168945, | |
0.0077866997718811035, | |
0.007695661067962646, | |
0.007617899894714356, | |
0.00762398099899292, | |
0.007556621074676514, | |
0.007566699981689453, | |
0.007571500778198242, | |
0.007533580780029297, | |
0.007891660213470458, | |
0.007683020114898681, | |
0.0079199800491333, | |
0.007821579933166505, | |
0.00782174015045166, | |
0.007784780979156494, | |
0.007770060062408447, | |
0.007609099864959717, | |
0.00797134017944336, | |
0.0077702198028564455, | |
0.007742220878601074, | |
0.007765900135040283, | |
0.007772940158843994, | |
0.008138219833374023, | |
0.008092939376831055, | |
0.007964139938354492, | |
0.008078378677368164, | |
0.00785998010635376, | |
0.007982860088348389, | |
0.007885419845581054, | |
0.007889100074768066, | |
0.007826700210571289, | |
0.007911980152130127, | |
0.008044299125671386, | |
0.007837259769439697, | |
0.007542860984802246, | |
0.00791294002532959, | |
0.00824285888671875, | |
0.007869579792022706, | |
0.00798829984664917, | |
0.007947979927062988, | |
0.007933739185333253, | |
0.007878379821777344, | |
0.007771821022033692, | |
0.007831500053405762, | |
0.007813899993896485, | |
0.0077347011566162105, | |
0.007755340099334717, | |
0.007772940158843994, | |
0.007785419940948487, | |
0.0077035012245178225, | |
0.007692460060119629, | |
0.007706700801849365, | |
0.007682859897613525, | |
0.0077303810119628905, | |
0.00771422004699707, | |
0.007743500232696533, | |
0.0077323012351989745, | |
0.007734539985656738, | |
0.00778573989868164, | |
0.007745419979095459, | |
0.00774958086013794, | |
0.007696619987487793, | |
0.007723499774932861, | |
0.007761580944061279, | |
0.00773774003982544, | |
0.007763659954071045, | |
0.007686380863189697, | |
0.007652299880981445, | |
0.007744941234588623, | |
0.007665259838104248, | |
0.007682059764862061, | |
0.0077396612167358395, | |
0.007715980052947998, | |
0.007665901184082031, | |
0.007756618976593017, | |
0.00768798017501831, | |
0.007686700820922852, | |
0.007670219898223877, | |
0.007720780849456787, | |
0.007820139884948731 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.17564089028423 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |