IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e0b9e23 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.615424,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 151,
"total": 1.0009786562919618,
"mean": 0.006628997723787825,
"stdev": 0.00018558887739111773,
"p50": 0.006573056221008301,
"p90": 0.006719488143920899,
"p95": 0.0070241279602050784,
"p99": 0.0073415679931640625,
"values": [
0.007482367992401123,
0.007017471790313721,
0.0071485438346862796,
0.007057407855987549,
0.007104512214660645,
0.007073791980743408,
0.007030784130096435,
0.006795263767242431,
0.008091648101806641,
0.007003136157989502,
0.007200767993927002,
0.006814720153808594,
0.006614016056060791,
0.006617087841033936,
0.006569983959197998,
0.00657919979095459,
0.006565887928009034,
0.00657919979095459,
0.0065710082054138185,
0.006569983959197998,
0.0065710082054138185,
0.006575104236602783,
0.006552576065063476,
0.006591551780700684,
0.006586368083953857,
0.006565887928009034,
0.006560768127441406,
0.006585343837738037,
0.0065372161865234375,
0.006556672096252441,
0.006564864158630371,
0.006556672096252441,
0.0065771517753601075,
0.006533120155334473,
0.00653926420211792,
0.0065781760215759275,
0.0065443840026855465,
0.006527999877929688,
0.006561791896820069,
0.00652288007736206,
0.006556672096252441,
0.006556672096252441,
0.006546432018280029,
0.006595583915710449,
0.0065771517753601075,
0.006574079990386963,
0.00658022403717041,
0.006573056221008301,
0.006576128005981445,
0.006565887928009034,
0.006532095909118653,
0.006543360233306885,
0.006556672096252441,
0.006564864158630371,
0.00657919979095459,
0.0065669121742248536,
0.006556672096252441,
0.006589439868927002,
0.006553599834442139,
0.00653107213973999,
0.006584320068359375,
0.006552576065063476,
0.006558720111846924,
0.0066344962120056155,
0.006557695865631104,
0.006557695865631104,
0.006571040153503418,
0.0065710082054138185,
0.006576128005981445,
0.006551551818847656,
0.006559743881225586,
0.006569983959197998,
0.006586368083953857,
0.006557695865631104,
0.006565887928009034,
0.006534143924713135,
0.006560768127441406,
0.00669593620300293,
0.006601727962493896,
0.006601727962493896,
0.006608895778656006,
0.006582272052764892,
0.006686719894409179,
0.006690815925598144,
0.0066078720092773435,
0.006680575847625733,
0.006659071922302246,
0.006584320068359375,
0.0066078720092773435,
0.006614016056060791,
0.0065812478065490725,
0.006661151885986328,
0.006598656177520752,
0.006574079990386963,
0.006665215969085693,
0.006646783828735352,
0.006719488143920899,
0.006761472225189209,
0.006825984001159668,
0.006636544227600098,
0.0066826238632202144,
0.006623231887817383,
0.006802432060241699,
0.006605823993682861,
0.006620160102844238,
0.006556704044342041,
0.006583295822143555,
0.006563839912414551,
0.006612991809844971,
0.006616064071655273,
0.006574079990386963,
0.006601727962493896,
0.006609920024871826,
0.006554624080657959,
0.006555647850036621,
0.006603775978088379,
0.0065484800338745115,
0.006638591766357422,
0.006609920024871826,
0.006534143924713135,
0.006560768127441406,
0.006586368083953857,
0.006534143924713135,
0.00657919979095459,
0.00657203197479248,
0.006556672096252441,
0.0065454401969909665,
0.006558752059936524,
0.00653926420211792,
0.006574079990386963,
0.006567935943603515,
0.006557695865631104,
0.006554624080657959,
0.006555647850036621,
0.0065669121742248536,
0.0065474557876586915,
0.006555647850036621,
0.006573056221008301,
0.006567935943603515,
0.006564864158630371,
0.006568960189819336,
0.0065382399559021,
0.006546432018280029,
0.006569983959197998,
0.0065781760215759275,
0.006560768127441406,
0.006569983959197998,
0.0065382399559021,
0.00662937593460083,
0.006527999877929688,
0.006540287971496582
]
},
"throughput": {
"unit": "samples/s",
"value": 150.8523673815048
},
"energy": {
"unit": "kWh",
"cpu": 7.733515373728148e-08,
"ram": 4.22214428648918e-08,
"gpu": 1.5645394911688552e-07,
"total": 2.760105457190588e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3623049.9722204967
}
}
}
}