
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1833f0a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 809.541632, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08214630126953125 | |
], | |
"count": 1, | |
"total": 0.08214630126953125, | |
"mean": 0.08214630126953125, | |
"p50": 0.08214630126953125, | |
"p90": 0.08214630126953125, | |
"p95": 0.08214630126953125, | |
"p99": 0.08214630126953125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.63891955222236e-05, | |
"ram": 5.280669961005513e-05, | |
"gpu": 0.0001368064983339988, | |
"total": 0.0002860023934662775 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1056.362496, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006254591941833496, | |
0.00617574405670166, | |
0.006118400096893311, | |
0.006150144100189209, | |
0.006103040218353272, | |
0.006098944187164307, | |
0.0060631041526794435, | |
0.0061265921592712404, | |
0.006062079906463623, | |
0.006097919940948486, | |
0.006105088233947754, | |
0.0060282878875732426, | |
0.006086656093597412, | |
0.0060364799499511715, | |
0.006072319984436035, | |
0.005895167827606201, | |
0.005931039810180664, | |
0.005957632064819336, | |
0.006017024040222168, | |
0.005964799880981446, | |
0.006032383918762207, | |
0.0059996161460876465, | |
0.006048768043518066, | |
0.0067051520347595215, | |
0.006091775894165039, | |
0.006071296215057373, | |
0.006172671794891358, | |
0.006148096084594727, | |
0.006149119853973388, | |
0.006124544143676758, | |
0.006078464031219482, | |
0.006062079906463623, | |
0.00602623987197876, | |
0.005989376068115234, | |
0.006105088233947754, | |
0.006114304065704346, | |
0.006076416015625, | |
0.0061224961280822755, | |
0.0060661759376525876, | |
0.006032383918762207, | |
0.005932032108306885, | |
0.006055935859680176, | |
0.006011903762817383, | |
0.006055935859680176, | |
0.005953536033630371, | |
0.0060928001403808595, | |
0.006119423866271972, | |
0.006153215885162353, | |
0.005980224132537842, | |
0.005985280036926269, | |
0.005932032108306885, | |
0.006004735946655273, | |
0.005976064205169678, | |
0.006021120071411133, | |
0.005976064205169678, | |
0.006109183788299561, | |
0.005962751865386963, | |
0.006009856224060059, | |
0.005957632064819336, | |
0.006042623996734619, | |
0.006025216102600098, | |
0.00612556791305542, | |
0.006017024040222168, | |
0.006119423866271972, | |
0.006247424125671387, | |
0.006311935901641846, | |
0.006261760234832763, | |
0.006315008163452148, | |
0.006205440044403076, | |
0.00616755199432373, | |
0.006255616188049316, | |
0.006151167869567871, | |
0.0061521921157836916, | |
0.006160384178161621, | |
0.006033408164978027, | |
0.006090752124786377, | |
0.0062197761535644535, | |
0.0061296639442443845, | |
0.005956607818603516, | |
0.005928959846496582, | |
0.005942272186279297, | |
0.00601804780960083, | |
0.006065152168273926, | |
0.006049791812896729, | |
0.0060999679565429685, | |
0.006034495830535888, | |
0.0061224961280822755, | |
0.006237184047698975, | |
0.006318079948425293, | |
0.0061010241508483885, | |
0.005988351821899414, | |
0.006045695781707764, | |
0.005979135990142822, | |
0.006113279819488526, | |
0.005991424083709717, | |
0.006051839828491211, | |
0.005986303806304932, | |
0.006005760192871094, | |
0.005985280036926269, | |
0.006000639915466309, | |
0.005941247940063477, | |
0.006015999794006348, | |
0.005888000011444092, | |
0.005952511787414551, | |
0.005881887912750244, | |
0.005956607818603516, | |
0.0059023361206054685, | |
0.005934080123901367, | |
0.00587775993347168, | |
0.005961728096008301, | |
0.005910528182983398, | |
0.0059023361206054685, | |
0.005895167827606201, | |
0.005917695999145508, | |
0.005910528182983398, | |
0.005912576198577881, | |
0.005911551952362061, | |
0.00587775993347168, | |
0.0059023361206054685, | |
0.005880832195281982, | |
0.005974016189575195, | |
0.00586956787109375, | |
0.005909503936767578, | |
0.005873663902282715, | |
0.005912576198577881, | |
0.0058429441452026365, | |
0.0058429441452026365, | |
0.005805056095123291, | |
0.005826560020446778, | |
0.005829631805419922, | |
0.005858304023742676, | |
0.005917695999145508, | |
0.005900288105010986, | |
0.005940224170684814, | |
0.0059023361206054685, | |
0.005925888061523437, | |
0.005907455921173096, | |
0.005955584049224853, | |
0.005882880210876465, | |
0.005955584049224853, | |
0.005811200141906738, | |
0.0058429441452026365, | |
0.005797887802124023, | |
0.005851136207580566, | |
0.005798912048339844, | |
0.005822463989257813, | |
0.005816319942474365, | |
0.00582041597366333, | |
0.005844992160797119, | |
0.005798912048339844, | |
0.00581324815750122, | |
0.005798912048339844, | |
0.0058787841796875, | |
0.005831679821014404, | |
0.005880832195281982, | |
0.005811200141906738, | |
0.005825535774230957, | |
0.00582144021987915, | |
0.005909503936767578, | |
0.0058757119178771975, | |
0.00582860803604126, | |
0.005832704067230224, | |
0.0058009600639343266, | |
0.0058204798698425295, | |
0.005858304023742676, | |
0.00592796802520752, | |
0.005874688148498535 | |
], | |
"count": 167, | |
"total": 1.0016668834686275, | |
"mean": 0.005998005290231305, | |
"p50": 0.005985280036926269, | |
"p90": 0.006151577568054199, | |
"p95": 0.006231961679458618, | |
"p99": 0.0063160525703430176, | |
"stdev": 0.00013485976692617044, | |
"stdev_": 2.2484102697576938 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 333.444187396319 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.074641696842576e-08, | |
"ram": 3.865739964140298e-08, | |
"gpu": 1.6676269954761695e-07, | |
"total": 2.761665161574457e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7242007.567853653 | |
} | |
} | |
} | |
} |