IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
42e570e verified
raw
history blame
13.6 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.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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 794.095616,
"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.82314501953125,
"mean": 7.82314501953125,
"stdev": 0.0,
"p50": 7.82314501953125,
"p90": 7.82314501953125,
"p95": 7.82314501953125,
"p99": 7.82314501953125,
"values": [
7.82314501953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.351822659721639e-07,
"ram": 4.909781620763816e-07,
"gpu": 1.6938902440001395e-06,
"total": 3.1200506720486847e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1049.571328,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 181,
"total": 1.0001388149261472,
"mean": 0.005525628811746672,
"stdev": 0.00023689074629924987,
"p50": 0.005458943843841553,
"p90": 0.005803008079528809,
"p95": 0.005980160236358643,
"p99": 0.0064466944694519,
"values": [
0.005987328052520752,
0.006107135772705078,
0.005681151866912842,
0.00570470380783081,
0.005604351997375488,
0.005586944103240967,
0.005631999969482422,
0.005566463947296142,
0.005599232196807862,
0.005493760108947754,
0.005963776111602783,
0.005833727836608887,
0.005792768001556397,
0.005781504154205322,
0.005797887802124023,
0.005808127880096436,
0.00577023983001709,
0.005476352214813233,
0.005408768177032471,
0.0053340158462524415,
0.005345280170440674,
0.005414912223815918,
0.005440512180328369,
0.005473279953002929,
0.005527584075927734,
0.005518335819244385,
0.005582848072052002,
0.00553984022140503,
0.005538815975189209,
0.005458943843841553,
0.005425151824951172,
0.005447679996490478,
0.005473279953002929,
0.005560319900512695,
0.005532671928405761,
0.005495808124542236,
0.005550079822540284,
0.005483520030975342,
0.005505023956298828,
0.005506048202514649,
0.005445631980895996,
0.005458943843841553,
0.005502975940704345,
0.005475327968597412,
0.0055552000999450684,
0.005458943843841553,
0.005489664077758789,
0.005355519771575928,
0.005305344104766845,
0.00535859203338623,
0.005441535949707031,
0.005421055793762207,
0.005453824043273926,
0.005479423999786377,
0.0054282240867614745,
0.005478400230407715,
0.005451776027679443,
0.005411839962005615,
0.005478400230407715,
0.005469183921813964,
0.005529600143432617,
0.00552243185043335,
0.0054988799095153805,
0.0055244798660278325,
0.005532671928405761,
0.005455872058868408,
0.005485568046569824,
0.005410816192626953,
0.005486591815948487,
0.005533696174621582,
0.005489664077758789,
0.005469183921813964,
0.005472256183624268,
0.005448703765869141,
0.005480447769165039,
0.005493760108947754,
0.005378047943115235,
0.005362688064575195,
0.005380095958709717,
0.005414912223815918,
0.005442560195922852,
0.005422111988067627,
0.005571584224700928,
0.005441535949707031,
0.00535756778717041,
0.005405695915222168,
0.005451776027679443,
0.0053944320678710935,
0.005436416149139404,
0.005395455837249756,
0.005388288021087646,
0.005425151824951172,
0.006003712177276611,
0.005773312091827393,
0.006118400096893311,
0.006816768169403077,
0.006022143840789795,
0.0058388481140136715,
0.005803008079528809,
0.005832704067230224,
0.005790719985961914,
0.005859327793121338,
0.005831679821014404,
0.0067686400413513184,
0.006366208076477051,
0.006188032150268555,
0.005797887802124023,
0.00576204776763916,
0.005815296173095703,
0.005703680038452149,
0.005649407863616943,
0.005492735862731934,
0.005542912006378174,
0.005601280212402344,
0.00537395191192627,
0.005188608169555664,
0.0051333122253417966,
0.005137407779693603,
0.00516812801361084,
0.005516287803649903,
0.005482495784759522,
0.0054988799095153805,
0.005600255966186523,
0.0055582718849182125,
0.005594111919403076,
0.0056217598915100095,
0.005783552169799804,
0.005626880168914795,
0.005980160236358643,
0.005606400012969971,
0.005212160110473632,
0.005202943801879883,
0.005178368091583252,
0.0051701760292053225,
0.005227519989013672,
0.005154816150665284,
0.005178368091583252,
0.005337088108062744,
0.005451776027679443,
0.005416959762573242,
0.005430272102355957,
0.00538316822052002,
0.0055552000999450684,
0.005453824043273926,
0.0054568958282470706,
0.005419007778167725,
0.005430272102355957,
0.0053821439743042,
0.005419007778167725,
0.005400576114654541,
0.005411839962005615,
0.0054241280555725096,
0.005449728012084961,
0.005398528099060058,
0.005454847812652588,
0.005396480083465576,
0.005419007778167725,
0.005407743930816651,
0.00542310380935669,
0.005405695915222168,
0.005421055793762207,
0.005417984008789062,
0.005429247856140137,
0.00542310380935669,
0.005413887977600097,
0.005412864208221436,
0.005422080039978027,
0.005391359806060791,
0.005445631980895996,
0.005389311790466309,
0.005413887977600097,
0.00541593599319458,
0.005406720161437988,
0.005395455837249756,
0.005435391902923584,
0.00537395191192627,
0.005411839962005615,
0.005410816192626953,
0.005402624130249023,
0.0053821439743042,
0.005449728012084961
]
},
"throughput": {
"unit": "samples/s",
"value": 180.97487798567784
},
"energy": {
"unit": "kWh",
"cpu": 6.314349906545787e-08,
"ram": 3.4518508942727886e-08,
"gpu": 1.2146286312766005e-07,
"total": 2.191248711358458e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4563607.931936001
}
}
}
}