IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
71a9e88 verified
raw
history blame
13.8 kB
{
"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.225-213.878.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.335552,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.07643033599853516
],
"count": 1,
"total": 0.07643033599853516,
"mean": 0.07643033599853516,
"p50": 0.07643033599853516,
"p90": 0.07643033599853516,
"p95": 0.07643033599853516,
"p99": 0.07643033599853516,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1052.954624,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005563392162322998,
0.0055101442337036136,
0.0053002238273620605,
0.00531763219833374,
0.005232639789581299,
0.005259263992309571,
0.005278719902038574,
0.005213183879852295,
0.005248000144958496,
0.005228544235229492,
0.005223423957824707,
0.005222400188446045,
0.005260287761688232,
0.00521727991104126,
0.005234687805175781,
0.005245952129364013,
0.005253119945526123,
0.0052070398330688475,
0.0052295680046081545,
0.005223423957824707,
0.005231616020202637,
0.005215231895446777,
0.005243904113769531,
0.005216256141662597,
0.005248000144958496,
0.005249023914337158,
0.005222400188446045,
0.005208064079284668,
0.0052633600234985355,
0.005237760066986084,
0.005234687805175781,
0.0052295680046081545,
0.005252096176147461,
0.005230591773986816,
0.0052336640357971195,
0.005243904113769531,
0.005246975898742676,
0.00521830415725708,
0.005264383792877197,
0.005238783836364746,
0.005238783836364746,
0.005230591773986816,
0.005249023914337158,
0.005216256141662597,
0.005264383792877197,
0.0053637118339538575,
0.005251071929931641,
0.005265408039093018,
0.005326848030090332,
0.00522547197341919,
0.005258240222930908,
0.005255167961120606,
0.005251071929931641,
0.0051968002319335935,
0.005210112094879151,
0.005180416107177735,
0.005195775985717774,
0.005191679954528809,
0.0052111358642578124,
0.00517632007598877,
0.005193727970123291,
0.005195775985717774,
0.005213183879852295,
0.005202943801879883,
0.0053637118339538575,
0.0052408318519592285,
0.005262335777282715,
0.005277696132659912,
0.0052367358207702636,
0.005231616020202637,
0.005273600101470947,
0.005220352172851562,
0.005279744148254394,
0.005238783836364746,
0.005261312007904053,
0.005224448204040527,
0.00526643180847168,
0.005338111877441406,
0.005469183921813964,
0.005465087890625,
0.005478400230407715,
0.005438464164733887,
0.005495808124542236,
0.005392384052276611,
0.005434368133544922,
0.0054241280555725096,
0.005414912223815918,
0.005426176071166992,
0.005454847812652588,
0.005435391902923584,
0.005987328052520752,
0.005600255966186523,
0.005471231937408447,
0.005480447769165039,
0.005436416149139404,
0.00542310380935669,
0.005478400230407715,
0.005417984008789062,
0.005448703765869141,
0.0054271998405456545,
0.005413887977600097,
0.005448703765869141,
0.005483520030975342,
0.00546611213684082,
0.005471231937408447,
0.005426176071166992,
0.005991424083709717,
0.005449728012084961,
0.005501952171325684,
0.005462016105651855,
0.005412864208221436,
0.005430272102355957,
0.005694464206695556,
0.005475327968597412,
0.005582848072052002,
0.00563097620010376,
0.005481472015380859,
0.005516287803649903,
0.005469183921813964,
0.0055101442337036136,
0.005537792205810547,
0.005480447769165039,
0.005581823825836182,
0.005480447769165039,
0.005540863990783691,
0.00546611213684082,
0.005453824043273926,
0.005433343887329102,
0.005495808124542236,
0.005426176071166992,
0.005480447769165039,
0.005440512180328369,
0.005464064121246338,
0.005470208168029785,
0.005443583965301513,
0.005425151824951172,
0.005566463947296142,
0.0055797758102417,
0.005435391902923584,
0.005434368133544922,
0.005430272102355957,
0.005480447769165039,
0.005819392204284668,
0.005932032108306885,
0.005446720123291016,
0.005464064121246338,
0.00546611213684082,
0.005517312049865723,
0.005482495784759522,
0.005432320117950439,
0.005435391902923584,
0.005439487934112549,
0.005479423999786377,
0.005435391902923584,
0.005468160152435303,
0.005448703765869141,
0.0054271998405456545,
0.005426176071166992,
0.005438464164733887,
0.005422080039978027,
0.0055316481590271,
0.005431295871734619,
0.005459968090057373,
0.005462016105651855,
0.005438464164733887,
0.005464064121246338,
0.005433343887329102,
0.005442560195922852,
0.005506048202514649,
0.005419007778167725,
0.00546611213684082,
0.005455872058868408,
0.005441535949707031,
0.005437439918518067,
0.005434368133544922,
0.005450751781463623,
0.005469183921813964,
0.005426208019256592,
0.005441535949707031,
0.005489664077758789,
0.005516287803649903,
0.0054568958282470706,
0.005451776027679443,
0.005421055793762207,
0.005761023998260498,
0.005450751781463623
],
"count": 186,
"total": 1.001983071804046,
"mean": 0.005387005762387347,
"p50": 0.0054271998405456545,
"p90": 0.005513216018676758,
"p95": 0.005581311821937562,
"p99": 0.005940326499938965,
"stdev": 0.00014623231917556086,
"stdev_": 2.714538012871095
},
"throughput": {
"unit": "samples/s",
"value": 185.63187865550609
},
"energy": {
"unit": "kWh",
"cpu": 6.42982079466968e-08,
"ram": 3.4986878949306175e-08,
"gpu": 1.2686346485405565e-07,
"total": 2.261485517500586e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4421872.226293135
}
}
}
}