
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
86ffafc
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"model": "google-bert/bert-base-uncased", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.283648, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.002632513523102, | |
"mean": 0.006596266536336196, | |
"stdev": 0.0004536546074674257, | |
"p50": 0.006574592113494873, | |
"p90": 0.006793932819366456, | |
"p95": 0.006947942399978637, | |
"p99": 0.009135513544082641, | |
"values": [ | |
0.010027008056640625, | |
0.009166848182678223, | |
0.00910540771484375, | |
0.007390207767486572, | |
0.007098368167877197, | |
0.007103487968444824, | |
0.006892543792724609, | |
0.006958079814910889, | |
0.006939648151397705, | |
0.006876160144805908, | |
0.006564864158630371, | |
0.006631423950195312, | |
0.006609951972961426, | |
0.006552576065063476, | |
0.006643712043762207, | |
0.006523903846740723, | |
0.0065812478065490725, | |
0.006601727962493896, | |
0.006591487884521485, | |
0.006653952121734619, | |
0.0066457920074462894, | |
0.0066375679969787596, | |
0.0066375679969787596, | |
0.0067983360290527345, | |
0.006646783828735352, | |
0.006718463897705078, | |
0.006673408031463623, | |
0.006646783828735352, | |
0.006744063854217529, | |
0.006663167953491211, | |
0.006599679946899414, | |
0.006623231887817383, | |
0.006643712043762207, | |
0.006576128005981445, | |
0.006643712043762207, | |
0.006626304149627686, | |
0.006565887928009034, | |
0.00648089599609375, | |
0.0066581439971923825, | |
0.006495232105255127, | |
0.006586368083953857, | |
0.006526976108551025, | |
0.006583295822143555, | |
0.006737919807434082, | |
0.00658739185333252, | |
0.0066641921997070315, | |
0.006685696125030518, | |
0.006576128005981445, | |
0.006662144184112549, | |
0.006652927875518798, | |
0.006549503803253174, | |
0.006583295822143555, | |
0.006650879859924317, | |
0.006618112087249756, | |
0.0066304001808166506, | |
0.006592512130737305, | |
0.00657919979095459, | |
0.006573056221008301, | |
0.006663167953491211, | |
0.0064880638122558594, | |
0.006598656177520752, | |
0.006758399963378906, | |
0.006542335987091064, | |
0.006647808074951172, | |
0.006589439868927002, | |
0.006446080207824707, | |
0.006501376152038574, | |
0.006491136074066162, | |
0.006563839912414551, | |
0.006597631931304931, | |
0.006564864158630371, | |
0.0066007041931152345, | |
0.006620160102844238, | |
0.006546432018280029, | |
0.006652927875518798, | |
0.006656000137329102, | |
0.006718463897705078, | |
0.006796288013458252, | |
0.006638591766357422, | |
0.006615039825439453, | |
0.006622208118438721, | |
0.0065484800338745115, | |
0.00653926420211792, | |
0.006598656177520752, | |
0.00648089599609375, | |
0.0065372161865234375, | |
0.00638156795501709, | |
0.006347775936126709, | |
0.0065474557876586915, | |
0.006456319808959961, | |
0.0062494721412658695, | |
0.006311935901641846, | |
0.0062494721412658695, | |
0.006464511871337891, | |
0.00633241605758667, | |
0.006617087841033936, | |
0.006772736072540283, | |
0.0067983360290527345, | |
0.006807551860809326, | |
0.006964223861694336, | |
0.006843391895294189, | |
0.006699007987976074, | |
0.006721536159515381, | |
0.006602752208709717, | |
0.006489088058471679, | |
0.006399072170257568, | |
0.006341631889343262, | |
0.00636518383026123, | |
0.006478847980499268, | |
0.006432767868041992, | |
0.006652927875518798, | |
0.006561791896820069, | |
0.006433792114257812, | |
0.006660096168518067, | |
0.006510591983795166, | |
0.0063539199829101565, | |
0.006395904064178467, | |
0.006325247764587402, | |
0.006371327877044678, | |
0.006298624038696289, | |
0.006334464073181153, | |
0.006344704151153564, | |
0.006309887886047363, | |
0.006355967998504639, | |
0.0063170561790466305, | |
0.006344704151153564, | |
0.006360064029693604, | |
0.006343711853027343, | |
0.0065075201988220215, | |
0.006449151992797852, | |
0.006352896213531494, | |
0.006400000095367431, | |
0.006336512088775635, | |
0.00638259220123291, | |
0.006312960147857666, | |
0.006354944229125976, | |
0.006336512088775635, | |
0.00633241605758667, | |
0.006407167911529541, | |
0.006292479991912842, | |
0.006362112045288086, | |
0.006307839870452881, | |
0.0061348161697387694, | |
0.006116352081298828, | |
0.006154240131378174, | |
0.006264832019805908, | |
0.006104063987731933, | |
0.0063170561790466305, | |
0.006100992202758789, | |
0.006162432193756104, | |
0.006094848155975342, | |
0.0061972479820251464 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.60090855810628 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.756185016514343e-08, | |
"ram": 4.2400926744734283e-08, | |
"gpu": 1.4629278224836364e-07, | |
"total": 2.6625555915824136e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3755790.125702798 | |
} | |
} | |
} | |
} |