
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1285709
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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.0", | |
"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.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 795.70944, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 0.2106429443359375, | |
"mean": 0.2106429443359375, | |
"stdev": 0.0, | |
"p50": 0.2106429443359375, | |
"p90": 0.2106429443359375, | |
"p95": 0.2106429443359375, | |
"p99": 0.2106429443359375, | |
"values": [ | |
0.2106429443359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.475868548551969e-06, | |
"ram": 1.3379677008267784e-06, | |
"gpu": 3.579725085967045e-06, | |
"total": 7.393561335345793e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1050.914816, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 179, | |
"total": 1.0043996791839598, | |
"mean": 0.005611171392089162, | |
"stdev": 0.00022630869969727366, | |
"p50": 0.0055797758102417, | |
"p90": 0.00587182092666626, | |
"p95": 0.0059285502433776855, | |
"p99": 0.006283386754989624, | |
"values": [ | |
0.006015999794006348, | |
0.006214655876159668, | |
0.006065152168273926, | |
0.0059064321517944334, | |
0.007589888095855713, | |
0.006519807815551758, | |
0.005921792030334472, | |
0.005921792030334472, | |
0.005876736164093017, | |
0.005943295955657959, | |
0.005894144058227539, | |
0.0059269118309021, | |
0.005879807949066162, | |
0.00587059211730957, | |
0.005895167827606201, | |
0.005876736164093017, | |
0.00621670389175415, | |
0.005453824043273926, | |
0.005319680213928223, | |
0.005286911964416504, | |
0.005273600101470947, | |
0.0052705278396606445, | |
0.005258240222930908, | |
0.005268479824066162, | |
0.005280767917633057, | |
0.005251071929931641, | |
0.005275648117065429, | |
0.0052930560111999515, | |
0.005244927883148193, | |
0.005372928142547607, | |
0.0054876160621643065, | |
0.005601280212402344, | |
0.005570559978485107, | |
0.005683199882507324, | |
0.005593088150024414, | |
0.005608448028564453, | |
0.005609471797943116, | |
0.005594111919403076, | |
0.005607423782348633, | |
0.005567488193511963, | |
0.005605375766754151, | |
0.005590015888214111, | |
0.005554175853729248, | |
0.005652480125427246, | |
0.005601280212402344, | |
0.005575679779052735, | |
0.005577727794647217, | |
0.005540863990783691, | |
0.0055797758102417, | |
0.005545983791351319, | |
0.005591040134429932, | |
0.005574656009674072, | |
0.005541888236999512, | |
0.005582848072052002, | |
0.0055808000564575196, | |
0.0055511040687561035, | |
0.005609471797943116, | |
0.005582848072052002, | |
0.005603328227996827, | |
0.005575679779052735, | |
0.005588992118835449, | |
0.005610496044158936, | |
0.005566463947296142, | |
0.005581823825836182, | |
0.005577727794647217, | |
0.005561408042907715, | |
0.0056258559226989744, | |
0.00553984022140503, | |
0.005493760108947754, | |
0.005477375984191894, | |
0.005439487934112549, | |
0.005472256183624268, | |
0.005469183921813964, | |
0.0054579200744628905, | |
0.00551423978805542, | |
0.005450751781463623, | |
0.005486591815948487, | |
0.005496831893920898, | |
0.005458943843841553, | |
0.005476352214813233, | |
0.00546611213684082, | |
0.005445631980895996, | |
0.005481472015380859, | |
0.005573631763458252, | |
0.005570559978485107, | |
0.005575679779052735, | |
0.005525504112243652, | |
0.005570559978485107, | |
0.00556441593170166, | |
0.005602303981781006, | |
0.005652480125427246, | |
0.0055511040687561035, | |
0.005586944103240967, | |
0.005587967872619629, | |
0.005606400012969971, | |
0.005554175853729248, | |
0.0055920639038085935, | |
0.005587967872619629, | |
0.005574656009674072, | |
0.0055316481590271, | |
0.005601280212402344, | |
0.0055552000999450684, | |
0.005607423782348633, | |
0.005578752040863037, | |
0.005578752040863037, | |
0.0055920639038085935, | |
0.005587967872619629, | |
0.005573631763458252, | |
0.005571584224700928, | |
0.005612544059753418, | |
0.00563097620010376, | |
0.0055552000999450684, | |
0.005567488193511963, | |
0.005560319900512695, | |
0.005573631763458252, | |
0.00555622386932373, | |
0.005587967872619629, | |
0.005599232196807862, | |
0.005591040134429932, | |
0.005608448028564453, | |
0.005650432109832764, | |
0.005576704025268555, | |
0.005596159934997558, | |
0.005549056053161621, | |
0.005571584224700928, | |
0.0055848960876464845, | |
0.005559296131134033, | |
0.005577727794647217, | |
0.0055920639038085935, | |
0.005560319900512695, | |
0.005560319900512695, | |
0.005557248115539551, | |
0.005574656009674072, | |
0.005642240047454834, | |
0.005627903938293457, | |
0.0056258559226989744, | |
0.005577727794647217, | |
0.005645311832427978, | |
0.005600255966186523, | |
0.005659647941589355, | |
0.00563097620010376, | |
0.005634047985076904, | |
0.005676032066345215, | |
0.005643263816833496, | |
0.005605375766754151, | |
0.005669888019561768, | |
0.005587967872619629, | |
0.00563097620010376, | |
0.0055808000564575196, | |
0.005530623912811279, | |
0.005705728054046631, | |
0.005557248115539551, | |
0.005606400012969971, | |
0.005540863990783691, | |
0.0055552000999450684, | |
0.005588992118835449, | |
0.005548031806945801, | |
0.005576704025268555, | |
0.005560319900512695, | |
0.006205440044403076, | |
0.005857279777526855, | |
0.005537792205810547, | |
0.005600255966186523, | |
0.005602303981781006, | |
0.0056483840942382815, | |
0.005582848072052002, | |
0.005544960021972656, | |
0.005569536209106446, | |
0.005948416233062744, | |
0.005591040134429932, | |
0.005581823825836182, | |
0.005534719944000244, | |
0.005566463947296142, | |
0.005544960021972656, | |
0.0055808000564575196, | |
0.0055552000999450684, | |
0.005642240047454834, | |
0.005679103851318359, | |
0.005544960021972656 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.21590718291677 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.371891153003108e-08, | |
"ram": 3.4820440045287084e-08, | |
"gpu": 1.325882183763962e-07, | |
"total": 2.3112756995171436e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4326614.952118925 | |
} | |
} | |
} | |
} |