IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
dbd740b verified
raw
history blame
11.3 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",
"model": "google-bert/bert-base-uncased",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.51712,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 153,
"total": 1.0063328976631163,
"mean": 0.006577339200412525,
"stdev": 0.00024066976510011865,
"p50": 0.006423552036285401,
"p90": 0.006834790325164795,
"p95": 0.0069441535949707036,
"p99": 0.007211155185699463,
"values": [
0.007202784061431885,
0.006883327960968018,
0.007008255958557129,
0.006867968082427979,
0.006966271877288818,
0.006929408073425293,
0.006918144226074219,
0.006808576107025147,
0.006903808116912841,
0.0068249602317810056,
0.007703551769256592,
0.007068672180175781,
0.00713318395614624,
0.0064102401733398436,
0.006403071880340576,
0.006428671836853027,
0.00638976001739502,
0.006375423908233643,
0.0067573761940002445,
0.006626304149627686,
0.006425600051879882,
0.0063836159706115725,
0.006470655918121338,
0.006418432235717773,
0.006396927833557129,
0.006387712001800537,
0.006384640216827392,
0.006369279861450195,
0.00643993616104126,
0.006451200008392334,
0.006482944011688232,
0.006386688232421875,
0.006385663986206055,
0.006412288188934326,
0.006468607902526856,
0.006377471923828125,
0.00638259220123291,
0.006359039783477783,
0.006385663986206055,
0.006358016014099121,
0.006372352123260498,
0.00637337589263916,
0.00637440013885498,
0.0066304001808166506,
0.006412288188934326,
0.006363135814666748,
0.006393856048583985,
0.006392831802368164,
0.006360064029693604,
0.006400000095367431,
0.006360064029693604,
0.006385663986206055,
0.006347775936126709,
0.00636518383026123,
0.006362112045288086,
0.006403071880340576,
0.006384640216827392,
0.006372352123260498,
0.0064174079895019534,
0.006375423908233643,
0.006433792114257812,
0.006391808032989502,
0.006363135814666748,
0.006385663986206055,
0.006377471923828125,
0.006412288188934326,
0.006400000095367431,
0.00636518383026123,
0.006391808032989502,
0.006355967998504639,
0.006400000095367431,
0.006411263942718506,
0.006352896213531494,
0.006375423908233643,
0.006367231845855713,
0.0064102401733398436,
0.006396927833557129,
0.006360064029693604,
0.006384640216827392,
0.006358016014099121,
0.006372352123260498,
0.006404096126556396,
0.006453248023986816,
0.006406144142150879,
0.006363135814666748,
0.006423552036285401,
0.00638976001739502,
0.0063569917678833006,
0.006402048110961914,
0.006342656135559082,
0.006392831802368164,
0.0063610877990722655,
0.006371327877044678,
0.006364160060882569,
0.006363135814666748,
0.006377471923828125,
0.00636518383026123,
0.006359039783477783,
0.006379519939422608,
0.006375423908233643,
0.006457344055175781,
0.00637337589263916,
0.006364160060882569,
0.006624256134033203,
0.0068689918518066405,
0.006754303932189941,
0.006814720153808594,
0.006818816184997558,
0.006772736072540283,
0.006812672138214112,
0.006780928134918213,
0.006765567779541016,
0.006816768169403077,
0.006802432060241699,
0.00673689603805542,
0.0072202239036560055,
0.006874112129211426,
0.006763519763946534,
0.0067983360290527345,
0.006779903888702392,
0.006820864200592041,
0.006781951904296875,
0.006762495994567871,
0.006796288013458252,
0.0067573761940002445,
0.0067573761940002445,
0.006790143966674805,
0.006801407814025879,
0.006758399963378906,
0.006818816184997558,
0.006781951904296875,
0.006732800006866455,
0.006975488185882568,
0.006818816184997558,
0.00677785587310791,
0.0067645440101623535,
0.006785024166107178,
0.006763519763946534,
0.006762495994567871,
0.006770688056945801,
0.006758399963378906,
0.006748159885406494,
0.006774784088134766,
0.006767615795135498,
0.006729728221893311,
0.006719488143920899,
0.006746111869812011,
0.006725632190704346,
0.00674508810043335,
0.006767615795135498,
0.006837247848510742,
0.006654975891113281,
0.00667955207824707
]
},
"throughput": {
"unit": "samples/s",
"value": 152.03716419814276
},
"energy": {
"unit": "kWh",
"cpu": 7.878905648778168e-08,
"ram": 4.3061924327578505e-08,
"gpu": 1.431310931655629e-07,
"total": 2.649820739809231e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3773840.1884196633
}
}
}
}