IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a4ef7e3 verified
raw
history blame
13.4 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": 783.31904,
"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.34618017578125,
"mean": 7.34618017578125,
"stdev": 0.0,
"p50": 7.34618017578125,
"p90": 7.34618017578125,
"p95": 7.34618017578125,
"p99": 7.34618017578125,
"values": [
7.34618017578125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.451944277775701e-07,
"ram": 5.015806565706032e-07,
"gpu": 1.8850015079999692e-06,
"total": 3.3317765923481426e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.921728,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 177,
"total": 1.0040874891281126,
"mean": 0.005672810673040186,
"stdev": 0.0002885146376968533,
"p50": 0.005634047985076904,
"p90": 0.005983232021331787,
"p95": 0.006071987247467041,
"p99": 0.0066531328582763675,
"values": [
0.005853184223175049,
0.006032383918762207,
0.005833727836608887,
0.005815328121185303,
0.005754879951477051,
0.005725183963775635,
0.005823488235473633,
0.005703680038452149,
0.005789696216583252,
0.005658624172210694,
0.005739520072937012,
0.00561356782913208,
0.0056217598915100095,
0.005686272144317627,
0.0056852478981018065,
0.005658624172210694,
0.005553152084350586,
0.005532671928405761,
0.005543935775756836,
0.005568511962890625,
0.005620736122131348,
0.005610496044158936,
0.005681215763092041,
0.005727231979370117,
0.005670911788940429,
0.005681151866912842,
0.005649407863616943,
0.005588992118835449,
0.005570559978485107,
0.005631999969482422,
0.005725183963775635,
0.005634047985076904,
0.005695487976074219,
0.005639167785644531,
0.005638144016265869,
0.00572211217880249,
0.005633024215698243,
0.005649407863616943,
0.005623807907104492,
0.005629951953887939,
0.005669888019561768,
0.005617663860321045,
0.005605375766754151,
0.005480447769165039,
0.0055511040687561035,
0.005542912006378174,
0.0055316481590271,
0.005598207950592041,
0.0055808000564575196,
0.005624832153320313,
0.005653503894805908,
0.005587967872619629,
0.006304768085479737,
0.005962751865386963,
0.006046720027923584,
0.005949440002441406,
0.006074368000030517,
0.0059985918998718265,
0.005990399837493897,
0.005867519855499268,
0.005890048027038574,
0.005956607818603516,
0.005983232021331787,
0.00586956787109375,
0.0059361281394958495,
0.006005760192871094,
0.0059361281394958495,
0.005826560020446778,
0.005824512004852295,
0.005868544101715088,
0.006271999835968017,
0.006113279819488526,
0.005983232021331787,
0.005882880210876465,
0.005866496086120605,
0.005816319942474365,
0.005903359889984131,
0.005859327793121338,
0.005910528182983398,
0.005860352039337159,
0.00586137580871582,
0.00591871976852417,
0.005958655834197998,
0.006071392059326172,
0.005934080123901367,
0.006007808208465576,
0.005948416233062744,
0.005963776111602783,
0.005888000011444092,
0.005950463771820068,
0.005889023780822754,
0.0060026879310607914,
0.0063805441856384275,
0.0059064321517944334,
0.005980160236358643,
0.005876736164093017,
0.005787648200988769,
0.005829631805419922,
0.005669888019561768,
0.005705728054046631,
0.00581324815750122,
0.005822463989257813,
0.005667840003967285,
0.005526527881622314,
0.0055848960876464845,
0.005549056053161621,
0.005598207950592041,
0.00563097620010376,
0.005837823867797852,
0.005852159976959229,
0.005777408123016357,
0.005873663902282715,
0.0059023361206054685,
0.006404096126556396,
0.00669593620300293,
0.006639616012573242,
0.007023615837097168,
0.005787648200988769,
0.005525504112243652,
0.005384191989898681,
0.005385216236114502,
0.005419007778167725,
0.00537497615814209,
0.005370880126953125,
0.00542310380935669,
0.005343232154846191,
0.00538316822052002,
0.005409791946411133,
0.005262335777282715,
0.0052070398330688475,
0.005228544235229492,
0.005194752216339111,
0.005194752216339111,
0.0052930560111999515,
0.005242879867553711,
0.00520908784866333,
0.005243904113769531,
0.005269504070281982,
0.005371903896331787,
0.005441535949707031,
0.005402624130249023,
0.005402624130249023,
0.005430272102355957,
0.005385216236114502,
0.005400576114654541,
0.005408768177032471,
0.005398528099060058,
0.005405695915222168,
0.005425151824951172,
0.00536678409576416,
0.00542310380935669,
0.005406720161437988,
0.005408768177032471,
0.005425151824951172,
0.005431295871734619,
0.00538316822052002,
0.005468160152435303,
0.005433343887329102,
0.005388288021087646,
0.0054241280555725096,
0.005389311790466309,
0.005371903896331787,
0.005448703765869141,
0.005384191989898681,
0.005407743930816651,
0.005412864208221436,
0.005413887977600097,
0.005434368133544922,
0.005481472015380859,
0.005421055793762207,
0.005445631980895996,
0.00541593599319458,
0.005444608211517334,
0.005453824043273926,
0.005391359806060791,
0.005384191989898681,
0.005450751781463623
]
},
"throughput": {
"unit": "samples/s",
"value": 176.2794596252721
},
"energy": {
"unit": "kWh",
"cpu": 6.52508535752419e-08,
"ram": 3.565879753784466e-08,
"gpu": 1.4107001517582276e-07,
"total": 2.4197966628890934e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4132578.63909135
}
}
}
}