
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
fbfd13f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.252864, | |
"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.33.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": 784.195584, | |
"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.45474853515625, | |
"mean": 7.45474853515625, | |
"stdev": 0.0, | |
"p50": 7.45474853515625, | |
"p90": 7.45474853515625, | |
"p95": 7.45474853515625, | |
"p99": 7.45474853515625, | |
"values": [ | |
7.45474853515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.393430631942263e-07, | |
"ram": 4.990975706280372e-07, | |
"gpu": 0.0, | |
"total": 1.4384406338222636e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.802368, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 174, | |
"total": 1.004479518413544, | |
"mean": 0.005772870795480135, | |
"stdev": 0.0003498265162221616, | |
"p50": 0.0058444800376892085, | |
"p90": 0.005990502405166626, | |
"p95": 0.006019839906692505, | |
"p99": 0.007186032652854931, | |
"values": [ | |
0.00796569585800171, | |
0.008072192192077637, | |
0.006897664070129395, | |
0.006137856006622314, | |
0.006023168087005615, | |
0.00608460807800293, | |
0.005982207775115967, | |
0.006170623779296875, | |
0.005992447853088379, | |
0.00601087999343872, | |
0.005922815799713135, | |
0.00592793607711792, | |
0.005899263858795166, | |
0.00601087999343872, | |
0.005940224170684814, | |
0.005847040176391601, | |
0.005756927967071533, | |
0.005893119812011719, | |
0.005876736164093017, | |
0.005895167827606201, | |
0.005947391986846923, | |
0.005988351821899414, | |
0.005928959846496582, | |
0.00597811222076416, | |
0.005958655834197998, | |
0.005944320201873779, | |
0.005755904197692871, | |
0.0059361281394958495, | |
0.005949440002441406, | |
0.005980160236358643, | |
0.005931007862091065, | |
0.005971968173980713, | |
0.005949440002441406, | |
0.005947391986846923, | |
0.005938176155090332, | |
0.0058726401329040525, | |
0.005979135990142822, | |
0.005917695999145508, | |
0.006013951778411865, | |
0.005903359889984131, | |
0.005891071796417236, | |
0.005743616104125977, | |
0.005843967914581299, | |
0.005804031848907471, | |
0.005913599967956543, | |
0.0058419198989868165, | |
0.005959680080413818, | |
0.0058757119178771975, | |
0.005928959846496582, | |
0.005892096042633056, | |
0.006001664161682129, | |
0.005991424083709717, | |
0.005996543884277344, | |
0.005940224170684814, | |
0.00601804780960083, | |
0.0059023361206054685, | |
0.005914624214172363, | |
0.005849088191986084, | |
0.005848063945770264, | |
0.005971968173980713, | |
0.0059064321517944334, | |
0.005956607818603516, | |
0.00586240005493164, | |
0.005952511787414551, | |
0.005914624214172363, | |
0.005827583789825439, | |
0.0057784318923950195, | |
0.005938176155090332, | |
0.005847072124481201, | |
0.005909503936767578, | |
0.005948416233062744, | |
0.005893119812011719, | |
0.005797887802124023, | |
0.005880832195281982, | |
0.005904384136199951, | |
0.005910528182983398, | |
0.005881855964660645, | |
0.005850111961364746, | |
0.005909503936767578, | |
0.005831679821014404, | |
0.0059391999244689945, | |
0.005921792030334472, | |
0.006051839828491211, | |
0.00591974401473999, | |
0.005994495868682862, | |
0.005937151908874512, | |
0.005970943927764893, | |
0.00586137580871582, | |
0.005984255790710449, | |
0.005883903980255127, | |
0.005879807949066162, | |
0.005780479907989502, | |
0.006491136074066162, | |
0.005805056095123291, | |
0.0058716158866882326, | |
0.005788671970367432, | |
0.005679103851318359, | |
0.0056483840942382815, | |
0.005826560020446778, | |
0.005815296173095703, | |
0.005615615844726562, | |
0.005581823825836182, | |
0.005547008037567139, | |
0.005724160194396972, | |
0.005681151866912842, | |
0.00572108793258667, | |
0.005804031848907471, | |
0.005826560020446778, | |
0.005880832195281982, | |
0.005825535774230957, | |
0.005941247940063477, | |
0.0059770879745483394, | |
0.005844992160797119, | |
0.005583871841430664, | |
0.005577727794647217, | |
0.005623807907104492, | |
0.005559296131134033, | |
0.005641215801239013, | |
0.005567488193511963, | |
0.005506048202514649, | |
0.005530623912811279, | |
0.005458943843841553, | |
0.005497856140136719, | |
0.005434368133544922, | |
0.005464064121246338, | |
0.005469183921813964, | |
0.005476352214813233, | |
0.00541593599319458, | |
0.005448703765869141, | |
0.005393407821655274, | |
0.005439487934112549, | |
0.005443583965301513, | |
0.005398528099060058, | |
0.0053944320678710935, | |
0.005425151824951172, | |
0.005378047943115235, | |
0.005422080039978027, | |
0.005409791946411133, | |
0.005381120204925537, | |
0.005447679996490478, | |
0.005410816192626953, | |
0.005385216236114502, | |
0.0054609918594360355, | |
0.005370880126953125, | |
0.005746687889099121, | |
0.005586944103240967, | |
0.005499904155731201, | |
0.0054241280555725096, | |
0.00542310380935669, | |
0.0053944320678710935, | |
0.005441535949707031, | |
0.005380095958709717, | |
0.005399551868438721, | |
0.005497856140136719, | |
0.005411839962005615, | |
0.005387263774871826, | |
0.005442560195922852, | |
0.005375999927520752, | |
0.005395455837249756, | |
0.005433343887329102, | |
0.005405695915222168, | |
0.005431295871734619, | |
0.00542310380935669, | |
0.005396480083465576, | |
0.005547008037567139, | |
0.005403647899627686, | |
0.00538316822052002, | |
0.005419007778167725, | |
0.00541593599319458, | |
0.00538316822052002, | |
0.005445631980895996, | |
0.005380095958709717, | |
0.005414912223815918, | |
0.005421055793762207 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 173.22403972438622 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.381161186156216e-08, | |
"ram": 3.488609706862912e-08, | |
"gpu": 1.299582879569899e-07, | |
"total": 2.286559968871812e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4373381.908253208 | |
} | |
} | |
} | |
} |