IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
07f0e3b
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", | |
"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.0", | |
"optimum_benchmark_commit": "14fc8ac8cd252f949be10158bdcefa6a3b7c596a", | |
"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": 1003.872256, | |
"max_global_vram": 1910.931456, | |
"max_process_vram": 233718.136832, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0005106654167173, | |
"mean": 0.007197918456235378, | |
"stdev": 0.00024604426285545567, | |
"p50": 0.007085444927215576, | |
"p90": 0.007450821018218994, | |
"p95": 0.007648230171203613, | |
"p99": 0.007944085960388184, | |
"values": [ | |
0.00784208583831787, | |
0.00736032485961914, | |
0.007050405025482178, | |
0.007104485988616943, | |
0.0071883249282836915, | |
0.007525606155395508, | |
0.007443844795227051, | |
0.007441765785217285, | |
0.007586246013641358, | |
0.00762784481048584, | |
0.007437446117401123, | |
0.0073168048858642575, | |
0.007223206043243408, | |
0.0072355251312255855, | |
0.007407206058502197, | |
0.007332485198974609, | |
0.007399526119232178, | |
0.00736416482925415, | |
0.0072140851020812986, | |
0.007252165794372559, | |
0.007393284797668457, | |
0.007247365951538086, | |
0.007145764827728271, | |
0.007051525115966797, | |
0.007069766044616699, | |
0.007074405193328857, | |
0.007106404781341552, | |
0.007220325946807861, | |
0.00720480489730835, | |
0.007151844978332519, | |
0.00706048583984375, | |
0.008709606170654296, | |
0.007230725765228272, | |
0.007084644794464111, | |
0.007061285018920898, | |
0.00704480504989624, | |
0.0070676860809326175, | |
0.007047365188598633, | |
0.00705680513381958, | |
0.007099366188049317, | |
0.007047045230865479, | |
0.007301445007324219, | |
0.00705008602142334, | |
0.007108805179595948, | |
0.0070814452171325684, | |
0.00707872486114502, | |
0.007088006019592285, | |
0.007082564830780029, | |
0.007079844951629639, | |
0.007030086040496826, | |
0.007009765148162842, | |
0.007052165031433105, | |
0.007056005001068115, | |
0.00703856611251831, | |
0.007106084823608399, | |
0.007029284954071045, | |
0.007091684818267822, | |
0.0070817661285400395, | |
0.007110565185546875, | |
0.007051525115966797, | |
0.007087686061859131, | |
0.007078404903411865, | |
0.007021765232086182, | |
0.0070251250267028805, | |
0.007038886070251465, | |
0.007088005065917969, | |
0.0070832052230834965, | |
0.00706208610534668, | |
0.007085444927215576, | |
0.007060325145721436, | |
0.007018245220184326, | |
0.007045286178588867, | |
0.007094564914703369, | |
0.007064644813537598, | |
0.007070405006408691, | |
0.007025765895843506, | |
0.007017284870147705, | |
0.006997604846954345, | |
0.007087204933166504, | |
0.0070443258285522465, | |
0.007083364963531494, | |
0.007049924850463867, | |
0.007085926055908203, | |
0.007068645000457763, | |
0.0070721650123596195, | |
0.00707536506652832, | |
0.007125765800476074, | |
0.007089924812316894, | |
0.0070843248367309574, | |
0.0070793662071228025, | |
0.00708576488494873, | |
0.007485445022583008, | |
0.0076390461921691894, | |
0.007730885982513428, | |
0.0071376051902771, | |
0.007478725910186767, | |
0.007034084796905518, | |
0.007005284786224366, | |
0.0071318459510803225, | |
0.007078245162963868, | |
0.006989445209503174, | |
0.007080965042114258, | |
0.007106406211853027, | |
0.007127524852752686, | |
0.007016485214233399, | |
0.007048965930938721, | |
0.007080484867095947, | |
0.0077740859985351565, | |
0.007921765804290772, | |
0.007435844898223877, | |
0.007353926181793213, | |
0.00752848482131958, | |
0.007957766056060791, | |
0.007883845806121826, | |
0.007429925918579101, | |
0.007382404804229736, | |
0.007350885868072509, | |
0.0072856049537658694, | |
0.007337605953216553, | |
0.007427845001220703, | |
0.007392645835876465, | |
0.00737616491317749, | |
0.007308166027069091, | |
0.007338405132293701, | |
0.007390726089477539, | |
0.007009765148162842, | |
0.006992324829101563, | |
0.007076165199279785, | |
0.006994726181030274, | |
0.006980804920196533, | |
0.0069945650100708, | |
0.0070673651695251465, | |
0.007022086143493652, | |
0.006980165004730225, | |
0.007057604789733887, | |
0.007053443908691406, | |
0.007029285907745361, | |
0.0070673651695251465, | |
0.007083364963531494 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.9290537368793 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |