
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ac05fa2
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.285632, | |
"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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.895936, | |
"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.23152294921875, | |
"mean": 7.23152294921875, | |
"stdev": 0.0, | |
"p50": 7.23152294921875, | |
"p90": 7.23152294921875, | |
"p95": 7.23152294921875, | |
"p99": 7.23152294921875, | |
"values": [ | |
7.23152294921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.215293659104241e-07, | |
"ram": 4.887302038682151e-07, | |
"gpu": 1.6750013400006203e-06, | |
"total": 3.0852609097792596e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 881.020928, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 193, | |
"total": 0.9999862728118899, | |
"mean": 0.005181276024932071, | |
"stdev": 0.00016944287189430448, | |
"p50": 0.005182464122772217, | |
"p90": 0.005341798305511475, | |
"p95": 0.005532057666778565, | |
"p99": 0.00570851322174072, | |
"values": [ | |
0.005691391944885254, | |
0.0059054079055786135, | |
0.005677055835723877, | |
0.005628928184509278, | |
0.005587967872619629, | |
0.005538815975189209, | |
0.005581823825836182, | |
0.005527552127838135, | |
0.00606822395324707, | |
0.005508096218109131, | |
0.005079040050506592, | |
0.0050769920349121095, | |
0.005071872234344482, | |
0.005105663776397705, | |
0.005026815891265869, | |
0.005092351913452148, | |
0.0050800638198852536, | |
0.005041152000427246, | |
0.00505241584777832, | |
0.005037055969238281, | |
0.005156864166259765, | |
0.005090303897857666, | |
0.005054463863372802, | |
0.005094399929046631, | |
0.0050728960037231445, | |
0.005041152000427246, | |
0.005078015804290771, | |
0.005040128231048584, | |
0.0050432000160217285, | |
0.005018623828887939, | |
0.005212160110473632, | |
0.005306367874145508, | |
0.005256192207336426, | |
0.005292031764984131, | |
0.005204991817474365, | |
0.005216256141662597, | |
0.00522547197341919, | |
0.005227519989013672, | |
0.005222400188446045, | |
0.005192704200744629, | |
0.0052367358207702636, | |
0.0052295680046081545, | |
0.005184512138366699, | |
0.005100543975830078, | |
0.005047296047210693, | |
0.005057536125183106, | |
0.005186560153961181, | |
0.005203968048095703, | |
0.005193727970123291, | |
0.005185535907745361, | |
0.005232639789581299, | |
0.005025792121887207, | |
0.0050360321998596195, | |
0.005146624088287354, | |
0.005212160110473632, | |
0.005186560153961181, | |
0.005224448204040527, | |
0.005235712051391602, | |
0.005169151782989502, | |
0.005158912181854248, | |
0.0052336640357971195, | |
0.005214208126068115, | |
0.005320703983306885, | |
0.005216256141662597, | |
0.005312511920928955, | |
0.0052111358642578124, | |
0.005239808082580567, | |
0.005186560153961181, | |
0.005190656185150146, | |
0.005173247814178467, | |
0.005246975898742676, | |
0.0051660799980163576, | |
0.005180416107177735, | |
0.005201920032501221, | |
0.005021696090698242, | |
0.004998144149780274, | |
0.005026815891265869, | |
0.005022719860076904, | |
0.005008384227752686, | |
0.005097472190856934, | |
0.005182464122772217, | |
0.00505241584777832, | |
0.0050124797821044925, | |
0.005022719860076904, | |
0.005031936168670655, | |
0.005001215934753418, | |
0.005005311965942383, | |
0.005131264209747314, | |
0.005172224044799805, | |
0.005188608169555664, | |
0.005154816150665284, | |
0.005189631938934326, | |
0.005198847770690918, | |
0.005223423957824707, | |
0.005164031982421875, | |
0.005242879867553711, | |
0.005169151782989502, | |
0.005181439876556396, | |
0.0053012480735778805, | |
0.00506060791015625, | |
0.00502784013748169, | |
0.005037055969238281, | |
0.005030943870544434, | |
0.0050769920349121095, | |
0.005137407779693603, | |
0.005249023914337158, | |
0.005194752216339111, | |
0.005155839920043945, | |
0.005032959938049316, | |
0.005025792121887207, | |
0.0050206718444824215, | |
0.004998144149780274, | |
0.0051066880226135255, | |
0.005220352172851562, | |
0.0050063362121582035, | |
0.004988927841186524, | |
0.005014527797698975, | |
0.005026815891265869, | |
0.004994048118591309, | |
0.005000192165374756, | |
0.005154816150665284, | |
0.005676032066345215, | |
0.005203968048095703, | |
0.005284863948822022, | |
0.00521830415725708, | |
0.005377024173736572, | |
0.005306367874145508, | |
0.005327871799468994, | |
0.005349376201629639, | |
0.00535859203338623, | |
0.005342207908630371, | |
0.005284863948822022, | |
0.005348415851593018, | |
0.005331967830657959, | |
0.005285888195037842, | |
0.0053350400924682614, | |
0.005343232154846191, | |
0.005259263992309571, | |
0.005340159893035889, | |
0.005273600101470947, | |
0.005201920032501221, | |
0.005188608169555664, | |
0.005223423957824707, | |
0.005157887935638428, | |
0.0052705278396606445, | |
0.005235712051391602, | |
0.005235712051391602, | |
0.005210112094879151, | |
0.005269504070281982, | |
0.005516287803649903, | |
0.005186560153961181, | |
0.005223423957824707, | |
0.005212160110473632, | |
0.005285888195037842, | |
0.0050462718009948735, | |
0.005031936168670655, | |
0.0050135040283203125, | |
0.004976640224456787, | |
0.005007359981536865, | |
0.0050032639503479, | |
0.005088255882263183, | |
0.005213183879852295, | |
0.00522649621963501, | |
0.00502784013748169, | |
0.004994048118591309, | |
0.004984831809997559, | |
0.005028863906860351, | |
0.005001215934753418, | |
0.005004288196563721, | |
0.005070847988128662, | |
0.0051773438453674315, | |
0.005588992118835449, | |
0.005426176071166992, | |
0.005283840179443359, | |
0.005276671886444092, | |
0.005184512138366699, | |
0.005202943801879883, | |
0.005178368091583252, | |
0.005197824001312256, | |
0.005169151782989502, | |
0.005044223785400391, | |
0.004978687763214112, | |
0.005037055969238281, | |
0.005015552043914795, | |
0.005185535907745361, | |
0.005195775985717774, | |
0.005183487892150879, | |
0.00517632007598877, | |
0.0050022401809692385, | |
0.004971519947052002, | |
0.005007359981536865, | |
0.004988927841186524, | |
0.00499507188796997 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 193.00264938367388 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.068382082747765e-08, | |
"ram": 3.3177888647205175e-08, | |
"gpu": 1.3064352855102375e-07, | |
"total": 2.245052380257066e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4454239.058268639 | |
} | |
} | |
} | |
} |