IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d078917 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",
"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": 877.416448,
"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.0013317770957948,
"mean": 0.00663133627215758,
"stdev": 0.00032869613162828185,
"p50": 0.006593535900115967,
"p90": 0.007223296165466309,
"p95": 0.007343616008758545,
"p99": 0.007781376123428345,
"values": [
0.007622655868530274,
0.007482367992401123,
0.0073768959045410155,
0.0072325119972229,
0.007310336112976074,
0.00728985595703125,
0.007223296165466309,
0.007271423816680909,
0.0072468481063842774,
0.007265279769897461,
0.007175168037414551,
0.007292928218841553,
0.007498752117156982,
0.006545407772064209,
0.006367231845855713,
0.006322175979614258,
0.006306816101074219,
0.006345727920532227,
0.006345727920532227,
0.00636518383026123,
0.006304768085479737,
0.006348800182342529,
0.006325247764587402,
0.006318079948425293,
0.006341631889343262,
0.006346752166748047,
0.0063508481979370115,
0.0063272957801818845,
0.006311935901641846,
0.006519807815551758,
0.006335487842559814,
0.0063508481979370115,
0.006300672054290772,
0.006325247764587402,
0.006336512088775635,
0.0063201279640197755,
0.006340608119964599,
0.006291456222534179,
0.0063170561790466305,
0.006296576023101807,
0.006319104194641113,
0.006296576023101807,
0.006358016014099121,
0.0063610877990722655,
0.006302720069885254,
0.006343679904937744,
0.006338560104370118,
0.006299647808074951,
0.006316031932830811,
0.006277120113372803,
0.006339583873748779,
0.006313983917236328,
0.0066119680404663084,
0.006821887969970703,
0.006688767910003662,
0.006658048152923584,
0.00673689603805542,
0.006702079772949219,
0.006669312000274658,
0.006710271835327148,
0.006699007987976074,
0.006647808074951172,
0.006730751991271973,
0.006667263984680176,
0.006662144184112549,
0.006681600093841553,
0.0066744318008422855,
0.006619135856628418,
0.006663167953491211,
0.006635519981384277,
0.006660096168518067,
0.0066641921997070315,
0.006681600093841553,
0.006646783828735352,
0.006688767910003662,
0.006668288230895996,
0.006653952121734619,
0.006700032234191895,
0.0067010560035705566,
0.006662144184112549,
0.006662144184112549,
0.006653952121734619,
0.006656000137329102,
0.0066744318008422855,
0.006657023906707763,
0.006680575847625733,
0.00669593620300293,
0.006657023906707763,
0.006638591766357422,
0.006654975891113281,
0.006667263984680176,
0.006636544227600098,
0.0066744318008422855,
0.006642687797546387,
0.006662144184112549,
0.00667852783203125,
0.006666240215301514,
0.0066304001808166506,
0.0066641921997070315,
0.0066344962120056155,
0.006649856090545654,
0.006656000137329102,
0.007621632099151611,
0.007776256084442139,
0.007786496162414551,
0.007790592193603516,
0.0064839677810668945,
0.006482944011688232,
0.006427648067474365,
0.006391808032989502,
0.006388735771179199,
0.0063170561790466305,
0.00642252779006958,
0.0063170561790466305,
0.006384640216827392,
0.006339583873748779,
0.006302720069885254,
0.006303743839263916,
0.006573056221008301,
0.006557695865631104,
0.006569983959197998,
0.0065710082054138185,
0.006589439868927002,
0.0065474557876586915,
0.00658739185333252,
0.006593535900115967,
0.006602752208709717,
0.006549503803253174,
0.006553599834442139,
0.006582272052764892,
0.006564864158630371,
0.006557695865631104,
0.006620160102844238,
0.007139328002929687,
0.006807551860809326,
0.006626304149627686,
0.006558720111846924,
0.006564864158630371,
0.0066109437942504885,
0.006562816143035889,
0.00657919979095459,
0.006552576065063476,
0.006620160102844238,
0.006550528049468994,
0.006559743881225586,
0.006563839912414551,
0.006560768127441406,
0.006554624080657959,
0.00667142391204834,
0.006586368083953857,
0.0065413122177124024
]
},
"throughput": {
"unit": "samples/s",
"value": 150.79916912050047
},
"energy": {
"unit": "kWh",
"cpu": 7.41030958791574e-08,
"ram": 4.050162078442554e-08,
"gpu": 1.4088205715000146e-07,
"total": 2.554867738135844e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3914096.941588251
}
}
}
}