
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
68ddfc6
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": "warn", | |
"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-212.873.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 782.856192, | |
"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.37972314453125, | |
"mean": 7.37972314453125, | |
"stdev": 0.0, | |
"p50": 7.37972314453125, | |
"p90": 7.37972314453125, | |
"p95": 7.37972314453125, | |
"p99": 7.37972314453125, | |
"values": [ | |
7.37972314453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.593301048616197e-07, | |
"ram": 4.931130665557077e-07, | |
"gpu": 1.5763901500000753e-06, | |
"total": 3.0288333214174024e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.462976, | |
"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.00124784040451, | |
"mean": 0.005501361760464343, | |
"stdev": 0.00020505164239534098, | |
"p50": 0.005528064012527466, | |
"p90": 0.0057083902359008785, | |
"p95": 0.005777919888496399, | |
"p99": 0.005970483045578003, | |
"values": [ | |
0.006173696041107178, | |
0.006647808074951172, | |
0.005922815799713135, | |
0.005768191814422607, | |
0.005745664119720459, | |
0.0058009600639343266, | |
0.005805056095123291, | |
0.005716991901397705, | |
0.00570470380783081, | |
0.00572211217880249, | |
0.005682176113128662, | |
0.005645311832427978, | |
0.005623807907104492, | |
0.005649407863616943, | |
0.005698592185974121, | |
0.005569536209106446, | |
0.005518335819244385, | |
0.005502975940704345, | |
0.005512191772460938, | |
0.005619711875915527, | |
0.005561344146728516, | |
0.005646336078643799, | |
0.005662720203399658, | |
0.005616640090942383, | |
0.005709824085235596, | |
0.005619711875915527, | |
0.005607423782348633, | |
0.005525504112243652, | |
0.005615615844726562, | |
0.005679103851318359, | |
0.005629951953887939, | |
0.005677055835723877, | |
0.005609471797943116, | |
0.005653503894805908, | |
0.005634047985076904, | |
0.005582848072052002, | |
0.005617663860321045, | |
0.005708799839019775, | |
0.005665791988372803, | |
0.005787648200988769, | |
0.005694464206695556, | |
0.005616640090942383, | |
0.005476352214813233, | |
0.005467135906219483, | |
0.005504000186920166, | |
0.005516287803649903, | |
0.0057118721008300784, | |
0.005527552127838135, | |
0.005559296131134033, | |
0.005586944103240967, | |
0.005549056053161621, | |
0.005637119770050049, | |
0.005645311832427978, | |
0.00566476821899414, | |
0.005807104110717773, | |
0.00566374397277832, | |
0.005708799839019775, | |
0.005604351997375488, | |
0.005633024215698243, | |
0.005509119987487793, | |
0.005574656009674072, | |
0.0057118721008300784, | |
0.005681151866912842, | |
0.00567193603515625, | |
0.005596159934997558, | |
0.005631999969482422, | |
0.005631999969482422, | |
0.005512191772460938, | |
0.005568511962890625, | |
0.005521471977233887, | |
0.00553984022140503, | |
0.005571584224700928, | |
0.005618688106536865, | |
0.005612544059753418, | |
0.00547430419921875, | |
0.00550707197189331, | |
0.005549056053161621, | |
0.00552243185043335, | |
0.005536767959594726, | |
0.005535744190216065, | |
0.005526527881622314, | |
0.005548031806945801, | |
0.0055285758972167965, | |
0.005640192031860352, | |
0.005690368175506591, | |
0.00562278413772583, | |
0.00568832015991211, | |
0.005637119770050049, | |
0.0056258559226989744, | |
0.005596159934997558, | |
0.005590015888214111, | |
0.005686272144317627, | |
0.00563097620010376, | |
0.005519360065460205, | |
0.005540863990783691, | |
0.005600255966186523, | |
0.005533696174621582, | |
0.0054609918594360355, | |
0.005501952171325684, | |
0.005371903896331787, | |
0.0053350400924682614, | |
0.005484543800354004, | |
0.005547008037567139, | |
0.0053637118339538575, | |
0.005269504070281982, | |
0.005269504070281982, | |
0.005272575855255127, | |
0.005274623870849609, | |
0.005352447986602784, | |
0.005323775768280029, | |
0.005533696174621582, | |
0.005640192031860352, | |
0.005638144016265869, | |
0.005852159976959229, | |
0.0057784318923950195, | |
0.005868544101715088, | |
0.005629951953887939, | |
0.00555622386932373, | |
0.005599232196807862, | |
0.00551526403427124, | |
0.005530623912811279, | |
0.005430272102355957, | |
0.0054271998405456545, | |
0.005438464164733887, | |
0.005404672145843506, | |
0.005417984008789062, | |
0.005470208168029785, | |
0.005429247856140137, | |
0.00552243185043335, | |
0.005436416149139404, | |
0.005420032024383545, | |
0.005469183921813964, | |
0.005288959980010987, | |
0.005253119945526123, | |
0.0052899842262268066, | |
0.005246975898742676, | |
0.005246975898742676, | |
0.005275648117065429, | |
0.005246975898742676, | |
0.005237760066986084, | |
0.005249023914337158, | |
0.005251071929931641, | |
0.005235712051391602, | |
0.005252096176147461, | |
0.005273600101470947, | |
0.005239808082580567, | |
0.0052705278396606445, | |
0.00526643180847168, | |
0.005241856098175048, | |
0.005239808082580567, | |
0.005269504070281982, | |
0.005224448204040527, | |
0.0052295680046081545, | |
0.005352447986602784, | |
0.005249023914337158, | |
0.005222400188446045, | |
0.005261312007904053, | |
0.005239808082580567, | |
0.005223423957824707, | |
0.005252096176147461, | |
0.005269504070281982, | |
0.00522547197341919, | |
0.0053002238273620605, | |
0.005251071929931641, | |
0.005235712051391602, | |
0.0053043198585510255, | |
0.005273600101470947, | |
0.0052367358207702636, | |
0.0052408318519592285, | |
0.005269504070281982, | |
0.0052336640357971195, | |
0.005237760066986084, | |
0.005269504070281982, | |
0.005224448204040527, | |
0.005314559936523438, | |
0.0052336640357971195, | |
0.005262335777282715, | |
0.0052674560546875, | |
0.005231616020202637, | |
0.005237760066986084, | |
0.00521727991104126, | |
0.005244927883148193 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.77317608642318 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.42640572184682e-08, | |
"ram": 3.5134848085013356e-08, | |
"gpu": 1.265691703243236e-07, | |
"total": 2.2596807562780513e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4425403.886021106 | |
} | |
} | |
} | |
} |