
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c8c60ef
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 | |
}, | |
"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.227-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": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 813.7728, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08134246063232421 | |
], | |
"count": 1, | |
"total": 0.08134246063232421, | |
"mean": 0.08134246063232421, | |
"p50": 0.08134246063232421, | |
"p90": 0.08134246063232421, | |
"p95": 0.08134246063232421, | |
"p99": 0.08134246063232421, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1059.885056, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006737919807434082, | |
0.006542335987091064, | |
0.0064440321922302245, | |
0.006482944011688232, | |
0.006416384220123291, | |
0.0063907837867736815, | |
0.0065136637687683106, | |
0.006451200008392334, | |
0.006536191940307618, | |
0.0065147199630737306, | |
0.00643891191482544, | |
0.006489088058471679, | |
0.006427648067474365, | |
0.006348800182342529, | |
0.006409215927124024, | |
0.006435840129852295, | |
0.006820864200592041, | |
0.007144447803497315, | |
0.0064245758056640625, | |
0.006449151992797852, | |
0.0063805441856384275, | |
0.006261760234832763, | |
0.0063211522102355954, | |
0.006291456222534179, | |
0.00638156795501709, | |
0.0065146880149841305, | |
0.0063569917678833006, | |
0.006446080207824707, | |
0.006385663986206055, | |
0.00643993616104126, | |
0.006378496170043945, | |
0.006358016014099121, | |
0.00657203197479248, | |
0.0064204797744750975, | |
0.006478847980499268, | |
0.006500351905822754, | |
0.00637337589263916, | |
0.0065771517753601075, | |
0.006451200008392334, | |
0.006352896213531494, | |
0.006475776195526123, | |
0.00638976001739502, | |
0.006575104236602783, | |
0.0065372161865234375, | |
0.006405119895935059, | |
0.006471680164337158, | |
0.006338560104370118, | |
0.006498303890228272, | |
0.006347775936126709, | |
0.0062975997924804685, | |
0.006391808032989502, | |
0.0062863359451293946, | |
0.006462463855743408, | |
0.006378496170043945, | |
0.006385663986206055, | |
0.00653107213973999, | |
0.006416384220123291, | |
0.006358016014099121, | |
0.006337535858154297, | |
0.006284319877624512, | |
0.0063907837867736815, | |
0.006315008163452148, | |
0.006370304107666015, | |
0.006393856048583985, | |
0.0062740478515625, | |
0.006458367824554443, | |
0.006363135814666748, | |
0.006434815883636475, | |
0.006478847980499268, | |
0.006464511871337891, | |
0.006465536117553711, | |
0.0067041277885437015, | |
0.006509568214416504, | |
0.006482944011688232, | |
0.006359039783477783, | |
0.006418496131896973, | |
0.006435840129852295, | |
0.006370304107666015, | |
0.006371327877044678, | |
0.006295551776885986, | |
0.006482944011688232, | |
0.00636518383026123, | |
0.006328320026397705, | |
0.006261760234832763, | |
0.006173696041107178, | |
0.006952960014343262, | |
0.007137279987335205, | |
0.006554624080657959, | |
0.0066509442329406735, | |
0.006077439785003662, | |
0.006139904022216797, | |
0.006145023822784424, | |
0.006076416015625, | |
0.006095871925354004, | |
0.0061265921592712404, | |
0.005933055877685547, | |
0.005863423824310303, | |
0.005931007862091065, | |
0.006062079906463623, | |
0.006005760192871094, | |
0.005817344188690185, | |
0.0057794561386108395, | |
0.005816319942474365, | |
0.005734399795532226, | |
0.00587059211730957, | |
0.005777408123016357, | |
0.005843967914581299, | |
0.0059996161460876465, | |
0.006114304065704346, | |
0.0060928001403808595, | |
0.00608460807800293, | |
0.006096896171569824, | |
0.006194176197052002, | |
0.006087679862976075, | |
0.006114304065704346, | |
0.006074368000030517, | |
0.006055935859680176, | |
0.006032383918762207, | |
0.006032383918762207, | |
0.006054912090301514, | |
0.006111231803894043, | |
0.006098944187164307, | |
0.006071296215057373, | |
0.006069248199462891, | |
0.0060293121337890625, | |
0.006021120071411133, | |
0.006065152168273926, | |
0.006037504196166992, | |
0.006033408164978027, | |
0.006096896171569824, | |
0.006004735946655273, | |
0.006085631847381592, | |
0.0060590081214904785, | |
0.006128640174865723, | |
0.00601907205581665, | |
0.0060999679565429685, | |
0.006064127922058105, | |
0.006148096084594727, | |
0.006097919940948486, | |
0.006128640174865723, | |
0.006115327835083008, | |
0.006047743797302246, | |
0.006062079906463623, | |
0.006405119895935059, | |
0.006094848155975342, | |
0.006102015972137451, | |
0.006137856006622314, | |
0.006023168087005615, | |
0.006080512046813965, | |
0.006032383918762207, | |
0.006031360149383545, | |
0.006052864074707031, | |
0.006120448112487793, | |
0.006021120071411133, | |
0.006076416015625, | |
0.006020095825195313, | |
0.006043647766113281, | |
0.005994495868682862, | |
0.006061056137084961, | |
0.006057983875274659 | |
], | |
"count": 160, | |
"total": 1.0032754578590393, | |
"mean": 0.006270471611618996, | |
"p50": 0.006318080186843872, | |
"p90": 0.00651469120979309, | |
"p95": 0.00657520661354065, | |
"p99": 0.007028531203269958, | |
"stdev": 0.00024297353406419327, | |
"stdev_": 3.8748845240598904 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 318.95527543638985 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.116305981370756e-08, | |
"ram": 3.8886032319552475e-08, | |
"gpu": 1.6637405192814612e-07, | |
"total": 2.7642314406140614e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7235284.175610524 | |
} | |
} | |
} | |
} |