IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7708a8a verified
raw
history blame
11 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.3872,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 147,
"total": 1.0017925124168394,
"mean": 0.006814915050454691,
"stdev": 0.00023407210271465212,
"p50": 0.006746111869812011,
"p90": 0.007105740928649902,
"p95": 0.007248384046554566,
"p99": 0.007694745664596554,
"values": [
0.007468031883239746,
0.00709119987487793,
0.007303167819976806,
0.007265279769897461,
0.007237631797790528,
0.007252992153167725,
0.007175168037414551,
0.007137279987335205,
0.007063551902770996,
0.0070594558715820314,
0.00745472002029419,
0.007953407764434815,
0.0073400321006774905,
0.007011328220367432,
0.0069959678649902345,
0.006975488185882568,
0.007014400005340577,
0.007054336071014404,
0.00714035177230835,
0.007146495819091797,
0.00709939193725586,
0.007062528133392334,
0.00708403205871582,
0.007104512214660645,
0.007112703800201416,
0.007064576148986816,
0.006852608203887939,
0.006841343879699707,
0.00708403205871582,
0.006740992069244385,
0.006785024166107178,
0.006815743923187256,
0.006778880119323731,
0.0067983360290527345,
0.006725632190704346,
0.006642687797546387,
0.006659071922302246,
0.006729728221893311,
0.006714367866516113,
0.0066641921997070315,
0.006776832103729248,
0.006744063854217529,
0.006756351947784424,
0.0068689918518066405,
0.00683622407913208,
0.0067758078575134275,
0.006842368125915528,
0.00678604793548584,
0.0066979842185974124,
0.006715392112731934,
0.006854656219482422,
0.0067717118263244626,
0.006726655960083008,
0.0067573761940002445,
0.006752255916595459,
0.006683648109436035,
0.006799359798431396,
0.006758399963378906,
0.006725632190704346,
0.006842368125915528,
0.006800384044647217,
0.006654975891113281,
0.00667852783203125,
0.006748159885406494,
0.0067051520347595215,
0.006744063854217529,
0.00672051191329956,
0.006715392112731934,
0.006746111869812011,
0.006789120197296142,
0.006792191982269287,
0.0068351998329162595,
0.00682700777053833,
0.006862847805023193,
0.0066979842185974124,
0.0067717118263244626,
0.006772736072540283,
0.006675456047058105,
0.0068280320167541505,
0.006681600093841553,
0.006540287971496582,
0.00653926420211792,
0.00653004789352417,
0.00653926420211792,
0.006608895778656006,
0.006561791896820069,
0.006385663986206055,
0.00643891191482544,
0.006711296081542969,
0.006837247848510742,
0.006915071964263916,
0.006922239780426025,
0.00690176010131836,
0.006976511955261231,
0.007107583999633789,
0.006919167995452881,
0.006711296081542969,
0.006763519763946534,
0.006788095951080322,
0.006711296081542969,
0.00676966381072998,
0.006782976150512696,
0.00672870397567749,
0.006716415882110595,
0.006746111869812011,
0.006686719894409179,
0.00673689603805542,
0.006675456047058105,
0.007032832145690918,
0.006636544227600098,
0.006751232147216797,
0.007887872219085693,
0.006867968082427979,
0.006638591766357422,
0.006725632190704346,
0.006707200050354004,
0.006651904106140137,
0.006715392112731934,
0.006714367866516113,
0.006621183872222901,
0.006680575847625733,
0.006683648109436035,
0.006638591766357422,
0.006730751991271973,
0.006673408031463623,
0.006620160102844238,
0.0066713600158691405,
0.006653952121734619,
0.006660096168518067,
0.006660096168518067,
0.006658048152923584,
0.006590464115142822,
0.006620160102844238,
0.006647808074951172,
0.006597631931304931,
0.006652927875518798,
0.006652927875518798,
0.006597631931304931,
0.006658048152923584,
0.006638591766357422,
0.006628352165222168,
0.006660096168518067,
0.00669593620300293,
0.006620160102844238,
0.0066641921997070315,
0.006690815925598144,
0.006623231887817383
]
},
"throughput": {
"unit": "samples/s",
"value": 146.736972155402
},
"energy": {
"unit": "kWh",
"cpu": 7.508229647675313e-08,
"ram": 4.104626630325146e-08,
"gpu": 1.4462564312657856e-07,
"total": 2.6075420590658313e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3835029.224258252
}
}
}
}