IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cec9ef1 verified
raw
history blame
13.7 kB
{
"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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 782.82752,
"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.3679033203125,
"mean": 7.3679033203125,
"stdev": 0.0,
"p50": 7.3679033203125,
"p90": 7.3679033203125,
"p95": 7.3679033203125,
"p99": 7.3679033203125,
"values": [
7.3679033203125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.227091416663866e-07,
"ram": 4.901271530796628e-07,
"gpu": 1.6072235079996923e-06,
"total": 3.020059802745742e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.4384,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 184,
"total": 1.0019257936477663,
"mean": 0.005445248878520468,
"stdev": 0.00023546734354768986,
"p50": 0.00544870400428772,
"p90": 0.005599027061462403,
"p95": 0.0058495486259460445,
"p99": 0.006360279030799866,
"values": [
0.0057825279235839844,
0.00586137580871582,
0.005750783920288086,
0.005638144016265869,
0.005653503894805908,
0.005682176113128662,
0.005609471797943116,
0.006285312175750732,
0.005574656009674072,
0.005192704200744629,
0.00522649621963501,
0.005206016063690186,
0.005224448204040527,
0.005208064079284668,
0.005174272060394287,
0.005156864166259765,
0.005190656185150146,
0.005191679954528809,
0.005158912181854248,
0.00516096019744873,
0.005191679954528809,
0.005150720119476319,
0.005188608169555664,
0.0051968002319335935,
0.0051773438453674315,
0.00515993595123291,
0.005210112094879151,
0.005197824001312256,
0.0051660799980163576,
0.005157887935638428,
0.0052070398330688475,
0.005169151782989502,
0.0051701760292053225,
0.0052111358642578124,
0.00517632007598877,
0.005156864166259765,
0.00516812801361084,
0.005182464122772217,
0.0051660799980163576,
0.005157887935638428,
0.005197824001312256,
0.005148672103881836,
0.005163008213043213,
0.005198847770690918,
0.005186560153961181,
0.005185535907745361,
0.0051701760292053225,
0.005179391860961914,
0.005156864166259765,
0.0051701760292053225,
0.005187583923339844,
0.00515993595123291,
0.005157887935638428,
0.0052367358207702636,
0.005697535991668701,
0.005693439960479736,
0.005668863773345947,
0.005441535949707031,
0.0054579200744628905,
0.005481472015380859,
0.005447679996490478,
0.005462016105651855,
0.005451776027679443,
0.005426176071166992,
0.0054917120933532714,
0.005405695915222168,
0.005438464164733887,
0.005483520030975342,
0.005440512180328369,
0.005399551868438721,
0.005442560195922852,
0.005408768177032471,
0.005462016105651855,
0.005445631980895996,
0.005431295871734619,
0.005474336147308349,
0.005429247856140137,
0.005411839962005615,
0.005470208168029785,
0.005437439918518067,
0.005434368133544922,
0.005459968090057373,
0.005431295871734619,
0.0054568958282470706,
0.005452799797058106,
0.0054395198822021484,
0.005475327968597412,
0.005467135906219483,
0.005481472015380859,
0.005462016105651855,
0.00541593599319458,
0.005442560195922852,
0.005944320201873779,
0.005440512180328369,
0.0054906878471374515,
0.005475327968597412,
0.005465087890625,
0.005473279953002929,
0.0054241280555725096,
0.0054282240867614745,
0.0054906878471374515,
0.0054282240867614745,
0.0055101442337036136,
0.005442560195922852,
0.005452799797058106,
0.005537792205810547,
0.005452799797058106,
0.005410816192626953,
0.005488639831542969,
0.00541593599319458,
0.005405695915222168,
0.005442560195922852,
0.005426176071166992,
0.005425151824951172,
0.005447679996490478,
0.005399551868438721,
0.00550707197189331,
0.005412864208221436,
0.005443583965301513,
0.005458943843841553,
0.005437439918518067,
0.005406720161437988,
0.005468160152435303,
0.005405695915222168,
0.005447679996490478,
0.005413887977600097,
0.005442560195922852,
0.005437439918518067,
0.006061056137084961,
0.006371327877044678,
0.006288383960723877,
0.006358016014099121,
0.006299647808074951,
0.006310912132263183,
0.0064031357765197755,
0.005574656009674072,
0.005567488193511963,
0.005565440177917481,
0.005518335819244385,
0.0055244798660278325,
0.005505023956298828,
0.005452799797058106,
0.005529600143432617,
0.00551423978805542,
0.005480447769165039,
0.00547430419921875,
0.005476352214813233,
0.005462016105651855,
0.005477375984191894,
0.005441535949707031,
0.005486591815948487,
0.005452799797058106,
0.005451776027679443,
0.0055101442337036136,
0.00547430419921875,
0.005416959762573242,
0.005501952171325684,
0.005433343887329102,
0.005465087890625,
0.005449728012084961,
0.005450751781463623,
0.005492735862731934,
0.005459968090057373,
0.0054579200744628905,
0.0054988799095153805,
0.005439487934112549,
0.005492735862731934,
0.005441567897796631,
0.005481472015380859,
0.0054579200744628905,
0.005465087890625,
0.0054579200744628905,
0.00552345609664917,
0.005452799797058106,
0.005464064121246338,
0.005481472015380859,
0.005462016105651855,
0.00547430419921875,
0.005479423999786377,
0.005445631980895996,
0.005497856140136719,
0.005475327968597412,
0.005453824043273926,
0.005508096218109131
]
},
"throughput": {
"unit": "samples/s",
"value": 183.6463350545165
},
"energy": {
"unit": "kWh",
"cpu": 6.081150743945734e-08,
"ram": 3.324804105732096e-08,
"gpu": 1.2353856036922997e-07,
"total": 2.1759810886600824e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4595628.175315514
}
}
}
}