
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a9d7337
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.453824, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 176, | |
"total": 1.0005698890686037, | |
"mean": 0.005685056187889792, | |
"stdev": 0.00018778386529304993, | |
"p50": 0.005624832153320313, | |
"p90": 0.00591923189163208, | |
"p95": 0.005955072045326233, | |
"p99": 0.006055679798126221, | |
"values": [ | |
0.006340608119964599, | |
0.00588595199584961, | |
0.006079487800598145, | |
0.005944320201873779, | |
0.00602726411819458, | |
0.005922815799713135, | |
0.005991424083709717, | |
0.00588595199584961, | |
0.006021120071411133, | |
0.005883903980255127, | |
0.005929984092712402, | |
0.005913599967956543, | |
0.005929984092712402, | |
0.005774335861206055, | |
0.005746687889099121, | |
0.005755904197692871, | |
0.005881855964660645, | |
0.005852159976959229, | |
0.0060067839622497555, | |
0.005888000011444092, | |
0.00587775993347168, | |
0.005896192073822021, | |
0.005839871883392334, | |
0.005876736164093017, | |
0.0058726401329040525, | |
0.005917695999145508, | |
0.005852159976959229, | |
0.005893119812011719, | |
0.005818367958068848, | |
0.00587059211730957, | |
0.005837823867797852, | |
0.00586240005493164, | |
0.00586956787109375, | |
0.005796864032745362, | |
0.0057292799949646, | |
0.005731328010559082, | |
0.005805056095123291, | |
0.005739520072937012, | |
0.005831679821014404, | |
0.005806079864501953, | |
0.005859327793121338, | |
0.005888000011444092, | |
0.005953536033630371, | |
0.005931007862091065, | |
0.005933055877685547, | |
0.005855231761932373, | |
0.005810175895690918, | |
0.005810175895690918, | |
0.005880832195281982, | |
0.005874688148498535, | |
0.005850111961364746, | |
0.005865471839904785, | |
0.0057784318923950195, | |
0.005796864032745362, | |
0.005826560020446778, | |
0.005827583789825439, | |
0.005943295955657959, | |
0.00582041597366333, | |
0.0058091521263122555, | |
0.005917695999145508, | |
0.005833727836608887, | |
0.0058009600639343266, | |
0.005848063945770264, | |
0.005810175895690918, | |
0.005912576198577881, | |
0.005896192073822021, | |
0.005986303806304932, | |
0.005912576198577881, | |
0.005920767784118652, | |
0.005855231761932373, | |
0.005891071796417236, | |
0.005795839786529541, | |
0.005816319942474365, | |
0.0058388481140136715, | |
0.005728256225585937, | |
0.005739520072937012, | |
0.0055848960876464845, | |
0.005620736122131348, | |
0.005715968132019043, | |
0.005743616104125977, | |
0.006047743797302246, | |
0.0055552000999450684, | |
0.005582848072052002, | |
0.005541888236999512, | |
0.005602303981781006, | |
0.005526527881622314, | |
0.005628928184509278, | |
0.005730303764343261, | |
0.005634047985076904, | |
0.005709824085235596, | |
0.005854207992553711, | |
0.005732351779937744, | |
0.00552243185043335, | |
0.005506048202514649, | |
0.005607423782348633, | |
0.005509119987487793, | |
0.005557248115539551, | |
0.0055285758972167965, | |
0.005578752040863037, | |
0.005599232196807862, | |
0.0054988799095153805, | |
0.005483520030975342, | |
0.005550079822540284, | |
0.00547430419921875, | |
0.0056852478981018065, | |
0.005493760108947754, | |
0.005481472015380859, | |
0.005530623912811279, | |
0.005499904155731201, | |
0.00553984022140503, | |
0.005532671928405761, | |
0.005484543800354004, | |
0.005518335819244385, | |
0.005468160152435303, | |
0.0055101442337036136, | |
0.005513216018676758, | |
0.005499904155731201, | |
0.005509119987487793, | |
0.005476352214813233, | |
0.005473279953002929, | |
0.00552345609664917, | |
0.005473279953002929, | |
0.005502975940704345, | |
0.005506048202514649, | |
0.005478400230407715, | |
0.005508096218109131, | |
0.005500927925109863, | |
0.005733376026153565, | |
0.005549056053161621, | |
0.005560319900512695, | |
0.005493760108947754, | |
0.00550707197189331, | |
0.005471231937408447, | |
0.005499904155731201, | |
0.00553984022140503, | |
0.0054876160621643065, | |
0.005544960021972656, | |
0.005489664077758789, | |
0.005512191772460938, | |
0.0054906878471374515, | |
0.005488639831542969, | |
0.0054917120933532714, | |
0.005499904155731201, | |
0.005472256183624268, | |
0.005527552127838135, | |
0.005475327968597412, | |
0.005517312049865723, | |
0.005509119987487793, | |
0.005541888236999512, | |
0.005481472015380859, | |
0.0054906878471374515, | |
0.005445631980895996, | |
0.005959680080413818, | |
0.0054609918594360355, | |
0.005571584224700928, | |
0.0054906878471374515, | |
0.005472256183624268, | |
0.005501952171325684, | |
0.005477375984191894, | |
0.0055244798660278325, | |
0.005493760108947754, | |
0.005497856140136719, | |
0.005500927925109863, | |
0.005489664077758789, | |
0.005479423999786377, | |
0.005540895938873291, | |
0.005578752040863037, | |
0.005517312049865723, | |
0.005494783878326416, | |
0.005475327968597412, | |
0.005516287803649903, | |
0.005489664077758789, | |
0.005581823825836182, | |
0.005525504112243652, | |
0.005478400230407715, | |
0.0054876160621643065 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 175.8997566515143 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.446039533471919e-08, | |
"ram": 3.515062395066357e-08, | |
"gpu": 1.3280791405407322e-07, | |
"total": 2.3241893333945598e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4302575.464191917 | |
} | |
} | |
} | |
} |