
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
26a7bb6
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"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": {}, | |
"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, | |
"memory": true, | |
"latency": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 792.49408, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.94792431640625, | |
"mean": 7.94792431640625, | |
"stdev": 0.0, | |
"p50": 7.94792431640625, | |
"p90": 7.94792431640625, | |
"p95": 7.94792431640625, | |
"p99": 7.94792431640625, | |
"values": [ | |
7.94792431640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.4111413083334002e-06, | |
"ram": 1.28676503753666e-06, | |
"gpu": 3.433891636000011e-06, | |
"total": 7.131797981870071e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1047.965696, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 178, | |
"total": 1.0014351992607118, | |
"mean": 0.005626040445284896, | |
"stdev": 0.00017218674024961219, | |
"p50": 0.005602816104888916, | |
"p90": 0.005833011198043823, | |
"p95": 0.005863014459609985, | |
"p99": 0.005993963422775266, | |
"values": [ | |
0.005798912048339844, | |
0.005928959846496582, | |
0.005808127880096436, | |
0.005689343929290771, | |
0.005735424041748047, | |
0.005660672187805176, | |
0.005617663860321045, | |
0.005609471797943116, | |
0.005569536209106446, | |
0.005728256225585937, | |
0.005577727794647217, | |
0.005665791988372803, | |
0.005536767959594726, | |
0.0056145920753479005, | |
0.005604351997375488, | |
0.005569536209106446, | |
0.0056514558792114256, | |
0.0055214080810546875, | |
0.00552345609664917, | |
0.0054568958282470706, | |
0.005455872058868408, | |
0.005504000186920166, | |
0.00556441593170166, | |
0.005547008037567139, | |
0.0056483840942382815, | |
0.005615615844726562, | |
0.005642240047454834, | |
0.005635072231292724, | |
0.005547008037567139, | |
0.005609471797943116, | |
0.005475327968597412, | |
0.005517312049865723, | |
0.0055552000999450684, | |
0.005578752040863037, | |
0.005647359848022461, | |
0.005516287803649903, | |
0.005615615844726562, | |
0.005571584224700928, | |
0.0055848960876464845, | |
0.005583871841430664, | |
0.0055552000999450684, | |
0.005518335819244385, | |
0.005596159934997558, | |
0.0055848960876464845, | |
0.005635072231292724, | |
0.005597184181213379, | |
0.005548031806945801, | |
0.005530623912811279, | |
0.005405695915222168, | |
0.005499904155731201, | |
0.0054568958282470706, | |
0.00552345609664917, | |
0.005797887802124023, | |
0.005775360107421875, | |
0.005844992160797119, | |
0.005742591857910156, | |
0.005843967914581299, | |
0.005742591857910156, | |
0.00586240005493164, | |
0.005866496086120605, | |
0.00582041597366333, | |
0.005879807949066162, | |
0.005803008079528809, | |
0.005916672229766846, | |
0.005777408123016357, | |
0.005824512004852295, | |
0.005727231979370117, | |
0.005833727836608887, | |
0.005860352039337159, | |
0.005817344188690185, | |
0.005825535774230957, | |
0.005761023998260498, | |
0.005847040176391601, | |
0.005801983833312988, | |
0.005780479907989502, | |
0.005646336078643799, | |
0.005727231979370117, | |
0.005746687889099121, | |
0.00577023983001709, | |
0.005792768001556397, | |
0.005882880210876465, | |
0.005787648200988769, | |
0.0057118721008300784, | |
0.005781504154205322, | |
0.005781504154205322, | |
0.005803008079528809, | |
0.00576204776763916, | |
0.005760000228881836, | |
0.005747712135314941, | |
0.0057077760696411135, | |
0.005777408123016357, | |
0.005776383876800537, | |
0.006467584133148193, | |
0.005817344188690185, | |
0.005903359889984131, | |
0.005796864032745362, | |
0.005880832195281982, | |
0.005808159828186035, | |
0.005835775852203369, | |
0.005789696216583252, | |
0.005832704067230224, | |
0.005793791770935058, | |
0.005660672187805176, | |
0.005766143798828125, | |
0.005776383876800537, | |
0.005726208209991455, | |
0.005601280212402344, | |
0.005697535991668701, | |
0.0055797758102417, | |
0.0054906878471374515, | |
0.005766143798828125, | |
0.0056442880630493165, | |
0.005573631763458252, | |
0.005399551868438721, | |
0.005440512180328369, | |
0.0056258559226989744, | |
0.005588992118835449, | |
0.005657599925994873, | |
0.005667840003967285, | |
0.005701632022857666, | |
0.005702655792236328, | |
0.005750783920288086, | |
0.0058091521263122555, | |
0.005834752082824707, | |
0.006211584091186524, | |
0.005694464206695556, | |
0.005577727794647217, | |
0.005593088150024414, | |
0.005502975940704345, | |
0.005480447769165039, | |
0.0054609918594360355, | |
0.005443583965301513, | |
0.005492735862731934, | |
0.005506048202514649, | |
0.005512191772460938, | |
0.005509119987487793, | |
0.005506048202514649, | |
0.005497856140136719, | |
0.005492735862731934, | |
0.005855231761932373, | |
0.005496831893920898, | |
0.005452799797058106, | |
0.005468160152435303, | |
0.005410816192626953, | |
0.005455872058868408, | |
0.005475327968597412, | |
0.005432320117950439, | |
0.005409791946411133, | |
0.005452799797058106, | |
0.005421055793762207, | |
0.005447679996490478, | |
0.005475327968597412, | |
0.005431295871734619, | |
0.005453855991363526, | |
0.005426176071166992, | |
0.005401599884033203, | |
0.005448703765869141, | |
0.005484543800354004, | |
0.005403647899627686, | |
0.005422080039978027, | |
0.005414912223815918, | |
0.005437439918518067, | |
0.005438464164733887, | |
0.005371903896331787, | |
0.005412864208221436, | |
0.005402624130249023, | |
0.00536575984954834, | |
0.00538316822052002, | |
0.005399551868438721, | |
0.005356544017791748, | |
0.005455872058868408, | |
0.005362688064575195, | |
0.005425151824951172, | |
0.005447679996490478, | |
0.005403647899627686, | |
0.005480447769165039, | |
0.005434368133544922, | |
0.005395455837249756 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 177.74490064999188 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.355881300504334e-08, | |
"ram": 3.463477696608973e-08, | |
"gpu": 1.340984435828849e-07, | |
"total": 2.3229203355401798e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4304925.936116775 | |
} | |
} | |
} | |
} |