
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
85b6d45
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": {}, | |
"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": 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.285632, | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.412608, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.2273193359375, | |
"mean": 7.2273193359375, | |
"stdev": 0.0, | |
"p50": 7.2273193359375, | |
"p90": 7.2273193359375, | |
"p95": 7.2273193359375, | |
"p99": 7.2273193359375, | |
"values": [ | |
7.2273193359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.598960479100546e-07, | |
"ram": 4.923046041534462e-07, | |
"gpu": 1.7188902640000517e-06, | |
"total": 3.1710909160635526e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.164864, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 1.0032312979698177, | |
"mean": 0.0053937166557517105, | |
"stdev": 0.0002949296748134976, | |
"p50": 0.005330431938171386, | |
"p90": 0.005406720161437988, | |
"p95": 0.005582080006599426, | |
"p99": 0.006981734490394597, | |
"values": [ | |
0.00760319995880127, | |
0.007692287921905518, | |
0.006872064113616944, | |
0.006169600009918213, | |
0.005849088191986084, | |
0.006034431934356689, | |
0.0057784318923950195, | |
0.006264832019805908, | |
0.005608448028564453, | |
0.005355519771575928, | |
0.005402624130249023, | |
0.005299200057983398, | |
0.0053647360801696775, | |
0.005339136123657226, | |
0.005388288021087646, | |
0.005390336036682129, | |
0.00537395191192627, | |
0.00536575984954834, | |
0.006280191898345947, | |
0.0054282240867614745, | |
0.005416959762573242, | |
0.0053350400924682614, | |
0.005317696094512939, | |
0.00537497615814209, | |
0.00532480001449585, | |
0.005339136123657226, | |
0.005391359806060791, | |
0.005318655967712403, | |
0.005488639831542969, | |
0.00536575984954834, | |
0.005315584182739258, | |
0.005351424217224121, | |
0.00536678409576416, | |
0.005337088108062744, | |
0.005355519771575928, | |
0.005391359806060791, | |
0.005329919815063477, | |
0.005346303939819336, | |
0.0053647360801696775, | |
0.0052971520423889164, | |
0.0053350400924682614, | |
0.005370880126953125, | |
0.005329919815063477, | |
0.0053012480735778805, | |
0.0053350400924682614, | |
0.005321728229522705, | |
0.0053012480735778805, | |
0.005356544017791748, | |
0.005318655967712403, | |
0.005328896045684814, | |
0.005370880126953125, | |
0.005356544017791748, | |
0.005348351955413819, | |
0.005381120204925537, | |
0.005329919815063477, | |
0.0053309440612792965, | |
0.005351424217224121, | |
0.005280767917633057, | |
0.005298175811767578, | |
0.0053678078651428224, | |
0.00531763219833374, | |
0.0052930560111999515, | |
0.00532480001449585, | |
0.005286911964416504, | |
0.005322751998901368, | |
0.005354496002197265, | |
0.005325823783874512, | |
0.005299200057983398, | |
0.005343232154846191, | |
0.005318655967712403, | |
0.005338111877441406, | |
0.0053309440612792965, | |
0.005340159893035889, | |
0.005321728229522705, | |
0.00531660795211792, | |
0.005286911964416504, | |
0.005310463905334473, | |
0.005328896045684814, | |
0.005292031764984131, | |
0.005296127796173096, | |
0.005307392120361328, | |
0.005306367874145508, | |
0.005283840179443359, | |
0.005347328186035156, | |
0.005299200057983398, | |
0.005288959980010987, | |
0.005312511920928955, | |
0.005319680213928223, | |
0.005277696132659912, | |
0.0053350400924682614, | |
0.00530944013595581, | |
0.005288959980010987, | |
0.005250048160552978, | |
0.005344255924224854, | |
0.005326848030090332, | |
0.005295104026794434, | |
0.005368832111358642, | |
0.005294079780578613, | |
0.005287936210632324, | |
0.005321728229522705, | |
0.005302271842956543, | |
0.005305344104766845, | |
0.0053637118339538575, | |
0.005299200057983398, | |
0.005311488151550293, | |
0.005327871799468994, | |
0.005310463905334473, | |
0.005288959980010987, | |
0.0053647360801696775, | |
0.005302271842956543, | |
0.005318655967712403, | |
0.005341184139251709, | |
0.005305344104766845, | |
0.005284863948822022, | |
0.005319680213928223, | |
0.0053534722328186036, | |
0.005371903896331787, | |
0.00531763219833374, | |
0.005279744148254394, | |
0.005323775768280029, | |
0.005468160152435303, | |
0.005368832111358642, | |
0.005410816192626953, | |
0.005414912223815918, | |
0.005305344104766845, | |
0.005325823783874512, | |
0.005395455837249756, | |
0.005320703983306885, | |
0.00537497615814209, | |
0.005327871799468994, | |
0.005337088108062744, | |
0.005361663818359375, | |
0.005320703983306885, | |
0.0053309440612792965, | |
0.005354496002197265, | |
0.005331967830657959, | |
0.005318655967712403, | |
0.005345280170440674, | |
0.005319680213928223, | |
0.005329919815063477, | |
0.0053340158462524415, | |
0.00532480001449585, | |
0.00546611213684082, | |
0.005319680213928223, | |
0.00536575984954834, | |
0.0052971520423889164, | |
0.005354496002197265, | |
0.005352447986602784, | |
0.005325823783874512, | |
0.0053944320678710935, | |
0.005352447986602784, | |
0.00530944013595581, | |
0.00538316822052002, | |
0.005331967830657959, | |
0.005356544017791748, | |
0.0053821439743042, | |
0.005359615802764893, | |
0.005341184139251709, | |
0.0054241280555725096, | |
0.005336063861846924, | |
0.005502975940704345, | |
0.005318655967712403, | |
0.005313536167144775, | |
0.005284863948822022, | |
0.005372928142547607, | |
0.005281792163848877, | |
0.00530944013595581, | |
0.0053350400924682614, | |
0.005285888195037842, | |
0.005294079780578613, | |
0.00532480001449585, | |
0.005302271842956543, | |
0.005389311790466309, | |
0.005337088108062744, | |
0.005305344104766845, | |
0.005299200057983398, | |
0.005344255924224854, | |
0.005327871799468994, | |
0.00530841588973999, | |
0.005359615802764893, | |
0.005288959980010987, | |
0.0052899842262268066, | |
0.00532480001449585, | |
0.0053043198585510255, | |
0.005299200057983398, | |
0.005341184139251709 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.40091440169138 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.264519737020512e-08, | |
"ram": 3.425030866329055e-08, | |
"gpu": 1.3186812430687824e-07, | |
"total": 2.287636303403739e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4371324.228908745 | |
} | |
} | |
} | |
} |