IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0fe9286
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1381.781504, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.6094384765625, | |
"mean": 7.6094384765625, | |
"stdev": 0.0, | |
"p50": 7.6094384765625, | |
"p90": 7.6094384765625, | |
"p95": 7.6094384765625, | |
"p99": 7.6094384765625, | |
"values": [ | |
7.6094384765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1481.097216, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 1.0004303412437445, | |
"mean": 0.006805648579889414, | |
"stdev": 0.00041973301817474273, | |
"p50": 0.006606857776641845, | |
"p90": 0.00733226318359375, | |
"p95": 0.007358279085159301, | |
"p99": 0.007736550216674804, | |
"values": [ | |
0.007022696018218994, | |
0.007300455093383789, | |
0.007342374801635742, | |
0.007332135200500489, | |
0.00732173490524292, | |
0.007331493854522705, | |
0.00732941484451294, | |
0.007319015026092529, | |
0.007321575164794922, | |
0.007689894199371338, | |
0.007366535186767578, | |
0.007327974796295166, | |
0.007322694778442383, | |
0.007311494827270508, | |
0.00729277515411377, | |
0.007309094905853271, | |
0.0073009347915649414, | |
0.00732333517074585, | |
0.007290375232696533, | |
0.007324295043945312, | |
0.007309094905853271, | |
0.007314374923706055, | |
0.007358375072479248, | |
0.007299495220184326, | |
0.007313254833221435, | |
0.0073145351409912105, | |
0.007290854930877686, | |
0.007278055191040039, | |
0.007319015026092529, | |
0.007332455158233642, | |
0.007358055114746093, | |
0.007351015090942383, | |
0.0073546948432922366, | |
0.00744589376449585, | |
0.007390055179595947, | |
0.007370375156402588, | |
0.0073425350189208986, | |
0.007322854995727539, | |
0.007317094802856445, | |
0.007292134761810303, | |
0.007335334777832031, | |
0.008038851737976074, | |
0.007776294231414795, | |
0.00678061580657959, | |
0.006606857776641845, | |
0.0065836567878723145, | |
0.006584938049316406, | |
0.006547657966613769, | |
0.0066210970878601075, | |
0.00650557804107666, | |
0.006606216907501221, | |
0.00650509786605835, | |
0.006520458221435547, | |
0.006552937030792236, | |
0.006842377185821533, | |
0.006565257072448731, | |
0.006481897830963135, | |
0.006545897960662842, | |
0.0065407781600952146, | |
0.006611017227172852, | |
0.006804457187652588, | |
0.006720137119293213, | |
0.006759016990661621, | |
0.006680936813354492, | |
0.006547657966613769, | |
0.00658381700515747, | |
0.006556297779083252, | |
0.00657245683670044, | |
0.006613577842712402, | |
0.006525416851043701, | |
0.006595977783203125, | |
0.006528138160705566, | |
0.006578536987304687, | |
0.0066356568336486815, | |
0.006559177875518799, | |
0.006589737892150879, | |
0.006510217189788819, | |
0.006371499061584473, | |
0.00635325813293457, | |
0.006381258010864258, | |
0.0064294180870056155, | |
0.006376297950744629, | |
0.006416138172149658, | |
0.006428617954254151, | |
0.006393259048461914, | |
0.006388457775115966, | |
0.006386538028717041, | |
0.0063847780227661135, | |
0.006393578052520752, | |
0.006412777900695801, | |
0.00635421895980835, | |
0.006374857902526856, | |
0.006329098224639893, | |
0.006367979049682618, | |
0.006372777938842773, | |
0.006410697937011719, | |
0.006403337955474853, | |
0.006352938175201416, | |
0.006404458045959472, | |
0.006405738830566407, | |
0.006352297782897949, | |
0.006410377979278565, | |
0.006369897842407227, | |
0.006394378185272217, | |
0.006381419181823731, | |
0.006392938137054443, | |
0.006392457962036133, | |
0.00638765811920166, | |
0.006403818130493164, | |
0.0063964581489562985, | |
0.006387818813323975, | |
0.006395338058471679, | |
0.006408137798309326, | |
0.006367978096008301, | |
0.006412618160247803, | |
0.006360137939453125, | |
0.006419978141784668, | |
0.006379339218139648, | |
0.006401738166809082, | |
0.006388457775115966, | |
0.006380298137664795, | |
0.00640189790725708, | |
0.006408778190612793, | |
0.006356618881225586, | |
0.006376297950744629, | |
0.006337418079376221, | |
0.0068932571411132815, | |
0.006888775825500488, | |
0.006752137184143066, | |
0.00675581693649292, | |
0.006876457214355469, | |
0.007024136066436768, | |
0.00690285587310791, | |
0.006833096981048584, | |
0.006919816017150879, | |
0.006596457958221435, | |
0.00673181676864624, | |
0.007117895126342774, | |
0.006841577053070068, | |
0.0069716558456420896, | |
0.0072385349273681645, | |
0.00725165605545044, | |
0.007240775108337402, | |
0.007224935054779053, | |
0.00720925521850586, | |
0.0072482948303222655, | |
0.007286055088043213 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.93676704891647 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |