
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0b6b425
verified
{ | |
"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_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.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.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.531392, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.20321728515625, | |
"mean": 7.20321728515625, | |
"stdev": 0.0, | |
"p50": 7.20321728515625, | |
"p90": 7.20321728515625, | |
"p95": 7.20321728515625, | |
"p99": 7.20321728515625, | |
"values": [ | |
7.20321728515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.62116817633311e-07, | |
"ram": 4.873850427341609e-07, | |
"gpu": 0.0, | |
"total": 1.449501860367472e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.283648, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 1.0026507835388185, | |
"mean": 0.005390595610423755, | |
"stdev": 0.00023880789091445975, | |
"p50": 0.005429248094558716, | |
"p90": 0.005661695957183838, | |
"p95": 0.00570035183429718, | |
"p99": 0.006048716664314271, | |
"values": [ | |
0.0058716158866882326, | |
0.0059770879745483394, | |
0.00563097620010376, | |
0.005500927925109863, | |
0.005559296131134033, | |
0.005473279953002929, | |
0.005451776027679443, | |
0.005513216018676758, | |
0.005440512180328369, | |
0.005375072002410889, | |
0.005398528099060058, | |
0.005342207908630371, | |
0.005318655967712403, | |
0.005375999927520752, | |
0.005518335819244385, | |
0.006231040000915527, | |
0.005575679779052735, | |
0.005471231937408447, | |
0.005587967872619629, | |
0.005585919857025146, | |
0.005615615844726562, | |
0.005599296092987061, | |
0.005595136165618897, | |
0.005631999969482422, | |
0.005577727794647217, | |
0.005620736122131348, | |
0.005495808124542236, | |
0.005470208168029785, | |
0.005606400012969971, | |
0.0055808000564575196, | |
0.006199295997619629, | |
0.005611519813537597, | |
0.005745664119720459, | |
0.005626880168914795, | |
0.005541888236999512, | |
0.005686272144317627, | |
0.005494783878326416, | |
0.005617663860321045, | |
0.0056217598915100095, | |
0.005526527881622314, | |
0.005675007820129394, | |
0.005485568046569824, | |
0.005465087890625, | |
0.005570559978485107, | |
0.005570559978485107, | |
0.005489664077758789, | |
0.005436416149139404, | |
0.00570470380783081, | |
0.005568511962890625, | |
0.005493760108947754, | |
0.005596159934997558, | |
0.005494783878326416, | |
0.005576704025268555, | |
0.0057118721008300784, | |
0.005583871841430664, | |
0.00566374397277832, | |
0.005565440177917481, | |
0.005569536209106446, | |
0.005767168045043946, | |
0.005430272102355957, | |
0.005608448028564453, | |
0.005535744190216065, | |
0.005686272144317627, | |
0.005629951953887939, | |
0.005530623912811279, | |
0.005670911788940429, | |
0.005561344146728516, | |
0.005468160152435303, | |
0.005548031806945801, | |
0.005465087890625, | |
0.006022143840789795, | |
0.005583871841430664, | |
0.005618688106536865, | |
0.005612544059753418, | |
0.005450751781463623, | |
0.005607423782348633, | |
0.005544960021972656, | |
0.005473279953002929, | |
0.005571584224700928, | |
0.0054579200744628905, | |
0.005576704025268555, | |
0.0055244798660278325, | |
0.005534719944000244, | |
0.005732351779937744, | |
0.005574656009674072, | |
0.005675007820129394, | |
0.00561356782913208, | |
0.005677055835723877, | |
0.00566374397277832, | |
0.005557248115539551, | |
0.0056514558792114256, | |
0.005659647941589355, | |
0.0054282240867614745, | |
0.00547430419921875, | |
0.005687295913696289, | |
0.005501952171325684, | |
0.005419007778167725, | |
0.0053309440612792965, | |
0.00531660795211792, | |
0.005234687805175781, | |
0.005413887977600097, | |
0.005489664077758789, | |
0.005277696132659912, | |
0.0052070398330688475, | |
0.005186560153961181, | |
0.005246975898742676, | |
0.005174272060394287, | |
0.005312511920928955, | |
0.005388288021087646, | |
0.005282815933227539, | |
0.005292031764984131, | |
0.005331967830657959, | |
0.005370880126953125, | |
0.0054988799095153805, | |
0.005566463947296142, | |
0.005254144191741943, | |
0.005094399929046631, | |
0.0052111358642578124, | |
0.005096447944641113, | |
0.005132287979125977, | |
0.005202943801879883, | |
0.005102591991424561, | |
0.005194752216339111, | |
0.005096447944641113, | |
0.005314559936523438, | |
0.005114880084991455, | |
0.005154816150665284, | |
0.005171199798583984, | |
0.0050954241752624516, | |
0.005129216194152832, | |
0.005074944019317627, | |
0.005152768135070801, | |
0.005062655925750732, | |
0.005127168178558349, | |
0.005128191947937012, | |
0.00510975980758667, | |
0.005102591991424561, | |
0.004996096134185791, | |
0.0051660799980163576, | |
0.005096447944641113, | |
0.005134335994720459, | |
0.00511897611618042, | |
0.005083136081695557, | |
0.004924416065216064, | |
0.00511078405380249, | |
0.005157887935638428, | |
0.005097472190856934, | |
0.00516096019744873, | |
0.005115903854370117, | |
0.00516096019744873, | |
0.005090303897857666, | |
0.005150720119476319, | |
0.005245952129364013, | |
0.005208064079284668, | |
0.005152768135070801, | |
0.00515174388885498, | |
0.005178368091583252, | |
0.005116928100585938, | |
0.005187583923339844, | |
0.005117951869964599, | |
0.005148672103881836, | |
0.005116928100585938, | |
0.005173247814178467, | |
0.00516812801361084, | |
0.005164031982421875, | |
0.005125120162963868, | |
0.005152768135070801, | |
0.005148672103881836, | |
0.0051435518264770505, | |
0.005182464122772217, | |
0.00526643180847168, | |
0.005116928100585938, | |
0.005183487892150879, | |
0.005150720119476319, | |
0.005134335994720459, | |
0.005085184097290039, | |
0.005169151782989502, | |
0.005131264209747314, | |
0.005090303897857666, | |
0.005124095916748047, | |
0.005189631938934326, | |
0.005178368091583252, | |
0.005155839920043945, | |
0.005201920032501221, | |
0.005178368091583252, | |
0.005117951869964599 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.5082577640043 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.005702128447803e-08, | |
"ram": 3.269386224238878e-08, | |
"gpu": 1.2972372891933364e-07, | |
"total": 2.2247461244620045e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4494894.896116847 | |
} | |
} | |
} | |
} |