IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d191ed0 verified
raw
history blame
11.2 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": 879.624192,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 149,
"total": 1.0000448341369628,
"mean": 0.006711710296221228,
"stdev": 0.00027487186150765313,
"p50": 0.006619135856628418,
"p90": 0.006980403327941895,
"p95": 0.007164108848571777,
"p99": 0.00775643138885499,
"values": [
0.00821452808380127,
0.007010303974151612,
0.007207935810089112,
0.007260159969329834,
0.007166975975036621,
0.0069918718338012695,
0.008233983993530274,
0.00719155216217041,
0.006870016098022461,
0.006856704235076904,
0.006873087882995605,
0.006895616054534912,
0.006619135856628418,
0.006845439910888672,
0.006899712085723877,
0.006773759841918945,
0.006842368125915528,
0.006873087882995605,
0.0067686400413513184,
0.0066979842185974124,
0.006632448196411133,
0.006692863941192627,
0.006966271877288818,
0.006916096210479736,
0.006840320110321045,
0.006825984001159668,
0.007195648193359375,
0.007058432102203369,
0.006919167995452881,
0.006853631973266602,
0.006960127830505371,
0.007015423774719238,
0.006905856132507324,
0.006552576065063476,
0.006595583915710449,
0.006599679946899414,
0.006567935943603515,
0.006564864158630371,
0.006481919765472412,
0.0064880638122558594,
0.006584320068359375,
0.006423552036285401,
0.006871039867401123,
0.006624256134033203,
0.006852608203887939,
0.006974463939666748,
0.0070266880989074704,
0.00692633581161499,
0.0068853759765625,
0.00694271993637085,
0.006933504104614257,
0.006759424209594727,
0.006617087841033936,
0.006615039825439453,
0.006559872150421143,
0.006565887928009034,
0.006592512130737305,
0.006633471965789795,
0.006509568214416504,
0.006556672096252441,
0.006915071964263916,
0.006908927917480469,
0.006977536201477051,
0.006880256175994873,
0.0065474557876586915,
0.006495232105255127,
0.006573056221008301,
0.006511616230010986,
0.006561791896820069,
0.0065382399559021,
0.006567935943603515,
0.00658841609954834,
0.006625279903411865,
0.006729728221893311,
0.0067420158386230465,
0.006765696048736572,
0.007159808158874512,
0.006971392154693603,
0.00688640022277832,
0.006804480075836182,
0.006792191982269287,
0.0067983360290527345,
0.006819839954376221,
0.006772736072540283,
0.00672870397567749,
0.006615039825439453,
0.006687744140625,
0.006743040084838867,
0.0066406397819519045,
0.006489088058471679,
0.006490111827850342,
0.0067348480224609375,
0.0068321280479431154,
0.007080959796905518,
0.006904831886291504,
0.00657919979095459,
0.006743040084838867,
0.006953983783721924,
0.006598656177520752,
0.006520832061767578,
0.006643712043762207,
0.006465536117553711,
0.006532095909118653,
0.006456319808959961,
0.006543360233306885,
0.006593535900115967,
0.006859776020050049,
0.0066416640281677245,
0.006462463855743408,
0.006445055961608887,
0.006456319808959961,
0.006495232105255127,
0.006591487884521485,
0.006440959930419922,
0.006451200008392334,
0.006455296039581298,
0.006532095909118653,
0.006452223777770996,
0.0065146880149841305,
0.006496255874633789,
0.006469632148742676,
0.006486015796661377,
0.006453248023986816,
0.006500383853912353,
0.006510591983795166,
0.0064839677810668945,
0.00648089599609375,
0.006512639999389648,
0.006567935943603515,
0.0065710082054138185,
0.006453248023986816,
0.006450175762176514,
0.006461440086364746,
0.006408192157745361,
0.006479872226715088,
0.006535168170928955,
0.0066938881874084475,
0.00719155216217041,
0.006536191940307618,
0.006433792114257812,
0.006479872226715088,
0.006384640216827392,
0.006471680164337158,
0.006467584133148193,
0.006416384220123291,
0.0066007041931152345,
0.006497280120849609,
0.006560768127441406,
0.006500351905822754
]
},
"throughput": {
"unit": "samples/s",
"value": 148.99332001308397
},
"energy": {
"unit": "kWh",
"cpu": 7.546147659832252e-08,
"ram": 4.125286848034048e-08,
"gpu": 1.4089890960508877e-07,
"total": 2.5761325468375177e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3881787.8421186386
}
}
}
}