
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6226664
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 784.093184, | |
"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.44635693359375, | |
"mean": 7.44635693359375, | |
"stdev": 0.0, | |
"p50": 7.44635693359375, | |
"p90": 7.44635693359375, | |
"p95": 7.44635693359375, | |
"p99": 7.44635693359375, | |
"values": [ | |
7.44635693359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.269070083334441e-07, | |
"ram": 4.925014697555653e-07, | |
"gpu": 0.0, | |
"total": 1.4194084780890096e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.699968, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 182, | |
"total": 1.0018071370124808, | |
"mean": 0.005504434818749899, | |
"stdev": 0.00021342057552007092, | |
"p50": 0.005502464056015014, | |
"p90": 0.005672959804534912, | |
"p95": 0.005838745737075804, | |
"p99": 0.006260521650314332, | |
"values": [ | |
0.006298624038696289, | |
0.00643993616104126, | |
0.006235136032104492, | |
0.006182911872863769, | |
0.006251584053039551, | |
0.006120448112487793, | |
0.00608460807800293, | |
0.006240255832672119, | |
0.0055706238746643065, | |
0.005379072189331055, | |
0.00537497615814209, | |
0.005397535800933838, | |
0.005403647899627686, | |
0.005356544017791748, | |
0.005379072189331055, | |
0.0053944320678710935, | |
0.005379072189331055, | |
0.005344255924224854, | |
0.00539244794845581, | |
0.00535859203338623, | |
0.005369855880737305, | |
0.00537497615814209, | |
0.0053678078651428224, | |
0.0053534722328186036, | |
0.005385216236114502, | |
0.0053637118339538575, | |
0.005345280170440674, | |
0.00536678409576416, | |
0.0053975038528442385, | |
0.005370880126953125, | |
0.0053647360801696775, | |
0.005356544017791748, | |
0.005419007778167725, | |
0.005390336036682129, | |
0.005386240005493164, | |
0.005389311790466309, | |
0.005369855880737305, | |
0.005390336036682129, | |
0.0053975038528442385, | |
0.005337088108062744, | |
0.005377024173736572, | |
0.005313536167144775, | |
0.005291007995605469, | |
0.005299200057983398, | |
0.005331967830657959, | |
0.005285888195037842, | |
0.005349376201629639, | |
0.0052971520423889164, | |
0.005285888195037842, | |
0.005302271842956543, | |
0.005400576114654541, | |
0.005482495784759522, | |
0.005513216018676758, | |
0.00552345609664917, | |
0.00552345609664917, | |
0.0055203838348388675, | |
0.005540863990783691, | |
0.0055285758972167965, | |
0.00551423978805542, | |
0.005511168003082275, | |
0.00551526403427124, | |
0.005500927925109863, | |
0.005532671928405761, | |
0.005538815975189209, | |
0.00551423978805542, | |
0.005504000186920166, | |
0.005554175853729248, | |
0.00535756778717041, | |
0.005336063861846924, | |
0.0053002238273620605, | |
0.0052705278396606445, | |
0.005273600101470947, | |
0.005312511920928955, | |
0.005288959980010987, | |
0.005320703983306885, | |
0.005299200057983398, | |
0.0052971520423889164, | |
0.005295104026794434, | |
0.005312511920928955, | |
0.005285888195037842, | |
0.005305344104766845, | |
0.00531660795211792, | |
0.005262335777282715, | |
0.005279744148254394, | |
0.005325823783874512, | |
0.005280767917633057, | |
0.0052930560111999515, | |
0.0052899842262268066, | |
0.005281792163848877, | |
0.005281792163848877, | |
0.005337088108062744, | |
0.005268479824066162, | |
0.005758975982666016, | |
0.005310463905334473, | |
0.005311488151550293, | |
0.005281792163848877, | |
0.005332992076873779, | |
0.0052930560111999515, | |
0.0053678078651428224, | |
0.005355519771575928, | |
0.0053678078651428224, | |
0.005351424217224121, | |
0.005384191989898681, | |
0.005345280170440674, | |
0.005370880126953125, | |
0.005362688064575195, | |
0.005356544017791748, | |
0.005346303939819336, | |
0.00537497615814209, | |
0.005343232154846191, | |
0.005303296089172363, | |
0.00530841588973999, | |
0.005299200057983398, | |
0.005281792163848877, | |
0.005537792205810547, | |
0.0058429441452026365, | |
0.0056852478981018065, | |
0.005596159934997558, | |
0.005618688106536865, | |
0.005637119770050049, | |
0.005638144016265869, | |
0.005626880168914795, | |
0.005638144016265869, | |
0.00561356782913208, | |
0.005672959804534912, | |
0.005642240047454834, | |
0.00587775993347168, | |
0.005616640090942383, | |
0.005694464206695556, | |
0.005604351997375488, | |
0.0056258559226989744, | |
0.005665791988372803, | |
0.00566476821899414, | |
0.005713920116424561, | |
0.005656576156616211, | |
0.005611519813537597, | |
0.005673984050750733, | |
0.005645311832427978, | |
0.005686272144317627, | |
0.005649407863616943, | |
0.005708799839019775, | |
0.005715968132019043, | |
0.005672959804534912, | |
0.005640255928039551, | |
0.005647359848022461, | |
0.005635072231292724, | |
0.005647359848022461, | |
0.005612544059753418, | |
0.005652480125427246, | |
0.0056145920753479005, | |
0.005628928184509278, | |
0.005565440177917481, | |
0.00551526403427124, | |
0.005530623912811279, | |
0.005533696174621582, | |
0.005517312049865723, | |
0.0055203838348388675, | |
0.005649407863616943, | |
0.005657599925994873, | |
0.005604351997375488, | |
0.0056145920753479005, | |
0.005595136165618897, | |
0.005637119770050049, | |
0.005612544059753418, | |
0.005615615844726562, | |
0.005619711875915527, | |
0.005595136165618897, | |
0.005530623912811279, | |
0.00551423978805542, | |
0.005511168003082275, | |
0.0056145920753479005, | |
0.005578752040863037, | |
0.005661695957183838, | |
0.005608448028564453, | |
0.005631999969482422, | |
0.0056217598915100095, | |
0.005609471797943116, | |
0.005624832153320313, | |
0.005653503894805908, | |
0.005603328227996827, | |
0.0056442880630493165, | |
0.005488639831542969 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.6716943570072 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.597807030478483e-08, | |
"ram": 3.607054583196203e-08, | |
"gpu": 1.2545843369999988e-07, | |
"total": 2.2750704983674673e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4395468.187546603 | |
} | |
} | |
} | |
} |