
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9798d38
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_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.14", | |
"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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 866.246656, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 1.0044498558044437, | |
"mean": 0.00674127420002982, | |
"stdev": 0.00024499234659723505, | |
"p50": 0.006795263767242431, | |
"p90": 0.0069777409553527835, | |
"p95": 0.00704778242111206, | |
"p99": 0.007468851203918457, | |
"values": [ | |
0.007434239864349365, | |
0.006978559970855713, | |
0.007173120021820068, | |
0.007058432102203369, | |
0.007072768211364746, | |
0.007023615837097168, | |
0.007021567821502686, | |
0.006977536201477051, | |
0.007021567821502686, | |
0.006884352207183838, | |
0.006872064113616944, | |
0.006855679988861084, | |
0.006873087882995605, | |
0.006795263767242431, | |
0.006754303932189941, | |
0.006833151817321777, | |
0.006866943836212158, | |
0.0068853759765625, | |
0.006851583957672119, | |
0.0069027838706970214, | |
0.006892543792724609, | |
0.006841343879699707, | |
0.0068577280044555666, | |
0.006822912216186523, | |
0.0069253120422363285, | |
0.007029759883880615, | |
0.007021567821502686, | |
0.006944767951965332, | |
0.006875135898590088, | |
0.006823935985565186, | |
0.006845439910888672, | |
0.006864895820617676, | |
0.006854656219482422, | |
0.0067983360290527345, | |
0.006751232147216797, | |
0.0067717118263244626, | |
0.006812672138214112, | |
0.006847487926483154, | |
0.006819839954376221, | |
0.006812672138214112, | |
0.0068618240356445315, | |
0.006876160144805908, | |
0.006904831886291504, | |
0.006948863983154297, | |
0.006918144226074219, | |
0.006884352207183838, | |
0.006821887969970703, | |
0.006847487926483154, | |
0.006871039867401123, | |
0.006880256175994873, | |
0.0068280320167541505, | |
0.0068577280044555666, | |
0.006882304191589355, | |
0.006729728221893311, | |
0.006830080032348633, | |
0.006808576107025147, | |
0.006767615795135498, | |
0.006959104061126709, | |
0.0068884482383728025, | |
0.006758399963378906, | |
0.006800384044647217, | |
0.006809599876403808, | |
0.006815743923187256, | |
0.006767615795135498, | |
0.0075008001327514645, | |
0.00692633581161499, | |
0.006948863983154297, | |
0.0068986878395080565, | |
0.006977536201477051, | |
0.006905856132507324, | |
0.007031807899475098, | |
0.006810624122619629, | |
0.006892543792724609, | |
0.006879231929779053, | |
0.006841343879699707, | |
0.006848512172698974, | |
0.006846464157104492, | |
0.006792191982269287, | |
0.006677567958831787, | |
0.006620160102844238, | |
0.00679423999786377, | |
0.006659071922302246, | |
0.006495232105255127, | |
0.006543360233306885, | |
0.0065781760215759275, | |
0.0066447358131408694, | |
0.006759424209594727, | |
0.006744063854217529, | |
0.006841343879699707, | |
0.007374847888946533, | |
0.007998464107513427, | |
0.0073062400817871095, | |
0.0064849920272827145, | |
0.00652288007736206, | |
0.006500351905822754, | |
0.006461440086364746, | |
0.006479872226715088, | |
0.006461440086364746, | |
0.006511616230010986, | |
0.006523903846740723, | |
0.006486015796661377, | |
0.00653004789352417, | |
0.006551551818847656, | |
0.0064880638122558594, | |
0.006557695865631104, | |
0.0065136637687683106, | |
0.006561791896820069, | |
0.006482944011688232, | |
0.006503424167633057, | |
0.006470655918121338, | |
0.006479872226715088, | |
0.006490111827850342, | |
0.006498303890228272, | |
0.006471680164337158, | |
0.0065136637687683106, | |
0.006494207859039307, | |
0.006489088058471679, | |
0.006491136074066162, | |
0.006505472183227539, | |
0.006470655918121338, | |
0.006471680164337158, | |
0.006453248023986816, | |
0.006497280120849609, | |
0.006558720111846924, | |
0.006470655918121338, | |
0.0064767999649047855, | |
0.006532095909118653, | |
0.006464511871337891, | |
0.006471680164337158, | |
0.006466559886932373, | |
0.006494207859039307, | |
0.006487040042877197, | |
0.006471680164337158, | |
0.006479872226715088, | |
0.006486015796661377, | |
0.006435840129852295, | |
0.0064767999649047855, | |
0.006460415840148926, | |
0.006496255874633789, | |
0.006501376152038574, | |
0.006496255874633789, | |
0.006489088058471679, | |
0.006499328136444092, | |
0.006491136074066162, | |
0.006854656219482422, | |
0.00659660816192627, | |
0.006492159843444824, | |
0.0065484800338745115, | |
0.006526976108551025 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.33990879581438 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.197752043052957e-08, | |
"ram": 3.930865874281153e-08, | |
"gpu": 1.3703714666667818e-07, | |
"total": 2.483233258400193e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4027007.9204892884 | |
} | |
} | |
} | |
} |