
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b685713
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-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.33.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.913536, | |
"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.4433505859375, | |
"mean": 7.4433505859375, | |
"stdev": 0.0, | |
"p50": 7.4433505859375, | |
"p90": 7.4433505859375, | |
"p95": 7.4433505859375, | |
"p99": 7.4433505859375, | |
"values": [ | |
7.4433505859375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.328736069445793e-07, | |
"ram": 4.954961529924927e-07, | |
"gpu": 1.7016680279998905e-06, | |
"total": 3.130037787936963e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.52032, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 175, | |
"total": 1.000637536048889, | |
"mean": 0.005717928777422224, | |
"stdev": 0.00024200539171096965, | |
"p50": 0.005692416191101074, | |
"p90": 0.005994086360931397, | |
"p95": 0.0060439777374267575, | |
"p99": 0.006189526901245117, | |
"values": [ | |
0.0061562881469726565, | |
0.006243328094482422, | |
0.006170623779296875, | |
0.005983232021331787, | |
0.006080512046813965, | |
0.005991424083709717, | |
0.006103040218353272, | |
0.005909503936767578, | |
0.0059996161460876465, | |
0.005892096042633056, | |
0.005983232021331787, | |
0.005914624214172363, | |
0.005957632064819336, | |
0.005908480167388916, | |
0.006004735946655273, | |
0.005962751865386963, | |
0.0059361281394958495, | |
0.0057784318923950195, | |
0.005824512004852295, | |
0.005879807949066162, | |
0.0059054079055786135, | |
0.005631999969482422, | |
0.005705728054046631, | |
0.005768191814422607, | |
0.0064839677810668945, | |
0.0060590081214904785, | |
0.005923840045928955, | |
0.005903359889984131, | |
0.005890048027038574, | |
0.0059688959121704105, | |
0.005953536033630371, | |
0.006020095825195313, | |
0.0059269118309021, | |
0.006011903762817383, | |
0.005966847896575928, | |
0.005994495868682862, | |
0.005897215843200684, | |
0.005991424083709717, | |
0.005929984092712402, | |
0.005981184005737304, | |
0.005941247940063477, | |
0.005972991943359375, | |
0.005882880210876465, | |
0.0058419198989868165, | |
0.005815296173095703, | |
0.005839871883392334, | |
0.005934080123901367, | |
0.0059054079055786135, | |
0.0059269118309021, | |
0.005910528182983398, | |
0.005991424083709717, | |
0.005922815799713135, | |
0.005993472099304199, | |
0.0060375361442565915, | |
0.006030335903167725, | |
0.005948416233062744, | |
0.006014976024627685, | |
0.005911551952362061, | |
0.006011903762817383, | |
0.0059361281394958495, | |
0.005807104110717773, | |
0.005675007820129394, | |
0.005686272144317627, | |
0.0056145920753479005, | |
0.00561356782913208, | |
0.005620736122131348, | |
0.005634047985076904, | |
0.005837887763977051, | |
0.005786623954772949, | |
0.00582041597366333, | |
0.005855231761932373, | |
0.005928959846496582, | |
0.005847040176391601, | |
0.005991424083709717, | |
0.005881855964660645, | |
0.0058726401329040525, | |
0.005920767784118652, | |
0.00586240005493164, | |
0.005881855964660645, | |
0.0058429441452026365, | |
0.005620736122131348, | |
0.005570559978485107, | |
0.005617663860321045, | |
0.005561344146728516, | |
0.005637119770050049, | |
0.005728256225585937, | |
0.005667840003967285, | |
0.005706751823425293, | |
0.005695487976074219, | |
0.005695487976074219, | |
0.005670911788940429, | |
0.005600255966186523, | |
0.006131711959838867, | |
0.005611519813537597, | |
0.00563097620010376, | |
0.005500927925109863, | |
0.005532671928405761, | |
0.00563097620010376, | |
0.005501952171325684, | |
0.00547430419921875, | |
0.005472256183624268, | |
0.005409791946411133, | |
0.005392384052276611, | |
0.005404672145843506, | |
0.005538815975189209, | |
0.005436416149139404, | |
0.005278719902038574, | |
0.005261312007904053, | |
0.005281792163848877, | |
0.005262335777282715, | |
0.005269504070281982, | |
0.005677055835723877, | |
0.00573747205734253, | |
0.00588595199584961, | |
0.005766143798828125, | |
0.005884928226470947, | |
0.005929984092712402, | |
0.006095871925354004, | |
0.005847040176391601, | |
0.005710847854614258, | |
0.005694464206695556, | |
0.005568511962890625, | |
0.005627903938293457, | |
0.005587967872619629, | |
0.00566476821899414, | |
0.005604351997375488, | |
0.005623807907104492, | |
0.005588992118835449, | |
0.0055623679161071774, | |
0.0056514558792114256, | |
0.005540863990783691, | |
0.005493760108947754, | |
0.005597184181213379, | |
0.005533696174621582, | |
0.0055582718849182125, | |
0.005567488193511963, | |
0.005532671928405761, | |
0.005571584224700928, | |
0.0055285758972167965, | |
0.005552127838134766, | |
0.005597184181213379, | |
0.005681151866912842, | |
0.005608448028564453, | |
0.005526527881622314, | |
0.0055582718849182125, | |
0.005292031764984131, | |
0.005256192207336426, | |
0.005257215976715088, | |
0.00531660795211792, | |
0.005246975898742676, | |
0.005257215976715088, | |
0.0052899842262268066, | |
0.0052674560546875, | |
0.005264383792877197, | |
0.005305344104766845, | |
0.005239808082580567, | |
0.0053002238273620605, | |
0.005602303981781006, | |
0.005595136165618897, | |
0.005692416191101074, | |
0.005576704025268555, | |
0.005525504112243652, | |
0.005581823825836182, | |
0.005543935775756836, | |
0.005540863990783691, | |
0.00551423978805542, | |
0.0055214080810546875, | |
0.005583871841430664, | |
0.005543935775756836, | |
0.005538815975189209, | |
0.0055316481590271, | |
0.005501952171325684, | |
0.005569536209106446, | |
0.005540863990783691, | |
0.005540863990783691 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 174.88850227526328 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.488371794930034e-08, | |
"ram": 3.5464318151428005e-08, | |
"gpu": 1.3055414208743215e-07, | |
"total": 2.309021781881605e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4330838.313639065 | |
} | |
} | |
} | |
} |