IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
6c1ef37 verified
raw
history blame
13.5 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.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.33.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.23712,
"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.43712158203125,
"mean": 7.43712158203125,
"stdev": 0.0,
"p50": 7.43712158203125,
"p90": 7.43712158203125,
"p95": 7.43712158203125,
"p99": 7.43712158203125,
"values": [
7.43712158203125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.572267916666594e-07,
"ram": 5.089448121100826e-07,
"gpu": 0.0,
"total": 1.466171603776742e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.839808,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 178,
"total": 1.0022144632339478,
"mean": 0.005630418332774988,
"stdev": 0.00016386550220077133,
"p50": 0.005588479995727539,
"p90": 0.005891379070281982,
"p95": 0.005956607818603516,
"p99": 0.006049443669319151,
"values": [
0.006181888103485108,
0.006161407947540283,
0.006015999794006348,
0.005908480167388916,
0.005956607818603516,
0.005892096042633056,
0.005971968173980713,
0.0059054079055786135,
0.0058787841796875,
0.005884928226470947,
0.005859327793121338,
0.005830656051635743,
0.005883903980255127,
0.005708799839019775,
0.005650432109832764,
0.005669888019561768,
0.00561356782913208,
0.005814271926879883,
0.005855231761932373,
0.005774335861206055,
0.005641215801239013,
0.005761023998260498,
0.005959680080413818,
0.005949440002441406,
0.005956607818603516,
0.005855231761932373,
0.005840896129608154,
0.005764095783233642,
0.005894144058227539,
0.0059064321517944334,
0.005993472099304199,
0.00567193603515625,
0.005679103851318359,
0.005690368175506591,
0.005702655792236328,
0.005679103851318359,
0.005608448028564453,
0.005626880168914795,
0.005658624172210694,
0.0056555519104003905,
0.0057149438858032225,
0.005561344146728516,
0.005486591815948487,
0.005500927925109863,
0.005554175853729248,
0.00556441593170166,
0.005586944103240967,
0.005599232196807862,
0.005659647941589355,
0.0055797758102417,
0.005652480125427246,
0.0056258559226989744,
0.00570470380783081,
0.0057497601509094234,
0.0057118721008300784,
0.005730303764343261,
0.005696512222290039,
0.005669888019561768,
0.005661695957183838,
0.005537792205810547,
0.005767231941223145,
0.005653503894805908,
0.005890048027038574,
0.005590015888214111,
0.005637119770050049,
0.005627903938293457,
0.005603328227996827,
0.005573631763458252,
0.005505023956298828,
0.005593088150024414,
0.005544960021972656,
0.005559296131134033,
0.005760000228881836,
0.00557260799407959,
0.005650432109832764,
0.0056555519104003905,
0.005645311832427978,
0.005633024215698243,
0.0055848960876464845,
0.005703680038452149,
0.005569536209106446,
0.005746687889099121,
0.005909503936767578,
0.005891071796417236,
0.0060026879310607914,
0.005880832195281982,
0.005703680038452149,
0.005640192031860352,
0.005735424041748047,
0.005567488193511963,
0.005673984050750733,
0.005645311832427978,
0.005971968173980713,
0.005540863990783691,
0.005606400012969971,
0.005609471797943116,
0.005497856140136719,
0.00547430419921875,
0.005483520030975342,
0.005323775768280029,
0.005332992076873779,
0.00552243185043335,
0.005484543800354004,
0.005315584182739258,
0.005414912223815918,
0.005547008037567139,
0.00551526403427124,
0.005478400230407715,
0.00566476821899414,
0.005716991901397705,
0.00566476821899414,
0.00563097620010376,
0.005623807907104492,
0.005681151866912842,
0.0059269118309021,
0.00572108793258667,
0.005590015888214111,
0.005529600143432617,
0.005585919857025146,
0.005571584224700928,
0.005517312049865723,
0.005559296131134033,
0.005525504112243652,
0.005513216018676758,
0.005530623912811279,
0.005481472015380859,
0.0055623679161071774,
0.005463039875030518,
0.00547430419921875,
0.005496831893920898,
0.005469183921813964,
0.005454847812652588,
0.005534719944000244,
0.005450751781463623,
0.005506048202514649,
0.00546611213684082,
0.005699584007263184,
0.005586944103240967,
0.005496831893920898,
0.005479423999786377,
0.005480447769165039,
0.005463039875030518,
0.005549056053161621,
0.005443583965301513,
0.005473279953002929,
0.005512191772460938,
0.005480447769165039,
0.005488639831542969,
0.005525504112243652,
0.0054568958282470706,
0.005505023956298828,
0.005470208168029785,
0.005453824043273926,
0.00550707197189331,
0.005467135906219483,
0.005451776027679443,
0.005547008037567139,
0.0054917120933532714,
0.005502975940704345,
0.005455872058868408,
0.005472256183624268,
0.005548031806945801,
0.005484543800354004,
0.005481472015380859,
0.0055101442337036136,
0.005481472015380859,
0.00552243185043335,
0.005468160152435303,
0.005470208168029785,
0.005536767959594726,
0.0055101442337036136,
0.005459968090057373,
0.005505023956298828,
0.005480447769165039,
0.00555622386932373,
0.005493760108947754,
0.005511168003082275,
0.00552243185043335
]
},
"throughput": {
"unit": "samples/s",
"value": 177.60669650049672
},
"energy": {
"unit": "kWh",
"cpu": 6.359209551767432e-08,
"ram": 3.47671947685401e-08,
"gpu": 1.2941632456684655e-07,
"total": 2.2777561485306098e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4390285.591568282
}
}
}
}