
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9cf7113
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.293824, | |
"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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.1", | |
"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.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 713.740288, | |
"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.20985595703125, | |
"mean": 7.20985595703125, | |
"stdev": 0.0, | |
"p50": 7.20985595703125, | |
"p90": 7.20985595703125, | |
"p95": 7.20985595703125, | |
"p99": 7.20985595703125, | |
"values": [ | |
7.20985595703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.007019148932563e-06, | |
"ram": 5.01901706875382e-07, | |
"gpu": 1.8808348379996224e-06, | |
"total": 3.3897556938075674e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.513024, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 177, | |
"total": 1.0025739164352414, | |
"mean": 0.005664259414888371, | |
"stdev": 0.0004165114667407642, | |
"p50": 0.00561356782913208, | |
"p90": 0.005865676784515381, | |
"p95": 0.006344294548034666, | |
"p99": 0.007529652576446533, | |
"values": [ | |
0.007528416156768799, | |
0.0077547521591186525, | |
0.0075335679054260255, | |
0.007450623989105225, | |
0.007346176147460938, | |
0.0071485438346862796, | |
0.006696959972381592, | |
0.0056258559226989744, | |
0.005598207950592041, | |
0.005504000186920166, | |
0.005516287803649903, | |
0.005553152084350586, | |
0.005482495784759522, | |
0.005532671928405761, | |
0.005836800098419189, | |
0.005761023998260498, | |
0.005628928184509278, | |
0.0055920639038085935, | |
0.005690368175506591, | |
0.005761023998260498, | |
0.005736447811126709, | |
0.005835775852203369, | |
0.005864448070526123, | |
0.005810175895690918, | |
0.005858304023742676, | |
0.005796864032745362, | |
0.005979135990142822, | |
0.00567193603515625, | |
0.005763072013854981, | |
0.005830656051635743, | |
0.005851136207580566, | |
0.005941247940063477, | |
0.005823488235473633, | |
0.005827583789825439, | |
0.005807104110717773, | |
0.005804031848907471, | |
0.005728256225585937, | |
0.006168575763702393, | |
0.006310912132263183, | |
0.005895167827606201, | |
0.005808127880096436, | |
0.005745664119720459, | |
0.005605375766754151, | |
0.005733376026153565, | |
0.005652480125427246, | |
0.00568012809753418, | |
0.005725183963775635, | |
0.005594111919403076, | |
0.005756927967071533, | |
0.005739520072937012, | |
0.0057190399169921875, | |
0.005776383876800537, | |
0.005893119812011719, | |
0.005817344188690185, | |
0.0058009600639343266, | |
0.005536767959594726, | |
0.005497856140136719, | |
0.005863423824310303, | |
0.005701632022857666, | |
0.005672959804534912, | |
0.005818367958068848, | |
0.005753856182098388, | |
0.005781504154205322, | |
0.005697535991668701, | |
0.005745664119720459, | |
0.005793791770935058, | |
0.005702655792236328, | |
0.0056442880630493165, | |
0.005597184181213379, | |
0.005716991901397705, | |
0.005669888019561768, | |
0.00582144021987915, | |
0.0057118721008300784, | |
0.00561356782913208, | |
0.005677055835723877, | |
0.00568012809753418, | |
0.005413887977600097, | |
0.005482495784759522, | |
0.005780479907989502, | |
0.005738495826721191, | |
0.005669888019561768, | |
0.005803008079528809, | |
0.005776383876800537, | |
0.0058122239112854005, | |
0.005772287845611572, | |
0.005808127880096436, | |
0.005867519855499268, | |
0.005756927967071533, | |
0.005768191814422607, | |
0.005769216060638428, | |
0.005784575939178467, | |
0.005598207950592041, | |
0.005635072231292724, | |
0.005752831935882568, | |
0.005646336078643799, | |
0.005608448028564453, | |
0.005550079822540284, | |
0.00536678409576416, | |
0.005471231937408447, | |
0.005637152194976807, | |
0.0055797758102417, | |
0.005343232154846191, | |
0.005904384136199951, | |
0.005600255966186523, | |
0.005448703765869141, | |
0.005518335819244385, | |
0.0055623679161071774, | |
0.005631999969482422, | |
0.0064778242111206055, | |
0.00667852783203125, | |
0.005694464206695556, | |
0.005672959804534912, | |
0.005761023998260498, | |
0.0054568958282470706, | |
0.005450751781463623, | |
0.005393407821655274, | |
0.005401599884033203, | |
0.005420032024383545, | |
0.00538316822052002, | |
0.005396480083465576, | |
0.005436416149139404, | |
0.005979135990142822, | |
0.005443583965301513, | |
0.0053944320678710935, | |
0.0053534722328186036, | |
0.0053944320678710935, | |
0.005349376201629639, | |
0.0053606400489807126, | |
0.005433343887329102, | |
0.005325823783874512, | |
0.005328896045684814, | |
0.005352447986602784, | |
0.005313536167144775, | |
0.005350399971008301, | |
0.005361663818359375, | |
0.00535756778717041, | |
0.005369855880737305, | |
0.005387263774871826, | |
0.005380095958709717, | |
0.005350399971008301, | |
0.005407743930816651, | |
0.005312511920928955, | |
0.0053350720405578615, | |
0.005337088108062744, | |
0.005331967830657959, | |
0.00535756778717041, | |
0.005370880126953125, | |
0.005343232154846191, | |
0.005356544017791748, | |
0.005380095958709717, | |
0.0053637118339538575, | |
0.005449728012084961, | |
0.0053678078651428224, | |
0.00535756778717041, | |
0.005393407821655274, | |
0.005280767917633057, | |
0.005284863948822022, | |
0.005305344104766845, | |
0.005306367874145508, | |
0.0052674560546875, | |
0.005310463905334473, | |
0.00535756778717041, | |
0.005344255924224854, | |
0.005347328186035156, | |
0.005370880126953125, | |
0.005362688064575195, | |
0.005370880126953125, | |
0.005342207908630371, | |
0.005331967830657959, | |
0.005336063861846924, | |
0.005329919815063477, | |
0.005356544017791748, | |
0.00537395191192627, | |
0.005352447986602784, | |
0.005361728191375733, | |
0.005401599884033203, | |
0.005352447986602784 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 176.54558641356076 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.967143792003844e-08, | |
"ram": 3.262456675255153e-08, | |
"gpu": 1.2961065645225946e-07, | |
"total": 2.2190666112484942e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4506399.19924431 | |
} | |
} | |
} | |
} |