
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
aac7481
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.223-212.873.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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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": 782.626816, | |
"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.40526513671875, | |
"mean": 7.40526513671875, | |
"stdev": 0.0, | |
"p50": 7.40526513671875, | |
"p90": 7.40526513671875, | |
"p95": 7.40526513671875, | |
"p99": 7.40526513671875, | |
"values": [ | |
7.40526513671875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.40392683333771e-07, | |
"ram": 4.995681786063171e-07, | |
"gpu": 1.6308346380000671e-06, | |
"total": 3.070795499940155e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.077952, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 185, | |
"total": 1.0002780795097352, | |
"mean": 0.00540690853789046, | |
"stdev": 0.00025056893891003474, | |
"p50": 0.005320703983306885, | |
"p90": 0.005665177822113037, | |
"p95": 0.005965619087219238, | |
"p99": 0.006121471843719482, | |
"values": [ | |
0.006109183788299561, | |
0.006195199966430664, | |
0.006076416015625, | |
0.005994495868682862, | |
0.005783552169799804, | |
0.005850111961364746, | |
0.005960703849792481, | |
0.005917695999145508, | |
0.006017024040222168, | |
0.005966847896575928, | |
0.006097919940948486, | |
0.00588595199584961, | |
0.0060405759811401364, | |
0.005954559803009033, | |
0.006013951778411865, | |
0.005914624214172363, | |
0.0061859841346740725, | |
0.0054282240867614745, | |
0.005274623870849609, | |
0.0052674560546875, | |
0.005244927883148193, | |
0.005208064079284668, | |
0.005400576114654541, | |
0.0052008957862854, | |
0.005221375942230225, | |
0.005244927883148193, | |
0.005231616020202637, | |
0.0052070398330688475, | |
0.005239808082580567, | |
0.0052111358642578124, | |
0.005210112094879151, | |
0.005228544235229492, | |
0.005228544235229492, | |
0.005223423957824707, | |
0.005224448204040527, | |
0.005214208126068115, | |
0.005220352172851562, | |
0.00520908784866333, | |
0.005258240222930908, | |
0.005210112094879151, | |
0.005220352172851562, | |
0.005243904113769531, | |
0.0052070398330688475, | |
0.00521830415725708, | |
0.005253119945526123, | |
0.005232639789581299, | |
0.00522649621963501, | |
0.005351424217224121, | |
0.005241856098175048, | |
0.005194752216339111, | |
0.005204991817474365, | |
0.00522649621963501, | |
0.005182464122772217, | |
0.005193727970123291, | |
0.005242879867553711, | |
0.005146624088287354, | |
0.005144576072692871, | |
0.005131264209747314, | |
0.005181439876556396, | |
0.005137407779693603, | |
0.005141503810882568, | |
0.005179391860961914, | |
0.005173247814178467, | |
0.005193727970123291, | |
0.005220352172851562, | |
0.005212160110473632, | |
0.005326848030090332, | |
0.005180416107177735, | |
0.005306367874145508, | |
0.0054282240867614745, | |
0.005354496002197265, | |
0.005281824111938477, | |
0.00515993595123291, | |
0.005178368091583252, | |
0.005241856098175048, | |
0.005191679954528809, | |
0.00520908784866333, | |
0.00521830415725708, | |
0.005320703983306885, | |
0.005214208126068115, | |
0.005244927883148193, | |
0.005197824001312256, | |
0.005282815933227539, | |
0.005171199798583984, | |
0.0051660799980163576, | |
0.005129216194152832, | |
0.005126143932342529, | |
0.00516096019744873, | |
0.005149695873260498, | |
0.005135359764099121, | |
0.00510975980758667, | |
0.005132287979125977, | |
0.005164031982421875, | |
0.005107711791992187, | |
0.00515174388885498, | |
0.005119999885559082, | |
0.005122047901153564, | |
0.005252096176147461, | |
0.005295104026794434, | |
0.00517632007598877, | |
0.0051773438453674315, | |
0.005212160110473632, | |
0.00517632007598877, | |
0.005173247814178467, | |
0.005227519989013672, | |
0.0051701760292053225, | |
0.005206016063690186, | |
0.005169151782989502, | |
0.005219327926635742, | |
0.005191679954528809, | |
0.005202943801879883, | |
0.005215231895446777, | |
0.005210112094879151, | |
0.005188608169555664, | |
0.005237760066986084, | |
0.005180416107177735, | |
0.00535756778717041, | |
0.005666816234588623, | |
0.005662720203399658, | |
0.005537792205810547, | |
0.005596159934997558, | |
0.005525504112243652, | |
0.005576704025268555, | |
0.005544960021972656, | |
0.0055285758972167965, | |
0.005552127838134766, | |
0.0055214080810546875, | |
0.005552127838134766, | |
0.0055214080810546875, | |
0.005512191772460938, | |
0.00557260799407959, | |
0.005604351997375488, | |
0.005549056053161621, | |
0.005560319900512695, | |
0.005535744190216065, | |
0.005587967872619629, | |
0.005582848072052002, | |
0.005540863990783691, | |
0.00555622386932373, | |
0.005518335819244385, | |
0.005581823825836182, | |
0.005509119987487793, | |
0.005544960021972656, | |
0.005549056053161621, | |
0.005508096218109131, | |
0.005526527881622314, | |
0.005492735862731934, | |
0.005488639831542969, | |
0.005542912006378174, | |
0.005623807907104492, | |
0.005512191772460938, | |
0.005548031806945801, | |
0.005505023956298828, | |
0.005557248115539551, | |
0.005512191772460938, | |
0.005504000186920166, | |
0.005545983791351319, | |
0.0054917120933532714, | |
0.0055552000999450684, | |
0.005517312049865723, | |
0.005530623912811279, | |
0.005549056053161621, | |
0.005517312049865723, | |
0.005511168003082275, | |
0.005565440177917481, | |
0.005500927925109863, | |
0.005541888236999512, | |
0.005643263816833496, | |
0.005504000186920166, | |
0.005561344146728516, | |
0.005497888088226318, | |
0.00552243185043335, | |
0.005499904155731201, | |
0.0054906878471374515, | |
0.005529600143432617, | |
0.005505023956298828, | |
0.00550707197189331, | |
0.005549056053161621, | |
0.00551423978805542, | |
0.0055214080810546875, | |
0.005696512222290039, | |
0.005500927925109863, | |
0.005536767959594726, | |
0.0055623679161071774, | |
0.005497856140136719 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.94856959244154 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.124934965635195e-08, | |
"ram": 3.348476423177401e-08, | |
"gpu": 1.2584059322680168e-07, | |
"total": 2.205747071149276e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4533611.36949833 | |
} | |
} | |
} | |
} |