
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
460820d
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.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": 783.01184, | |
"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.37925927734375, | |
"mean": 7.37925927734375, | |
"stdev": 0.0, | |
"p50": 7.37925927734375, | |
"p90": 7.37925927734375, | |
"p95": 7.37925927734375, | |
"p99": 7.37925927734375, | |
"values": [ | |
7.37925927734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.238336326386648e-07, | |
"ram": 4.907532415155201e-07, | |
"gpu": 1.7113902580001214e-06, | |
"total": 3.1259771321543064e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.614528, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 180, | |
"total": 1.0048360624313364, | |
"mean": 0.005582422569062975, | |
"stdev": 0.00020395404521211878, | |
"p50": 0.005601280212402344, | |
"p90": 0.00582041597366333, | |
"p95": 0.005840793490409851, | |
"p99": 0.006077317280769348, | |
"values": [ | |
0.0060999679565429685, | |
0.006172671794891358, | |
0.005989376068115234, | |
0.006071296215057373, | |
0.0059023361206054685, | |
0.005949440002441406, | |
0.005858304023742676, | |
0.005837823867797852, | |
0.0058009600639343266, | |
0.005763072013854981, | |
0.00582041597366333, | |
0.005690368175506591, | |
0.005772287845611572, | |
0.00573747205734253, | |
0.005742591857910156, | |
0.005700607776641845, | |
0.005616640090942383, | |
0.005607423782348633, | |
0.005669888019561768, | |
0.005735424041748047, | |
0.005689343929290771, | |
0.005786623954772949, | |
0.005756927967071533, | |
0.005718016147613526, | |
0.0058009600639343266, | |
0.005763072013854981, | |
0.0057190399169921875, | |
0.00562278413772583, | |
0.005832704067230224, | |
0.005839871883392334, | |
0.005815296173095703, | |
0.005784575939178467, | |
0.0058091521263122555, | |
0.005808127880096436, | |
0.005795839786529541, | |
0.005805056095123291, | |
0.005757952213287353, | |
0.00576204776763916, | |
0.005784575939178467, | |
0.005799935817718506, | |
0.005826560020446778, | |
0.005677055835723877, | |
0.005669888019561768, | |
0.005616640090942383, | |
0.0056780800819396975, | |
0.005989376068115234, | |
0.005794816017150879, | |
0.005740543842315674, | |
0.0058122239112854005, | |
0.005755904197692871, | |
0.005750783920288086, | |
0.005833727836608887, | |
0.005835775852203369, | |
0.005866496086120605, | |
0.0058009600639343266, | |
0.005801983833312988, | |
0.005751808166503906, | |
0.005742591857910156, | |
0.005668863773345947, | |
0.005657599925994873, | |
0.005786623954772949, | |
0.005544960021972656, | |
0.005601280212402344, | |
0.0054579200744628905, | |
0.005489664077758789, | |
0.005696512222290039, | |
0.00547430419921875, | |
0.005447679996490478, | |
0.005440512180328369, | |
0.005462016105651855, | |
0.0054620480537414555, | |
0.005465087890625, | |
0.005526527881622314, | |
0.005471231937408447, | |
0.005393407821655274, | |
0.0054271998405456545, | |
0.005601280212402344, | |
0.0056555519104003905, | |
0.005765120029449463, | |
0.005696512222290039, | |
0.0057149438858032225, | |
0.005668863773345947, | |
0.005723135948181152, | |
0.005837823867797852, | |
0.005794816017150879, | |
0.00582144021987915, | |
0.005814271926879883, | |
0.005793791770935058, | |
0.005758975982666016, | |
0.005716991901397705, | |
0.00582041597366333, | |
0.005716991901397705, | |
0.005786623954772949, | |
0.005571584224700928, | |
0.005686272144317627, | |
0.005690368175506591, | |
0.005651487827301026, | |
0.005607423782348633, | |
0.005588992118835449, | |
0.0054876160621643065, | |
0.005464064121246338, | |
0.005642240047454834, | |
0.005616640090942383, | |
0.0054568958282470706, | |
0.005478400230407715, | |
0.005425151824951172, | |
0.005379072189331055, | |
0.005403647899627686, | |
0.005609471797943116, | |
0.005517312049865723, | |
0.00562278413772583, | |
0.005443583965301513, | |
0.005583871841430664, | |
0.005616640090942383, | |
0.005774335861206055, | |
0.005575679779052735, | |
0.0054241280555725096, | |
0.005480447769165039, | |
0.005464064121246338, | |
0.005426176071166992, | |
0.005533696174621582, | |
0.005449728012084961, | |
0.0054282240867614745, | |
0.005484543800354004, | |
0.005422080039978027, | |
0.005441535949707031, | |
0.005429247856140137, | |
0.00541593599319458, | |
0.005471231937408447, | |
0.005415999889373779, | |
0.005402624130249023, | |
0.005467135906219483, | |
0.005422080039978027, | |
0.005399551868438721, | |
0.005438464164733887, | |
0.005323775768280029, | |
0.005278719902038574, | |
0.00531763219833374, | |
0.005313536167144775, | |
0.0052705278396606445, | |
0.005292031764984131, | |
0.005260287761688232, | |
0.0052705278396606445, | |
0.005386240005493164, | |
0.00537497615814209, | |
0.005652480125427246, | |
0.005444608211517334, | |
0.005359615802764893, | |
0.005402624130249023, | |
0.005253119945526123, | |
0.005274623870849609, | |
0.005244927883148193, | |
0.005277696132659912, | |
0.005262335777282715, | |
0.005310463905334473, | |
0.005401599884033203, | |
0.005381120204925537, | |
0.005336063861846924, | |
0.005409791946411133, | |
0.00537497615814209, | |
0.0053678078651428224, | |
0.0053975038528442385, | |
0.0053975038528442385, | |
0.005368832111358642, | |
0.005398528099060058, | |
0.005343232154846191, | |
0.005342207908630371, | |
0.0053012480735778805, | |
0.00531660795211792, | |
0.005327871799468994, | |
0.005288959980010987, | |
0.0052839360237121585, | |
0.005349376201629639, | |
0.0052715520858764645, | |
0.005277696132659912, | |
0.005313536167144775, | |
0.005468160152435303, | |
0.0053637118339538575, | |
0.005393407821655274, | |
0.00538316822052002 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 179.13369825169877 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.381739740890204e-08, | |
"ram": 3.482788173005966e-08, | |
"gpu": 1.3019873020430277e-07, | |
"total": 2.2884400934326446e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4369788.848175645 | |
} | |
} | |
} | |
} |