
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
991943f
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.224-212.876.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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 792.256512, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.9848017578125, | |
"mean": 7.9848017578125, | |
"stdev": 0.0, | |
"p50": 7.9848017578125, | |
"p90": 7.9848017578125, | |
"p95": 7.9848017578125, | |
"p99": 7.9848017578125, | |
"values": [ | |
7.9848017578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.3821303361108745e-06, | |
"ram": 1.2787255428924481e-06, | |
"gpu": 3.520558371999591e-06, | |
"total": 7.1814142510029135e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1047.605248, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 185, | |
"total": 1.0000549783706665, | |
"mean": 0.0054057025857873866, | |
"stdev": 0.000146589151225299, | |
"p50": 0.005378047943115235, | |
"p90": 0.005560319900512695, | |
"p95": 0.005706803321838379, | |
"p99": 0.005873950748443603, | |
"values": [ | |
0.005736447811126709, | |
0.005860352039337159, | |
0.005859327793121338, | |
0.005631999969482422, | |
0.005706751823425293, | |
0.005628928184509278, | |
0.00570681619644165, | |
0.0056258559226989744, | |
0.005594111919403076, | |
0.005690368175506591, | |
0.0064430079460144046, | |
0.005718016147613526, | |
0.005435391902923584, | |
0.005478400230407715, | |
0.005429247856140137, | |
0.005384223937988281, | |
0.005454847812652588, | |
0.005409791946411133, | |
0.005412864208221436, | |
0.005464064121246338, | |
0.005400576114654541, | |
0.005341184139251709, | |
0.005416959762573242, | |
0.005406720161437988, | |
0.005222400188446045, | |
0.005246975898742676, | |
0.005184512138366699, | |
0.005193727970123291, | |
0.005254144191741943, | |
0.0051773438453674315, | |
0.005303296089172363, | |
0.005377024173736572, | |
0.005387263774871826, | |
0.0053637118339538575, | |
0.005775360107421875, | |
0.0053606400489807126, | |
0.005422080039978027, | |
0.005438464164733887, | |
0.005368832111358642, | |
0.005350399971008301, | |
0.005433343887329102, | |
0.005387263774871826, | |
0.005436416149139404, | |
0.0053534722328186036, | |
0.005379072189331055, | |
0.005402624130249023, | |
0.005389311790466309, | |
0.005339136123657226, | |
0.005414912223815918, | |
0.005391359806060791, | |
0.005361663818359375, | |
0.005426176071166992, | |
0.005387263774871826, | |
0.005379072189331055, | |
0.005436416149139404, | |
0.005348351955413819, | |
0.005386240005493164, | |
0.005408768177032471, | |
0.005407743930816651, | |
0.005347328186035156, | |
0.0053309440612792965, | |
0.00526643180847168, | |
0.005272575855255127, | |
0.005310463905334473, | |
0.005269504070281982, | |
0.005253119945526123, | |
0.00530841588973999, | |
0.0052633600234985355, | |
0.0053678078651428224, | |
0.005425151824951172, | |
0.005395455837249756, | |
0.005554175853729248, | |
0.005452799797058106, | |
0.005337088108062744, | |
0.005405695915222168, | |
0.005379072189331055, | |
0.005372928142547607, | |
0.005419007778167725, | |
0.005414912223815918, | |
0.005371903896331787, | |
0.005436416149139404, | |
0.005396480083465576, | |
0.005396480083465576, | |
0.005426176071166992, | |
0.00537395191192627, | |
0.005332992076873779, | |
0.005429247856140137, | |
0.005352447986602784, | |
0.0053637118339538575, | |
0.005401599884033203, | |
0.005378047943115235, | |
0.005350399971008301, | |
0.005945343971252442, | |
0.005343232154846191, | |
0.005390336036682129, | |
0.005348351955413819, | |
0.0053647360801696775, | |
0.005386240005493164, | |
0.0053770880699157714, | |
0.005371903896331787, | |
0.005436416149139404, | |
0.005355519771575928, | |
0.005393407821655274, | |
0.005402624130249023, | |
0.005349376201629639, | |
0.00532480001449585, | |
0.0053944320678710935, | |
0.0053309440612792965, | |
0.0053534722328186036, | |
0.005419007778167725, | |
0.005332992076873779, | |
0.0053309440612792965, | |
0.005434368133544922, | |
0.005337088108062744, | |
0.005362688064575195, | |
0.005404672145843506, | |
0.005368832111358642, | |
0.00535859203338623, | |
0.005437439918518067, | |
0.00532480001449585, | |
0.005395455837249756, | |
0.005354496002197265, | |
0.005347328186035156, | |
0.005385216236114502, | |
0.005347328186035156, | |
0.005351424217224121, | |
0.005440512180328369, | |
0.005338111877441406, | |
0.005332992076873779, | |
0.005405695915222168, | |
0.005378047943115235, | |
0.005359615802764893, | |
0.00541593599319458, | |
0.005336063861846924, | |
0.005348351955413819, | |
0.00556441593170166, | |
0.005400576114654541, | |
0.005463039875030518, | |
0.005476352214813233, | |
0.005447679996490478, | |
0.005825535774230957, | |
0.0057784318923950195, | |
0.005692416191101074, | |
0.0055848960876464845, | |
0.0054282240867614745, | |
0.005504000186920166, | |
0.005436416149139404, | |
0.005339136123657226, | |
0.005448703765869141, | |
0.005336063861846924, | |
0.005370880126953125, | |
0.005380095958709717, | |
0.005355519771575928, | |
0.005429247856140137, | |
0.005435391902923584, | |
0.005322751998901368, | |
0.005362688064575195, | |
0.005384191989898681, | |
0.005340159893035889, | |
0.00532480001449585, | |
0.005375999927520752, | |
0.00532480001449585, | |
0.005336063861846924, | |
0.005339136123657226, | |
0.0053350400924682614, | |
0.005299200057983398, | |
0.005354496002197265, | |
0.005315584182739258, | |
0.0053606400489807126, | |
0.005389311790466309, | |
0.0053350400924682614, | |
0.005321728229522705, | |
0.00538316822052002, | |
0.0053012480735778805, | |
0.005323808193206787, | |
0.005346303939819336, | |
0.005350399971008301, | |
0.005322751998901368, | |
0.005398528099060058, | |
0.005350399971008301, | |
0.005250048160552978, | |
0.005212160110473632, | |
0.005197824001312256, | |
0.005125120162963868, | |
0.005171199798583984 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.9898295605809 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.09211891025679e-08, | |
"ram": 3.3286858880574195e-08, | |
"gpu": 1.3232204317948685e-07, | |
"total": 2.2653009116262897e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4414424.568796411 | |
} | |
} | |
} | |
} |