IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3e55a70 verified
raw
history blame
12.8 kB
{
"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": "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": {},
"hub_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,
"latency": true,
"memory": 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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 869.388288,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 188,
"total": 1.003626528263092,
"mean": 0.00533843898012283,
"stdev": 0.00020994331631720296,
"p50": 0.005370880126953125,
"p90": 0.005464371252059936,
"p95": 0.005792870259284974,
"p99": 0.006015825796127318,
"values": [
0.006449151992797852,
0.005911551952362061,
0.005990399837493897,
0.005966847896575928,
0.0059351038932800295,
0.005910528182983398,
0.005904384136199951,
0.005833727836608887,
0.005956607818603516,
0.0061859841346740725,
0.0054241280555725096,
0.00515993595123291,
0.00516096019744873,
0.0051998720169067385,
0.00515993595123291,
0.005149695873260498,
0.005190656185150146,
0.005190656185150146,
0.005181439876556396,
0.005148672103881836,
0.005292031764984131,
0.0051660799980163576,
0.0051476478576660155,
0.005193727970123291,
0.0051363840103149415,
0.005131264209747314,
0.005161983966827393,
0.005145599842071533,
0.005128191947937012,
0.005141503810882568,
0.005155839920043945,
0.005125120162963868,
0.005123072147369385,
0.005165056228637695,
0.005179391860961914,
0.005121024131774903,
0.005153791904449463,
0.005180416107177735,
0.0051435518264770505,
0.005144576072692871,
0.005165056228637695,
0.005146624088287354,
0.005141503810882568,
0.0051363840103149415,
0.005172224044799805,
0.005175295829772949,
0.005137407779693603,
0.005152768135070801,
0.0051363840103149415,
0.0051363840103149415,
0.005135359764099121,
0.005141503810882568,
0.005131264209747314,
0.005131264209747314,
0.005144576072692871,
0.005191679954528809,
0.00537497615814209,
0.005361663818359375,
0.005169151782989502,
0.005139455795288086,
0.0051476478576660155,
0.00515174388885498,
0.005119999885559082,
0.005135359764099121,
0.005167103767395019,
0.005132287979125977,
0.005134335994720459,
0.0051476478576660155,
0.005150720119476319,
0.005108736038208008,
0.005114880084991455,
0.00515174388885498,
0.0051333122253417966,
0.005131264209747314,
0.005129216194152832,
0.0051660799980163576,
0.005135359764099121,
0.005138432025909424,
0.005184512138366699,
0.005148672103881836,
0.005127168178558349,
0.005127168178558349,
0.005195775985717774,
0.005125120162963868,
0.005130239963531494,
0.005157887935638428,
0.005173247814178467,
0.0051333122253417966,
0.005149695873260498,
0.005248000144958496,
0.005356544017791748,
0.005318655967712403,
0.0053534722328186036,
0.005326848030090332,
0.005341184139251709,
0.005356544017791748,
0.00531660795211792,
0.005327871799468994,
0.0053637118339538575,
0.005345280170440674,
0.005347328186035156,
0.005362688064575195,
0.00531763219833374,
0.005331967830657959,
0.00536678409576416,
0.005326848030090332,
0.005716991901397705,
0.005465087890625,
0.005434368133544922,
0.005478400230407715,
0.005419007778167725,
0.00541593599319458,
0.005464064121246338,
0.005410816192626953,
0.005413887977600097,
0.0054609918594360355,
0.00541593599319458,
0.005454847812652588,
0.0054241280555725096,
0.005407743930816651,
0.005475327968597412,
0.0054241280555725096,
0.005411839962005615,
0.0054568958282470706,
0.005393407821655274,
0.005393407821655274,
0.005421055793762207,
0.005386240005493164,
0.005396480083465576,
0.005419007778167725,
0.005389311790466309,
0.005414912223815918,
0.005479423999786377,
0.005411839962005615,
0.005478400230407715,
0.0054271998405456545,
0.005379072189331055,
0.005437439918518067,
0.005410816192626953,
0.005386240005493164,
0.005431295871734619,
0.00537497615814209,
0.005408768177032471,
0.005442560195922852,
0.005391359806060791,
0.00541593599319458,
0.005459968090057373,
0.00541593599319458,
0.00541596794128418,
0.00541593599319458,
0.005379072189331055,
0.005434368133544922,
0.005416959762573242,
0.005436416149139404,
0.0054988799095153805,
0.005412864208221436,
0.005400576114654541,
0.005450751781463623,
0.005402624130249023,
0.005437439918518067,
0.005454847812652588,
0.005420032024383545,
0.005421055793762207,
0.005412864208221436,
0.005417984008789062,
0.005441535949707031,
0.005431295871734619,
0.005398528099060058,
0.005434368133544922,
0.005398528099060058,
0.005412864208221436,
0.005452799797058106,
0.005429247856140137,
0.005407743930816651,
0.005438464164733887,
0.005422080039978027,
0.0054568958282470706,
0.005504000186920166,
0.00542310380935669,
0.005462016105651855,
0.005417984008789062,
0.0053944320678710935,
0.00547430419921875,
0.005413887977600097,
0.005408768177032471,
0.0054282240867614745,
0.005401599884033203,
0.005405695915222168
]
},
"throughput": {
"unit": "samples/s",
"value": 187.3206762732336
},
"energy": {
"unit": "kWh",
"cpu": 6.445564761541892e-08,
"ram": 3.520894713522922e-08,
"gpu": 1.2763597167391526e-07,
"total": 2.273005664245634e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4399461.100031532
}
}
}
}