
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6c42992
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.814656, | |
"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.38419189453125, | |
"mean": 7.38419189453125, | |
"stdev": 0.0, | |
"p50": 7.38419189453125, | |
"p90": 7.38419189453125, | |
"p95": 7.38419189453125, | |
"p99": 7.38419189453125, | |
"values": [ | |
7.38419189453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.402185041670367e-07, | |
"ram": 4.992423961108684e-07, | |
"gpu": 1.675556895999828e-06, | |
"total": 3.1150177962777332e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.147008, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 176, | |
"total": 1.0005453448295591, | |
"mean": 0.005684916731986133, | |
"stdev": 0.0002448557625213375, | |
"p50": 0.005691391944885254, | |
"p90": 0.005960191965103149, | |
"p95": 0.00613478410243988, | |
"p99": 0.0063933441638946535, | |
"values": [ | |
0.006751232147216797, | |
0.006384640216827392, | |
0.006220799922943115, | |
0.006184959888458252, | |
0.006031360149383545, | |
0.006024191856384278, | |
0.006049791812896729, | |
0.00602623987197876, | |
0.005913599967956543, | |
0.006206463813781738, | |
0.005949440002441406, | |
0.006078464031219482, | |
0.005961728096008301, | |
0.005858304023742676, | |
0.005702655792236328, | |
0.005728256225585937, | |
0.005577727794647217, | |
0.005693439960479736, | |
0.005652480125427246, | |
0.0057077760696411135, | |
0.005675007820129394, | |
0.005793791770935058, | |
0.0058757119178771975, | |
0.005569536209106446, | |
0.0059023361206054685, | |
0.005752831935882568, | |
0.005702655792236328, | |
0.005629951953887939, | |
0.005654528141021729, | |
0.005751808166503906, | |
0.005757952213287353, | |
0.005907455921173096, | |
0.005696512222290039, | |
0.005952511787414551, | |
0.005804031848907471, | |
0.006177792072296143, | |
0.00561356782913208, | |
0.005727231979370117, | |
0.005853184223175049, | |
0.005599232196807862, | |
0.005904384136199951, | |
0.00572211217880249, | |
0.005753856182098388, | |
0.005563392162322998, | |
0.005504000186920166, | |
0.005702655792236328, | |
0.005618688106536865, | |
0.005672959804534912, | |
0.005660672187805176, | |
0.005763072013854981, | |
0.005693439960479736, | |
0.005533696174621582, | |
0.005865471839904785, | |
0.005713920116424561, | |
0.005787648200988769, | |
0.005728256225585937, | |
0.005858304023742676, | |
0.005739520072937012, | |
0.005691391944885254, | |
0.005731328010559082, | |
0.005763072013854981, | |
0.005954559803009033, | |
0.0058757119178771975, | |
0.005958655834197998, | |
0.006313983917236328, | |
0.005723135948181152, | |
0.005693439960479736, | |
0.005855231761932373, | |
0.005619711875915527, | |
0.005738495826721191, | |
0.005709824085235596, | |
0.005548031806945801, | |
0.005758975982666016, | |
0.005691391944885254, | |
0.005886975765228271, | |
0.005684224128723145, | |
0.005692416191101074, | |
0.005859327793121338, | |
0.005882880210876465, | |
0.005898240089416504, | |
0.005866496086120605, | |
0.005950463771820068, | |
0.005923840045928955, | |
0.0059269118309021, | |
0.0058726401329040525, | |
0.006419456005096436, | |
0.006181888103485108, | |
0.0058388481140136715, | |
0.005743616104125977, | |
0.005888000011444092, | |
0.005766143798828125, | |
0.005810175895690918, | |
0.005825535774230957, | |
0.005970943927764893, | |
0.005735424041748047, | |
0.005610496044158936, | |
0.005643263816833496, | |
0.005740543842315674, | |
0.005725183963775635, | |
0.00555622386932373, | |
0.005588992118835449, | |
0.005489664077758789, | |
0.005420032024383545, | |
0.005676032066345215, | |
0.00562278413772583, | |
0.005533696174621582, | |
0.005482495784759522, | |
0.005261312007904053, | |
0.005725183963775635, | |
0.005563392162322998, | |
0.005631999969482422, | |
0.005751808166503906, | |
0.005702655792236328, | |
0.005736447811126709, | |
0.005670911788940429, | |
0.005736447811126709, | |
0.005972991943359375, | |
0.005783552169799804, | |
0.006120448112487793, | |
0.005814271926879883, | |
0.0055848960876464845, | |
0.005519360065460205, | |
0.005567488193511963, | |
0.0055285758972167965, | |
0.0055511040687561035, | |
0.00555622386932373, | |
0.005626880168914795, | |
0.00555622386932373, | |
0.005508096218109131, | |
0.005481472015380859, | |
0.0055316481590271, | |
0.0054917120933532714, | |
0.005530623912811279, | |
0.005541888236999512, | |
0.00552345609664917, | |
0.005473279953002929, | |
0.005389311790466309, | |
0.005385216236114502, | |
0.00541593599319458, | |
0.005375999927520752, | |
0.005401599884033203, | |
0.005246975898742676, | |
0.00520908784866333, | |
0.0053043198585510255, | |
0.005571584224700928, | |
0.005480447769165039, | |
0.005409791946411133, | |
0.005436416149139404, | |
0.005489664077758789, | |
0.005489664077758789, | |
0.005492735862731934, | |
0.005481472015380859, | |
0.005595136165618897, | |
0.005469183921813964, | |
0.005508096218109131, | |
0.005480447769165039, | |
0.005437439918518067, | |
0.005468160152435303, | |
0.00546611213684082, | |
0.005350399971008301, | |
0.005371903896331787, | |
0.005368832111358642, | |
0.00537497615814209, | |
0.005411839962005615, | |
0.0053534722328186036, | |
0.005351424217224121, | |
0.005372928142547607, | |
0.0053534722328186036, | |
0.005341248035430908, | |
0.005377024173736572, | |
0.005371903896331787, | |
0.00536575984954834, | |
0.005419007778167725, | |
0.005354496002197265, | |
0.005349376201629639, | |
0.005380095958709717 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 175.90407162404136 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.182318090639414e-08, | |
"ram": 3.380111831522474e-08, | |
"gpu": 1.2528655856249937e-07, | |
"total": 2.2091085778411827e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4526712.765640676 | |
} | |
} | |
} | |
} |