
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
27d8d3f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"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": 759.218176, | |
"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.4401884765625, | |
"mean": 7.4401884765625, | |
"stdev": 0.0, | |
"p50": 7.4401884765625, | |
"p90": 7.4401884765625, | |
"p95": 7.4401884765625, | |
"p99": 7.4401884765625, | |
"values": [ | |
7.4401884765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.285896659729392e-07, | |
"ram": 4.935117864138421e-07, | |
"gpu": 1.69305690999981e-06, | |
"total": 3.1151583623865915e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 926.33088, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 188, | |
"total": 1.00118236875534, | |
"mean": 0.005325438131677343, | |
"stdev": 0.00024582029842923, | |
"p50": 0.005344768047332764, | |
"p90": 0.005644390392303467, | |
"p95": 0.005745561718940735, | |
"p99": 0.005899816999435424, | |
"values": [ | |
0.005810175895690918, | |
0.005952511787414551, | |
0.00577023983001709, | |
0.0057415680885314945, | |
0.005718016147613526, | |
0.005736447811126709, | |
0.005642240047454834, | |
0.005627903938293457, | |
0.005676032066345215, | |
0.0055808000564575196, | |
0.005598207950592041, | |
0.005568511962890625, | |
0.005577727794647217, | |
0.005577727794647217, | |
0.005617663860321045, | |
0.005601280212402344, | |
0.0055244798660278325, | |
0.005410816192626953, | |
0.005417984008789062, | |
0.005453824043273926, | |
0.005362688064575195, | |
0.005318655967712403, | |
0.00537497615814209, | |
0.0053944320678710935, | |
0.005404672145843506, | |
0.005368832111358642, | |
0.00537395191192627, | |
0.005776383876800537, | |
0.005557248115539551, | |
0.005517312049865723, | |
0.0055808000564575196, | |
0.005401599884033203, | |
0.005462016105651855, | |
0.0053975038528442385, | |
0.005425151824951172, | |
0.005368832111358642, | |
0.00537497615814209, | |
0.005338111877441406, | |
0.005398528099060058, | |
0.005351424217224121, | |
0.005395455837249756, | |
0.005362688064575195, | |
0.005391359806060791, | |
0.005321728229522705, | |
0.005185535907745361, | |
0.005204991817474365, | |
0.0052336640357971195, | |
0.005214208126068115, | |
0.0052930560111999515, | |
0.005302271842956543, | |
0.005327871799468994, | |
0.00537497615814209, | |
0.0055214080810546875, | |
0.005757952213287353, | |
0.005583871841430664, | |
0.005649407863616943, | |
0.005626880168914795, | |
0.005637119770050049, | |
0.005582848072052002, | |
0.005533696174621582, | |
0.005716991901397705, | |
0.005494783878326416, | |
0.005544960021972656, | |
0.0055797758102417, | |
0.005605375766754151, | |
0.005587967872619629, | |
0.0055623679161071774, | |
0.00541593599319458, | |
0.005386240005493164, | |
0.005314559936523438, | |
0.005243904113769531, | |
0.005386303901672363, | |
0.0057825279235839844, | |
0.005659647941589355, | |
0.0055101442337036136, | |
0.0056341438293457035, | |
0.00557260799407959, | |
0.005434368133544922, | |
0.005660672187805176, | |
0.005649407863616943, | |
0.005568511962890625, | |
0.005547008037567139, | |
0.005484543800354004, | |
0.005516287803649903, | |
0.005477375984191894, | |
0.005495808124542236, | |
0.005951488018035888, | |
0.005563392162322998, | |
0.005476352214813233, | |
0.00535859203338623, | |
0.005385216236114502, | |
0.005389311790466309, | |
0.005777408123016357, | |
0.005312511920928955, | |
0.005362688064575195, | |
0.005318655967712403, | |
0.00536575984954834, | |
0.005213183879852295, | |
0.0052674560546875, | |
0.005403647899627686, | |
0.005273600101470947, | |
0.005215231895446777, | |
0.005241856098175048, | |
0.005167103767395019, | |
0.005047296047210693, | |
0.005127168178558349, | |
0.005258240222930908, | |
0.005195775985717774, | |
0.004986879825592041, | |
0.004981760025024414, | |
0.005023744106292725, | |
0.0049725441932678225, | |
0.005001215934753418, | |
0.005040128231048584, | |
0.005123072147369385, | |
0.005403647899627686, | |
0.005398528099060058, | |
0.005463039875030518, | |
0.005441535949707031, | |
0.005532671928405761, | |
0.005747712135314941, | |
0.005420032024383545, | |
0.0054271998405456545, | |
0.005329919815063477, | |
0.00526643180847168, | |
0.005892096042633056, | |
0.005404672145843506, | |
0.005198847770690918, | |
0.005165056228637695, | |
0.005126143932342529, | |
0.005137407779693603, | |
0.005112832069396973, | |
0.005154816150665284, | |
0.005071872234344482, | |
0.005132287979125977, | |
0.005091328144073487, | |
0.0050503678321838375, | |
0.004965375900268554, | |
0.005116928100585938, | |
0.005129216194152832, | |
0.005108736038208008, | |
0.005123072147369385, | |
0.0050800638198852536, | |
0.005090303897857666, | |
0.005089280128479004, | |
0.005102591991424561, | |
0.0051066880226135255, | |
0.00501964807510376, | |
0.005094399929046631, | |
0.005078015804290771, | |
0.005131264209747314, | |
0.005058559894561767, | |
0.005054463863372802, | |
0.00496230411529541, | |
0.005094399929046631, | |
0.005051392078399658, | |
0.005105663776397705, | |
0.005096447944641113, | |
0.005092351913452148, | |
0.005101568222045898, | |
0.005156864166259765, | |
0.005087232112884522, | |
0.0049530878067016604, | |
0.004976640224456787, | |
0.004973567962646484, | |
0.005000192165374756, | |
0.004973567962646484, | |
0.004943871974945068, | |
0.005031936168670655, | |
0.004976640224456787, | |
0.00499507188796997, | |
0.004969471931457519, | |
0.00505241584777832, | |
0.00499507188796997, | |
0.004996096134185791, | |
0.004944896221160889, | |
0.004984831809997559, | |
0.004987904071807861, | |
0.004976640224456787, | |
0.005174272060394287, | |
0.005119999885559082, | |
0.005153791904449463, | |
0.0050954241752624516, | |
0.005116928100585938, | |
0.005134335994720459, | |
0.005096447944641113, | |
0.0051036162376403805, | |
0.0051036162376403805 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 187.77797718683325 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.887815130294345e-08, | |
"ram": 3.2133020043868386e-08, | |
"gpu": 1.2198717129702995e-07, | |
"total": 2.129983426438418e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4694872.211621464 | |
} | |
} | |
} | |
} |