IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b238ec9 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.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.613952,
"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.3489521484375,
"mean": 7.3489521484375,
"stdev": 0.0,
"p50": 7.3489521484375,
"p90": 7.3489521484375,
"p95": 7.3489521484375,
"p99": 7.3489521484375,
"values": [
7.3489521484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.250867097217884e-07,
"ram": 4.904183485751343e-07,
"gpu": 1.5433345680001577e-06,
"total": 2.95883962629708e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1039.081472,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 179,
"total": 0.9998848662376405,
"mean": 0.0055859489733946395,
"stdev": 0.0002849079312478248,
"p50": 0.005628928184509278,
"p90": 0.005903769493103028,
"p95": 0.005967155122756958,
"p99": 0.006121062307357788,
"values": [
0.006091775894165039,
0.0063539199829101565,
0.006034431934356689,
0.0059699201583862304,
0.006003712177276611,
0.005953536033630371,
0.0059361281394958495,
0.005946368217468262,
0.005866496086120605,
0.005897215843200684,
0.005864448070526123,
0.00586956787109375,
0.005847040176391601,
0.005851136207580566,
0.006038527965545654,
0.005815296173095703,
0.005810175895690918,
0.005773312091827393,
0.0058419198989868165,
0.005631999969482422,
0.005853184223175049,
0.005966847896575928,
0.0059054079055786135,
0.005847040176391601,
0.006044672012329101,
0.005853184223175049,
0.005826560020446778,
0.0057825279235839844,
0.005859327793121338,
0.005903359889984131,
0.005895167827606201,
0.005921792030334472,
0.005684224128723145,
0.005656576156616211,
0.005636096000671387,
0.005599232196807862,
0.005695487976074219,
0.005587967872619629,
0.005652480125427246,
0.005627903938293457,
0.005656576156616211,
0.005561344146728516,
0.005501952171325684,
0.005478400230407715,
0.005493760108947754,
0.005497856140136719,
0.0055808000564575196,
0.0055316481590271,
0.005571584224700928,
0.005599232196807862,
0.005560319900512695,
0.005743616104125977,
0.005672959804534912,
0.005733376026153565,
0.005645311832427978,
0.00568012809753418,
0.005752831935882568,
0.0058215041160583495,
0.005849088191986084,
0.005750783920288086,
0.0058757119178771975,
0.005657599925994873,
0.005867519855499268,
0.005852159976959229,
0.005850111961364746,
0.005848063945770264,
0.005837823867797852,
0.00582144021987915,
0.005756927967071533,
0.005823488235473633,
0.005568511962890625,
0.00553984022140503,
0.0056483840942382815,
0.005557248115539551,
0.005541888236999512,
0.00550707197189331,
0.0055552000999450684,
0.005628928184509278,
0.005929984092712402,
0.005796864032745362,
0.005775360107421875,
0.005819392204284668,
0.00562278413772583,
0.005833727836608887,
0.005985280036926269,
0.005942272186279297,
0.00587775993347168,
0.005911551952362061,
0.005863423824310303,
0.005826560020446778,
0.005889023780822754,
0.0058716158866882326,
0.0058122239112854005,
0.005705728054046631,
0.005846015930175781,
0.00622489595413208,
0.005814271926879883,
0.0057292799949646,
0.00572108793258667,
0.00572108793258667,
0.005785600185394287,
0.005758975982666016,
0.005653503894805908,
0.005509119987487793,
0.005296127796173096,
0.005245952129364013,
0.0052899842262268066,
0.005306367874145508,
0.005609471797943116,
0.005766143798828125,
0.005702655792236328,
0.005769216060638428,
0.005792768001556397,
0.005857279777526855,
0.00587059211730957,
0.00566476821899414,
0.005527552127838135,
0.005467135906219483,
0.005538815975189209,
0.005505023956298828,
0.005544960021972656,
0.0055203838348388675,
0.005412864208221436,
0.00547430419921875,
0.005401599884033203,
0.00537395191192627,
0.005441535949707031,
0.005386240005493164,
0.005411839962005615,
0.005438464164733887,
0.005413887977600097,
0.005384191989898681,
0.005400576114654541,
0.005388288021087646,
0.005393407821655274,
0.005348351955413819,
0.00520908784866333,
0.005188608169555664,
0.005203968048095703,
0.005181439876556396,
0.005227519989013672,
0.00516812801361084,
0.005172224044799805,
0.005158912181854248,
0.005185535907745361,
0.005155839920043945,
0.005212160110473632,
0.00515174388885498,
0.005203968048095703,
0.005153791904449463,
0.005219327926635742,
0.005173247814178467,
0.005178368091583252,
0.005171199798583984,
0.005183487892150879,
0.005253119945526123,
0.005195775985717774,
0.005171199798583984,
0.005189631938934326,
0.005181439876556396,
0.005187583923339844,
0.00522547197341919,
0.005193727970123291,
0.005214208126068115,
0.005171199798583984,
0.005256192207336426,
0.0051968002319335935,
0.00516812801361084,
0.0052336640357971195,
0.005182464122772217,
0.0051660799980163576,
0.005191679954528809,
0.0052070398330688475,
0.00516096019744873,
0.005188608169555664,
0.005171199798583984,
0.00516812801361084,
0.0051333122253417966,
0.005189631938934326
]
},
"throughput": {
"unit": "samples/s",
"value": 179.02061131652079
},
"energy": {
"unit": "kWh",
"cpu": 6.25029363559941e-08,
"ram": 3.416677223767671e-08,
"gpu": 1.2001617788421223e-07,
"total": 2.1668588647788304e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4614975.235602478
}
}
}
}