
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e982d33
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"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": 783.929344, | |
"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.4391728515625, | |
"mean": 7.4391728515625, | |
"stdev": 0.0, | |
"p50": 7.4391728515625, | |
"p90": 7.4391728515625, | |
"p95": 7.4391728515625, | |
"p99": 7.4391728515625, | |
"values": [ | |
7.4391728515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.330502888894662e-07, | |
"ram": 4.953965417909751e-07, | |
"gpu": 1.6752791180000073e-06, | |
"total": 3.103725948680449e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.405056, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 1.0026394238471987, | |
"mean": 0.0054789039554491705, | |
"stdev": 0.00022611922991425134, | |
"p50": 0.005482495784759522, | |
"p90": 0.005716377735137939, | |
"p95": 0.005816115379333496, | |
"p99": 0.006292664422988891, | |
"values": [ | |
0.006115327835083008, | |
0.006335487842559814, | |
0.006088704109191895, | |
0.005859327793121338, | |
0.005765120029449463, | |
0.005805056095123291, | |
0.005817344188690185, | |
0.005720064163208007, | |
0.0057794561386108395, | |
0.005763072013854981, | |
0.00628326416015625, | |
0.0056442880630493165, | |
0.005377024173736572, | |
0.005312511920928955, | |
0.005336063861846924, | |
0.005338111877441406, | |
0.005288959980010987, | |
0.005288959980010987, | |
0.005336063861846924, | |
0.005294079780578613, | |
0.005318655967712403, | |
0.005341184139251709, | |
0.0053002238273620605, | |
0.005279744148254394, | |
0.0053340158462524415, | |
0.005326848030090332, | |
0.005245952129364013, | |
0.005237760066986084, | |
0.005238783836364746, | |
0.00521727991104126, | |
0.005256192207336426, | |
0.005214208126068115, | |
0.005223423957824707, | |
0.005220352172851562, | |
0.005252096176147461, | |
0.005224448204040527, | |
0.0052408318519592285, | |
0.0052408638000488285, | |
0.0052295680046081545, | |
0.005214208126068115, | |
0.005264383792877197, | |
0.00522649621963501, | |
0.005243904113769531, | |
0.005260287761688232, | |
0.005251071929931641, | |
0.005259263992309571, | |
0.005238783836364746, | |
0.005231616020202637, | |
0.0053350400924682614, | |
0.0053012480735778805, | |
0.005319680213928223, | |
0.005227519989013672, | |
0.005312511920928955, | |
0.005325823783874512, | |
0.005286911964416504, | |
0.005241856098175048, | |
0.00531660795211792, | |
0.00521727991104126, | |
0.005237760066986084, | |
0.005274623870849609, | |
0.005227519989013672, | |
0.005228544235229492, | |
0.005264383792877197, | |
0.00521830415725708, | |
0.005216256141662597, | |
0.0052111358642578124, | |
0.005246975898742676, | |
0.005191679954528809, | |
0.005399551868438721, | |
0.005900288105010986, | |
0.005340159893035889, | |
0.005345280170440674, | |
0.005307392120361328, | |
0.00535756778717041, | |
0.005416959762573242, | |
0.005294079780578613, | |
0.005255167961120606, | |
0.005281792163848877, | |
0.005356544017791748, | |
0.005294079780578613, | |
0.005350399971008301, | |
0.005255167961120606, | |
0.005232639789581299, | |
0.005254144191741943, | |
0.0052295680046081545, | |
0.0052070398330688475, | |
0.005242879867553711, | |
0.005262335777282715, | |
0.005279744148254394, | |
0.005285888195037842, | |
0.00531660795211792, | |
0.005276671886444092, | |
0.005747712135314941, | |
0.00530944013595581, | |
0.005305344104766845, | |
0.005496831893920898, | |
0.005506048202514649, | |
0.005468160152435303, | |
0.005273600101470947, | |
0.00532480001449585, | |
0.005471231937408447, | |
0.005492735862731934, | |
0.005505023956298828, | |
0.00577023983001709, | |
0.005615615844726562, | |
0.005574656009674072, | |
0.005409791946411133, | |
0.005409791946411133, | |
0.005623807907104492, | |
0.005940224170684814, | |
0.006342656135559082, | |
0.005728256225585937, | |
0.005640192031860352, | |
0.005657599925994873, | |
0.005604351997375488, | |
0.005666848182678223, | |
0.005619711875915527, | |
0.005574656009674072, | |
0.005582848072052002, | |
0.005475327968597412, | |
0.005496831893920898, | |
0.005526527881622314, | |
0.0054988799095153805, | |
0.005529600143432617, | |
0.005482495784759522, | |
0.005468160152435303, | |
0.005535744190216065, | |
0.005463039875030518, | |
0.005798912048339844, | |
0.005587967872619629, | |
0.005544960021972656, | |
0.005538815975189209, | |
0.005502975940704345, | |
0.005500927925109863, | |
0.005547008037567139, | |
0.005467135906219483, | |
0.005639167785644531, | |
0.005587967872619629, | |
0.005649407863616943, | |
0.005633024215698243, | |
0.005612544059753418, | |
0.005658624172210694, | |
0.005602303981781006, | |
0.005608448028564453, | |
0.00562278413772583, | |
0.005605375766754151, | |
0.005618688106536865, | |
0.005602303981781006, | |
0.005650432109832764, | |
0.00566374397277832, | |
0.005599232196807862, | |
0.005656576156616211, | |
0.005607423782348633, | |
0.005650432109832764, | |
0.005673984050750733, | |
0.005583871841430664, | |
0.005634047985076904, | |
0.005699584007263184, | |
0.005659647941589355, | |
0.005588992118835449, | |
0.005606400012969971, | |
0.005591040134429932, | |
0.005593088150024414, | |
0.005595136165618897, | |
0.005576704025268555, | |
0.005591040134429932, | |
0.005597184181213379, | |
0.00557260799407959, | |
0.005643263816833496, | |
0.00556441593170166, | |
0.005588992118835449, | |
0.005623807907104492, | |
0.005593088150024414, | |
0.0059955201148986816, | |
0.005637119770050049, | |
0.005652480125427246, | |
0.005616640090942383, | |
0.005588992118835449, | |
0.005701632022857666, | |
0.0055797758102417, | |
0.005617663860321045, | |
0.005570559978485107, | |
0.005581823825836182 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 182.51825696003064 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.327562652925317e-08, | |
"ram": 3.4596638899324e-08, | |
"gpu": 1.2872793986170377e-07, | |
"total": 2.2660020529028095e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4413058.667440186 | |
} | |
} | |
} | |
} |