
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
db265cf
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.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": 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.261056, | |
"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.34.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 793.960448, | |
"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.94589990234375, | |
"mean": 7.94589990234375, | |
"stdev": 0.0, | |
"p50": 7.94589990234375, | |
"p90": 7.94589990234375, | |
"p95": 7.94589990234375, | |
"p99": 7.94589990234375, | |
"values": [ | |
7.94589990234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.419932923608185e-07, | |
"ram": 5.004309079066644e-07, | |
"gpu": 0.0, | |
"total": 1.442424200267483e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1049.411584, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 1.0050838384628298, | |
"mean": 0.005492261412365189, | |
"stdev": 0.00032365680138848744, | |
"p50": 0.005401599884033203, | |
"p90": 0.005647769641876221, | |
"p95": 0.005973196792602539, | |
"p99": 0.006924205999374398, | |
"values": [ | |
0.00784281587600708, | |
0.008042495727539062, | |
0.006722559928894043, | |
0.006045695781707764, | |
0.006045695781707764, | |
0.0059770879745483394, | |
0.006065152168273926, | |
0.006486015796661377, | |
0.005859327793121338, | |
0.005433343887329102, | |
0.005442560195922852, | |
0.005441535949707031, | |
0.005443583965301513, | |
0.005453824043273926, | |
0.005481472015380859, | |
0.005411839962005615, | |
0.005512191772460938, | |
0.005393407821655274, | |
0.005585919857025146, | |
0.005549056053161621, | |
0.005403647899627686, | |
0.005419007778167725, | |
0.005432320117950439, | |
0.005395455837249756, | |
0.005606400012969971, | |
0.005679103851318359, | |
0.005634047985076904, | |
0.005535744190216065, | |
0.005396480083465576, | |
0.005393407821655274, | |
0.005410816192626953, | |
0.005601280212402344, | |
0.005482495784759522, | |
0.00542310380935669, | |
0.005413887977600097, | |
0.005411839962005615, | |
0.005392384052276611, | |
0.005761023998260498, | |
0.005405695915222168, | |
0.005348351955413819, | |
0.005414912223815918, | |
0.00537395191192627, | |
0.00536678409576416, | |
0.005344255924224854, | |
0.005420032024383545, | |
0.005407743930816651, | |
0.005396480083465576, | |
0.005343232154846191, | |
0.005385216236114502, | |
0.0053821439743042, | |
0.005347328186035156, | |
0.00537497615814209, | |
0.005371903896331787, | |
0.005481472015380859, | |
0.00537395191192627, | |
0.005452799797058106, | |
0.0056483840942382815, | |
0.005350399971008301, | |
0.005407743930816651, | |
0.005345280170440674, | |
0.005390336036682129, | |
0.005395455837249756, | |
0.005352447986602784, | |
0.005434368133544922, | |
0.005338111877441406, | |
0.005331967830657959, | |
0.0053975038528442385, | |
0.005356544017791748, | |
0.0053309440612792965, | |
0.005380095958709717, | |
0.005369855880737305, | |
0.005401599884033203, | |
0.005468160152435303, | |
0.00537497615814209, | |
0.005509119987487793, | |
0.00546611213684082, | |
0.005518335819244385, | |
0.005344255924224854, | |
0.005369855880737305, | |
0.005315584182739258, | |
0.005384191989898681, | |
0.00535859203338623, | |
0.005352447986602784, | |
0.005326848030090332, | |
0.005369855880737305, | |
0.005315584182739258, | |
0.005864448070526123, | |
0.005386240005493164, | |
0.005393407821655274, | |
0.005392384052276611, | |
0.005416959762573242, | |
0.005338111877441406, | |
0.005408768177032471, | |
0.005332992076873779, | |
0.005352447986602784, | |
0.005624832153320313, | |
0.005337088108062744, | |
0.005325823783874512, | |
0.005368832111358642, | |
0.005318655967712403, | |
0.005450751781463623, | |
0.005350399971008301, | |
0.005530623912811279, | |
0.005417984008789062, | |
0.005350399971008301, | |
0.005375999927520752, | |
0.0057487359046936035, | |
0.0056780800819396975, | |
0.006155263900756836, | |
0.006080512046813965, | |
0.005938176155090332, | |
0.00553984022140503, | |
0.005467135906219483, | |
0.0055582718849182125, | |
0.005553152084350586, | |
0.005364799976348877, | |
0.005409791946411133, | |
0.00535756778717041, | |
0.005437439918518067, | |
0.0053534722328186036, | |
0.005393407821655274, | |
0.0053647360801696775, | |
0.005343232154846191, | |
0.005405695915222168, | |
0.005361663818359375, | |
0.005310463905334473, | |
0.005385216236114502, | |
0.00536678409576416, | |
0.005370880126953125, | |
0.00535756778717041, | |
0.005392384052276611, | |
0.005337088108062744, | |
0.005504000186920166, | |
0.005532671928405761, | |
0.005439487934112549, | |
0.005387263774871826, | |
0.005489664077758789, | |
0.005375999927520752, | |
0.005413887977600097, | |
0.005359615802764893, | |
0.005362688064575195, | |
0.005398528099060058, | |
0.005369855880737305, | |
0.005350399971008301, | |
0.005380095958709717, | |
0.005402624130249023, | |
0.005391359806060791, | |
0.00537497615814209, | |
0.005410816192626953, | |
0.005352447986602784, | |
0.005596159934997558, | |
0.005473279953002929, | |
0.00555622386932373, | |
0.005381120204925537, | |
0.0053637118339538575, | |
0.005313536167144775, | |
0.0053944320678710935, | |
0.005329919815063477, | |
0.005410816192626953, | |
0.005342207908630371, | |
0.005348415851593018, | |
0.005641215801239013, | |
0.005408768177032471, | |
0.005409791946411133, | |
0.005404672145843506, | |
0.005619711875915527, | |
0.0055203838348388675, | |
0.005436416149139404, | |
0.005386240005493164, | |
0.005437439918518067, | |
0.005645311832427978, | |
0.005432320117950439, | |
0.005706751823425293, | |
0.005541888236999512, | |
0.005427264213562012, | |
0.005378047943115235, | |
0.005385216236114502, | |
0.005368832111358642, | |
0.00537497615814209, | |
0.00535859203338623, | |
0.00547430419921875, | |
0.0054282240867614745, | |
0.005398528099060058 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 182.07436334851363 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.280263745958273e-08, | |
"ram": 3.433511294723796e-08, | |
"gpu": 1.250574192698401e-07, | |
"total": 2.2219516967666078e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4500547.880744679 | |
} | |
} | |
} | |
} |