IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1b32bd2 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 869.462016,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 184,
"total": 1.002372288703918,
"mean": 0.005447675482086513,
"stdev": 0.00036538156088107413,
"p50": 0.005430272102355957,
"p90": 0.005554892826080322,
"p95": 0.005638044691085815,
"p99": 0.00762823682785034,
"values": [
0.008245247840881348,
0.007700479984283447,
0.007613440036773681,
0.006908927917480469,
0.0057487359046936035,
0.005638207912445068,
0.005615615844726562,
0.005637119770050049,
0.006227968215942382,
0.00573747205734253,
0.005208064079284668,
0.005208064079284668,
0.005194752216339111,
0.0051701760292053225,
0.005194752216339111,
0.005183487892150879,
0.005167103767395019,
0.005202943801879883,
0.005214208126068115,
0.0052008957862854,
0.00515993595123291,
0.0051998720169067385,
0.0052111358642578124,
0.0051701760292053225,
0.005191679954528809,
0.005153791904449463,
0.005154816150665284,
0.0051363840103149415,
0.005174272060394287,
0.0051660799980163576,
0.00515174388885498,
0.005163008213043213,
0.005175295829772949,
0.00515993595123291,
0.005152768135070801,
0.005164031982421875,
0.00516812801361084,
0.005164031982421875,
0.005180416107177735,
0.005171199798583984,
0.0051660799980163576,
0.005189631938934326,
0.005194752216339111,
0.00517632007598877,
0.005172224044799805,
0.0051998720169067385,
0.005178368091583252,
0.005175295829772949,
0.005171199798583984,
0.005187583923339844,
0.005164031982421875,
0.005182464122772217,
0.005169151782989502,
0.005179391860961914,
0.005568511962890625,
0.005924863815307617,
0.005986303806304932,
0.005596159934997558,
0.0054906878471374515,
0.005478400230407715,
0.005425151824951172,
0.005453824043273926,
0.005459968090057373,
0.005441535949707031,
0.005430272102355957,
0.005429247856140137,
0.005435391902923584,
0.0054271998405456545,
0.005554175853729248,
0.005413887977600097,
0.005454847812652588,
0.005405695915222168,
0.0054241280555725096,
0.005445631980895996,
0.005412864208221436,
0.005442560195922852,
0.005494783878326416,
0.005424191951751709,
0.0054609918594360355,
0.005560319900512695,
0.005422080039978027,
0.00541593599319458,
0.005476352214813233,
0.005439487934112549,
0.005453824043273926,
0.005437439918518067,
0.005449728012084961,
0.005438464164733887,
0.005426176071166992,
0.005434368133544922,
0.005442560195922852,
0.005430272102355957,
0.0054579200744628905,
0.005451776027679443,
0.005408768177032471,
0.005459968090057373,
0.005489664077758789,
0.0054241280555725096,
0.0054876160621643065,
0.005409791946411133,
0.005431295871734619,
0.0054282240867614745,
0.005469183921813964,
0.005596159934997558,
0.0055552000999450684,
0.005437439918518067,
0.0054876160621643065,
0.0054609918594360355,
0.005463039875030518,
0.005500927925109863,
0.005472256183624268,
0.005482495784759522,
0.005494783878326416,
0.0054906878471374515,
0.005483520030975342,
0.005455872058868408,
0.005426176071166992,
0.005480447769165039,
0.005422080039978027,
0.005421055793762207,
0.005497856140136719,
0.00539958381652832,
0.00541593599319458,
0.005402624130249023,
0.005433343887329102,
0.005414912223815918,
0.005403647899627686,
0.0054579200744628905,
0.0056145920753479005,
0.005426176071166992,
0.005412864208221436,
0.005430272102355957,
0.00546611213684082,
0.005488639831542969,
0.0054609918594360355,
0.005417984008789062,
0.0054241280555725096,
0.005420032024383545,
0.005407743930816651,
0.005441535949707031,
0.005408768177032471,
0.005422080039978027,
0.005476352214813233,
0.005440512180328369,
0.005440512180328369,
0.005430272102355957,
0.005420032024383545,
0.005447679996490478,
0.005557248115539551,
0.005407743930816651,
0.005433343887329102,
0.005455872058868408,
0.005438464164733887,
0.0054241280555725096,
0.005449728012084961,
0.005445631980895996,
0.00546611213684082,
0.005449728012084961,
0.005470208168029785,
0.005430272102355957,
0.005435391902923584,
0.005449728012084961,
0.005459968090057373,
0.005408768177032471,
0.005477375984191894,
0.005445631980895996,
0.005430272102355957,
0.005451776027679443,
0.005432320117950439,
0.005439487934112549,
0.005434400081634522,
0.005406720161437988,
0.005444608211517334,
0.005429247856140137,
0.005400576114654541,
0.005445631980895996,
0.005432320117950439,
0.005404672145843506,
0.005430272102355957,
0.005416959762573242,
0.005402624130249023,
0.0054271998405456545,
0.005441535949707031,
0.00542310380935669
]
},
"throughput": {
"unit": "samples/s",
"value": 183.56453193445182
},
"energy": {
"unit": "kWh",
"cpu": 6.41003660546124e-08,
"ram": 3.4904554469180944e-08,
"gpu": 1.328077526021496e-07,
"total": 2.3181267312594294e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4313827.999630994
}
}
}
}