
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3788732
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": "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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"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": 871.251968, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 1.0012540154457095, | |
"mean": 0.005383086104546823, | |
"stdev": 0.00023496369659838437, | |
"p50": 0.0053437440395355225, | |
"p90": 0.005684736013412475, | |
"p95": 0.0058572800159454345, | |
"p99": 0.00637547516822815, | |
"values": [ | |
0.0063498239517211915, | |
0.00586240005493164, | |
0.006009856224060059, | |
0.005921792030334472, | |
0.0059054079055786135, | |
0.005823488235473633, | |
0.005929984092712402, | |
0.006319104194641113, | |
0.005892096042633056, | |
0.005804031848907471, | |
0.005823488235473633, | |
0.005736447811126709, | |
0.005839871883392334, | |
0.006520832061767578, | |
0.0054988799095153805, | |
0.0051333122253417966, | |
0.005138432025909424, | |
0.005142528057098389, | |
0.005150720119476319, | |
0.0050841598510742185, | |
0.005082111835479736, | |
0.00511078405380249, | |
0.005070847988128662, | |
0.005073919773101807, | |
0.0050769920349121095, | |
0.005107711791992187, | |
0.00506879997253418, | |
0.005067776203155518, | |
0.0050769920349121095, | |
0.005074944019317627, | |
0.005070847988128662, | |
0.005053440093994141, | |
0.005086207866668701, | |
0.005066751956939697, | |
0.005066751956939697, | |
0.005071872234344482, | |
0.005142528057098389, | |
0.005074944019317627, | |
0.0050728960037231445, | |
0.005178368091583252, | |
0.005320703983306885, | |
0.005305344104766845, | |
0.0053309440612792965, | |
0.00530841588973999, | |
0.005332992076873779, | |
0.005351424217224121, | |
0.005341184139251709, | |
0.005321728229522705, | |
0.005348351955413819, | |
0.005351424217224121, | |
0.005326848030090332, | |
0.005344255924224854, | |
0.005421055793762207, | |
0.005331967830657959, | |
0.0053678078651428224, | |
0.005354496002197265, | |
0.005346303939819336, | |
0.0053821439743042, | |
0.005350399971008301, | |
0.005329919815063477, | |
0.005375999927520752, | |
0.005337088108062744, | |
0.005350399971008301, | |
0.005385216236114502, | |
0.005352447986602784, | |
0.005320703983306885, | |
0.0053606400489807126, | |
0.005311488151550293, | |
0.005320703983306885, | |
0.0053534722328186036, | |
0.0053340158462524415, | |
0.00532480001449585, | |
0.00535756778717041, | |
0.005313536167144775, | |
0.005329919815063477, | |
0.0053821439743042, | |
0.005343232154846191, | |
0.005352447986602784, | |
0.00537395191192627, | |
0.005325823783874512, | |
0.005341184139251709, | |
0.005496831893920898, | |
0.005426176071166992, | |
0.005377024173736572, | |
0.005378047943115235, | |
0.005326848030090332, | |
0.0053606400489807126, | |
0.0053975038528442385, | |
0.00531660795211792, | |
0.005310463905334473, | |
0.005516287803649903, | |
0.00531660795211792, | |
0.005343232154846191, | |
0.005342207908630371, | |
0.005340159893035889, | |
0.005339136123657226, | |
0.005319680213928223, | |
0.005307392120361328, | |
0.005399551868438721, | |
0.005312511920928955, | |
0.005298175811767578, | |
0.005347328186035156, | |
0.005323775768280029, | |
0.005384191989898681, | |
0.005512191772460938, | |
0.00547430419921875, | |
0.0058419198989868165, | |
0.0057497601509094234, | |
0.005399551868438721, | |
0.005396480083465576, | |
0.005477375984191894, | |
0.00535859203338623, | |
0.005384191989898681, | |
0.005343232154846191, | |
0.0053309440612792965, | |
0.0053606400489807126, | |
0.005326848030090332, | |
0.005321728229522705, | |
0.005384191989898681, | |
0.005294079780578613, | |
0.005351424217224121, | |
0.0053647360801696775, | |
0.005345280170440674, | |
0.005345280170440674, | |
0.005355519771575928, | |
0.005684224128723145, | |
0.0054271998405456545, | |
0.005435391902923584, | |
0.0056852478981018065, | |
0.006545407772064209, | |
0.005758975982666016, | |
0.005480447769165039, | |
0.00536575984954834, | |
0.005362688064575195, | |
0.005425151824951172, | |
0.005351424217224121, | |
0.005359615802764893, | |
0.005406720161437988, | |
0.0053678078651428224, | |
0.005339136123657226, | |
0.005387263774871826, | |
0.005325823783874512, | |
0.005331967830657959, | |
0.005356544017791748, | |
0.005321728229522705, | |
0.005313536167144775, | |
0.005362688064575195, | |
0.005321728229522705, | |
0.005355519771575928, | |
0.00535756778717041, | |
0.005311488151550293, | |
0.005336063861846924, | |
0.00537497615814209, | |
0.005322751998901368, | |
0.00531763219833374, | |
0.0053637118339538575, | |
0.00531763219833374, | |
0.005315584182739258, | |
0.0053678078651428224, | |
0.005315584182739258, | |
0.005341184139251709, | |
0.005375999927520752, | |
0.005345280170440674, | |
0.005294079780578613, | |
0.005346303939819336, | |
0.005338111877441406, | |
0.005338111877441406, | |
0.005355519771575928, | |
0.005338111877441406, | |
0.005313536167144775, | |
0.005369855880737305, | |
0.005315648078918457, | |
0.0053340158462524415, | |
0.005368832111358642, | |
0.005325823783874512, | |
0.005321728229522705, | |
0.005380159854888916, | |
0.00532480001449585, | |
0.005314559936523438, | |
0.005361663818359375, | |
0.005315584182739258, | |
0.00530841588973999, | |
0.005378047943115235, | |
0.00530841588973999, | |
0.005310463905334473, | |
0.005361663818359375 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.7670452559453 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.319586425385578e-08, | |
"ram": 3.455065847777636e-08, | |
"gpu": 1.373316701489355e-07, | |
"total": 2.350781928805676e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4253903.723464702 | |
} | |
} | |
} | |
} |