
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
44e9be5
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.285632, | |
"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.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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.8304, | |
"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.217978515625, | |
"mean": 7.217978515625, | |
"stdev": 0.0, | |
"p50": 7.217978515625, | |
"p90": 7.217978515625, | |
"p95": 7.217978515625, | |
"p99": 7.217978515625, | |
"values": [ | |
7.217978515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.187287754482694e-07, | |
"ram": 4.879218371226557e-07, | |
"gpu": 0.0, | |
"total": 1.4066506125709252e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 880.898048, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 1.003561085700989, | |
"mean": 0.0054541363353314614, | |
"stdev": 0.0002917097769708451, | |
"p50": 0.005416959762573242, | |
"p90": 0.005506150436401368, | |
"p95": 0.005595494365692138, | |
"p99": 0.007077560234069817, | |
"values": [ | |
0.007590911865234375, | |
0.007702527999877929, | |
0.006972415924072266, | |
0.005568511962890625, | |
0.005681151866912842, | |
0.005450751781463623, | |
0.006004767894744873, | |
0.005312511920928955, | |
0.005079040050506592, | |
0.00505241584777832, | |
0.005119999885559082, | |
0.005137407779693603, | |
0.005039103984832764, | |
0.005093376159667969, | |
0.005032959938049316, | |
0.005033984184265137, | |
0.0050124797821044925, | |
0.0050462718009948735, | |
0.005145599842071533, | |
0.005486591815948487, | |
0.005422080039978027, | |
0.005399551868438721, | |
0.006111231803894043, | |
0.005454847812652588, | |
0.0054579200744628905, | |
0.0055214080810546875, | |
0.005440512180328369, | |
0.005419007778167725, | |
0.005442560195922852, | |
0.005381120204925537, | |
0.005416959762573242, | |
0.005419007778167725, | |
0.005489664077758789, | |
0.005426176071166992, | |
0.005406720161437988, | |
0.005442560195922852, | |
0.005436416149139404, | |
0.005388288021087646, | |
0.005432320117950439, | |
0.005416959762573242, | |
0.00556441593170166, | |
0.005668863773345947, | |
0.005437439918518067, | |
0.005410816192626953, | |
0.005404672145843506, | |
0.005392384052276611, | |
0.005391359806060791, | |
0.005407743930816651, | |
0.005420032024383545, | |
0.005400576114654541, | |
0.005447679996490478, | |
0.005429247856140137, | |
0.005426176071166992, | |
0.005436416149139404, | |
0.005406720161437988, | |
0.005444608211517334, | |
0.005473279953002929, | |
0.005421055793762207, | |
0.0053821439743042, | |
0.005413887977600097, | |
0.00541593599319458, | |
0.005407743930816651, | |
0.005389311790466309, | |
0.005387263774871826, | |
0.005409791946411133, | |
0.005398528099060058, | |
0.005403647899627686, | |
0.005425151824951172, | |
0.005437439918518067, | |
0.00551423978805542, | |
0.005420032024383545, | |
0.005395455837249756, | |
0.005425151824951172, | |
0.005405695915222168, | |
0.005476352214813233, | |
0.00542310380935669, | |
0.005437439918518067, | |
0.005421055793762207, | |
0.005420032024383545, | |
0.00542310380935669, | |
0.0054579200744628905, | |
0.005453824043273926, | |
0.005422080039978027, | |
0.005437439918518067, | |
0.005441535949707031, | |
0.005416959762573242, | |
0.005421055793762207, | |
0.0055203838348388675, | |
0.005440512180328369, | |
0.005437439918518067, | |
0.00553984022140503, | |
0.005600255966186523, | |
0.00541593599319458, | |
0.005402624130249023, | |
0.005438464164733887, | |
0.005433343887329102, | |
0.005451776027679443, | |
0.005513216018676758, | |
0.005469183921813964, | |
0.005408768177032471, | |
0.005433343887329102, | |
0.005369855880737305, | |
0.005388288021087646, | |
0.005414912223815918, | |
0.00535756778717041, | |
0.005375999927520752, | |
0.005399551868438721, | |
0.005375999927520752, | |
0.005400576114654541, | |
0.005406720161437988, | |
0.00538316822052002, | |
0.005384191989898681, | |
0.0053975038528442385, | |
0.005393407821655274, | |
0.005388288021087646, | |
0.005412864208221436, | |
0.005391359806060791, | |
0.005387263774871826, | |
0.005370880126953125, | |
0.005533696174621582, | |
0.005464064121246338, | |
0.005403647899627686, | |
0.005409791946411133, | |
0.005459968090057373, | |
0.005395455837249756, | |
0.005408768177032471, | |
0.005452799797058106, | |
0.005484543800354004, | |
0.00540880012512207, | |
0.005436416149139404, | |
0.0053944320678710935, | |
0.00541593599319458, | |
0.005430272102355957, | |
0.005468160152435303, | |
0.005465087890625, | |
0.0053678078651428224, | |
0.0053944320678710935, | |
0.005393407821655274, | |
0.005395455837249756, | |
0.005448703765869141, | |
0.005406720161437988, | |
0.005378047943115235, | |
0.005389311790466309, | |
0.005385216236114502, | |
0.005399551868438721, | |
0.005406720161437988, | |
0.005396480083465576, | |
0.005377024173736572, | |
0.005421055793762207, | |
0.005379072189331055, | |
0.005385216236114502, | |
0.005371903896331787, | |
0.0053534722328186036, | |
0.005401599884033203, | |
0.005429247856140137, | |
0.005386240005493164, | |
0.005430272102355957, | |
0.005412864208221436, | |
0.005400576114654541, | |
0.005485568046569824, | |
0.005439487934112549, | |
0.005396480083465576, | |
0.005412864208221436, | |
0.005391359806060791, | |
0.005412864208221436, | |
0.005477375984191894, | |
0.005410816192626953, | |
0.005410848140716552, | |
0.005440512180328369, | |
0.005455872058868408, | |
0.005481472015380859, | |
0.005447679996490478, | |
0.005409791946411133, | |
0.005401599884033203, | |
0.006245376110076905, | |
0.005926943778991699, | |
0.005481472015380859, | |
0.005432320117950439, | |
0.005484543800354004, | |
0.0055214080810546875, | |
0.0054241280555725096, | |
0.005470208168029785, | |
0.005414912223815918, | |
0.005484543800354004 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.34708531616263 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.231142676364609e-08, | |
"ram": 3.406664997466853e-08, | |
"gpu": 1.3562437750526247e-07, | |
"total": 2.3200245424357713e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4310299.23049913 | |
} | |
} | |
} | |
} |