
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1b997f5
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.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 817.442816, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07921459197998047 | |
], | |
"count": 1, | |
"total": 0.07921459197998047, | |
"mean": 0.07921459197998047, | |
"p50": 0.07921459197998047, | |
"p90": 0.07921459197998047, | |
"p95": 0.07921459197998047, | |
"p99": 0.07921459197998047, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010901496796319438, | |
"ram": 5.97297074574408e-05, | |
"gpu": 0.00014517983836600037, | |
"total": 0.00031392451378663556 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1064.26368, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006178815841674804, | |
0.005854207992553711, | |
0.00586956787109375, | |
0.005896192073822021, | |
0.0059064321517944334, | |
0.005835775852203369, | |
0.005864448070526123, | |
0.005832704067230224, | |
0.005839871883392334, | |
0.00582860803604126, | |
0.005835775852203369, | |
0.005850111961364746, | |
0.00585433578491211, | |
0.005836800098419189, | |
0.00586956787109375, | |
0.005896192073822021, | |
0.005852159976959229, | |
0.005985280036926269, | |
0.005917695999145508, | |
0.005886975765228271, | |
0.005843967914581299, | |
0.005846015930175781, | |
0.005795839786529541, | |
0.006000639915466309, | |
0.005666816234588623, | |
0.00572211217880249, | |
0.0057190399169921875, | |
0.005634047985076904, | |
0.005710847854614258, | |
0.0056555519104003905, | |
0.00571289587020874, | |
0.005657599925994873, | |
0.005681151866912842, | |
0.0056258559226989744, | |
0.005675007820129394, | |
0.005668863773345947, | |
0.005653503894805908, | |
0.005675007820129394, | |
0.005653503894805908, | |
0.005617663860321045, | |
0.005623807907104492, | |
0.0056145920753479005, | |
0.005666816234588623, | |
0.005662720203399658, | |
0.005666816234588623, | |
0.0056780800819396975, | |
0.005667840003967285, | |
0.005672959804534912, | |
0.005659647941589355, | |
0.005657599925994873, | |
0.005593088150024414, | |
0.005617663860321045, | |
0.005728256225585937, | |
0.00563097620010376, | |
0.005670911788940429, | |
0.005631999969482422, | |
0.00564028787612915, | |
0.005656576156616211, | |
0.00561356782913208, | |
0.005662720203399658, | |
0.005584928035736084, | |
0.005612544059753418, | |
0.005659647941589355, | |
0.005621920108795166, | |
0.005624832153320313, | |
0.005605375766754151, | |
0.005600255966186523, | |
0.005598207950592041, | |
0.005756927967071533, | |
0.005948416233062744, | |
0.005856287956237793, | |
0.005724160194396972, | |
0.005620736122131348, | |
0.005703680038452149, | |
0.005697535991668701, | |
0.005626880168914795, | |
0.00568832015991211, | |
0.005628928184509278, | |
0.005736447811126709, | |
0.00561356782913208, | |
0.005652480125427246, | |
0.0056514558792114256, | |
0.005617663860321045, | |
0.005657599925994873, | |
0.005617663860321045, | |
0.005690368175506591, | |
0.005624832153320313, | |
0.0056258559226989744, | |
0.005656576156616211, | |
0.005606400012969971, | |
0.005728256225585937, | |
0.005659647941589355, | |
0.005676032066345215, | |
0.005682176113128662, | |
0.005590015888214111, | |
0.005684224128723145, | |
0.005626880168914795, | |
0.005665791988372803, | |
0.005635072231292724, | |
0.005606400012969971, | |
0.0056483840942382815, | |
0.005646336078643799, | |
0.00568012809753418, | |
0.005617663860321045, | |
0.005642240047454834, | |
0.005665791988372803, | |
0.005650432109832764, | |
0.005738495826721191, | |
0.00568832015991211, | |
0.005727231979370117, | |
0.005606400012969971, | |
0.005626880168914795, | |
0.005667840003967285, | |
0.005635072231292724, | |
0.005638144016265869, | |
0.005672959804534912, | |
0.00567193603515625, | |
0.005916672229766846, | |
0.0058419198989868165, | |
0.005874688148498535, | |
0.005832704067230224, | |
0.006107135772705078, | |
0.00588595199584961, | |
0.005876736164093017, | |
0.005844992160797119, | |
0.005941247940063477, | |
0.005884928226470947, | |
0.005931007862091065, | |
0.00586137580871582, | |
0.005866496086120605, | |
0.005933055877685547, | |
0.005846047878265381, | |
0.005829631805419922, | |
0.005854207992553711, | |
0.005840896129608154, | |
0.005780479907989502, | |
0.005799935817718506, | |
0.005806079864501953, | |
0.00588595199584961, | |
0.005810175895690918, | |
0.005814271926879883, | |
0.005890048027038574, | |
0.005839871883392334, | |
0.005843967914581299, | |
0.005896192073822021, | |
0.005801983833312988, | |
0.0058726401329040525, | |
0.005908480167388916, | |
0.0058787841796875, | |
0.0058009600639343266, | |
0.005825535774230957, | |
0.0058726401329040525, | |
0.0058787841796875, | |
0.005848063945770264, | |
0.005829631805419922, | |
0.005833727836608887, | |
0.00581324815750122, | |
0.005825535774230957, | |
0.0058419198989868165, | |
0.005811200141906738, | |
0.00582860803604126, | |
0.00581324815750122, | |
0.005879807949066162, | |
0.005810175895690918, | |
0.005859327793121338, | |
0.005823488235473633, | |
0.00587775993347168, | |
0.005847040176391601, | |
0.005818367958068848, | |
0.005843967914581299, | |
0.005829631805419922, | |
0.005860352039337159, | |
0.005855231761932373, | |
0.0058757119178771975 | |
], | |
"count": 174, | |
"total": 1.0014161591529842, | |
"mean": 0.005755265282488418, | |
"p50": 0.005728256225585937, | |
"p90": 0.00588595199584961, | |
"p95": 0.005917030549049377, | |
"p99": 0.006029393796920778, | |
"stdev": 0.00011584342349521495, | |
"stdev_": 2.012825088144807 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 347.5078735441462 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.971080812499666e-08, | |
"ram": 3.8092493060972737e-08, | |
"gpu": 1.6047725256470572e-07, | |
"total": 2.682805537506752e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7454882.480445032 | |
} | |
} | |
} | |
} |