
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ba6fe36
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.225-213.878.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 797.4912, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07944400024414063 | |
], | |
"count": 1, | |
"total": 0.07944400024414063, | |
"mean": 0.07944400024414063, | |
"p50": 0.07944400024414063, | |
"p90": 0.07944400024414063, | |
"p95": 0.07944400024414063, | |
"p99": 0.07944400024414063, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1053.114368, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.005901311874389649, | |
0.005895167827606201, | |
0.005675007820129394, | |
0.005558335781097412, | |
0.005420032024383545, | |
0.005638144016265869, | |
0.005772287845611572, | |
0.005618688106536865, | |
0.005605375766754151, | |
0.0055623679161071774, | |
0.00561356782913208, | |
0.005662720203399658, | |
0.0057487359046936035, | |
0.005601280212402344, | |
0.005596159934997558, | |
0.005623807907104492, | |
0.0056442880630493165, | |
0.005588992118835449, | |
0.0055808000564575196, | |
0.0055316481590271, | |
0.005603328227996827, | |
0.005560319900512695, | |
0.005462016105651855, | |
0.005974016189575195, | |
0.005740543842315674, | |
0.005831679821014404, | |
0.005796864032745362, | |
0.00577023983001709, | |
0.005804031848907471, | |
0.005814271926879883, | |
0.005835775852203369, | |
0.005497856140136719, | |
0.005616640090942383, | |
0.005544960021972656, | |
0.00563097620010376, | |
0.005615615844726562, | |
0.005661695957183838, | |
0.005563392162322998, | |
0.005571584224700928, | |
0.00568012809753418, | |
0.005590015888214111, | |
0.005576704025268555, | |
0.00547430419921875, | |
0.005607423782348633, | |
0.0058787841796875, | |
0.0059699201583862304, | |
0.006089727878570556, | |
0.005846015930175781, | |
0.005859327793121338, | |
0.005805056095123291, | |
0.0056483840942382815, | |
0.00552243185043335, | |
0.005472256183624268, | |
0.005389311790466309, | |
0.005392384052276611, | |
0.005497856140136719, | |
0.005626880168914795, | |
0.005910528182983398, | |
0.005974016189575195, | |
0.005819392204284668, | |
0.005783552169799804, | |
0.005692416191101074, | |
0.005792895793914795, | |
0.005730303764343261, | |
0.005796864032745362, | |
0.005743616104125977, | |
0.005795839786529541, | |
0.005727231979370117, | |
0.005774335861206055, | |
0.005824512004852295, | |
0.005873663902282715, | |
0.005661695957183838, | |
0.005631999969482422, | |
0.005626880168914795, | |
0.005620736122131348, | |
0.005649407863616943, | |
0.005667840003967285, | |
0.005608448028564453, | |
0.005537983894348145, | |
0.005526527881622314, | |
0.005557248115539551, | |
0.0055511040687561035, | |
0.005504000186920166, | |
0.0055582718849182125, | |
0.006135807991027832, | |
0.00582144021987915, | |
0.005758975982666016, | |
0.0056852478981018065, | |
0.005720064163208007, | |
0.005575679779052735, | |
0.005504000186920166, | |
0.005635104179382324, | |
0.005754879951477051, | |
0.005553152084350586, | |
0.005442560195922852, | |
0.005550079822540284, | |
0.005690368175506591, | |
0.0056145920753479005, | |
0.005730303764343261, | |
0.005633024215698243, | |
0.005731328010559082, | |
0.005699584007263184, | |
0.005739520072937012, | |
0.005784575939178467, | |
0.005816319942474365, | |
0.005889023780822754, | |
0.005601280212402344, | |
0.0055101442337036136, | |
0.006047743797302246, | |
0.005552127838134766, | |
0.005305344104766845, | |
0.005246975898742676, | |
0.00551423978805542, | |
0.005495808124542236, | |
0.005468160152435303, | |
0.00550707197189331, | |
0.005476448059082031, | |
0.005455872058868408, | |
0.005480447769165039, | |
0.005431295871734619, | |
0.0054560317993164065, | |
0.005478400230407715, | |
0.005436416149139404, | |
0.0054609918594360355, | |
0.005475327968597412, | |
0.0054568958282470706, | |
0.005438464164733887, | |
0.0054609918594360355, | |
0.0054988799095153805, | |
0.005496831893920898, | |
0.005527552127838135, | |
0.005459968090057373, | |
0.005471231937408447, | |
0.0054906878471374515, | |
0.005476352214813233, | |
0.005434368133544922, | |
0.005441535949707031, | |
0.00546611213684082, | |
0.00542310380935669, | |
0.005452799797058106, | |
0.005467135906219483, | |
0.005463039875030518, | |
0.005468160152435303, | |
0.005468160152435303, | |
0.005448703765869141, | |
0.0054282240867614745, | |
0.005499904155731201, | |
0.005476352214813233, | |
0.005509119987487793, | |
0.005410816192626953, | |
0.005371903896331787, | |
0.005400576114654541, | |
0.0053944320678710935, | |
0.005454847812652588, | |
0.005484543800354004, | |
0.005436416149139404, | |
0.005452799797058106, | |
0.005434368133544922, | |
0.005597311973571778, | |
0.005473279953002929, | |
0.005465087890625, | |
0.0054876160621643065, | |
0.00546611213684082, | |
0.005472256183624268, | |
0.005492735862731934, | |
0.0054609918594360355, | |
0.005448703765869141, | |
0.005468160152435303, | |
0.005464064121246338, | |
0.0054568958282470706, | |
0.005547008037567139, | |
0.005710847854614258, | |
0.005480447769165039, | |
0.0054579200744628905, | |
0.005631999969482422, | |
0.005593088150024414, | |
0.0052295680046081545, | |
0.0051773438453674315, | |
0.005144576072692871 | |
], | |
"count": 179, | |
"total": 1.001259808063507, | |
"mean": 0.0055936302126452925, | |
"p50": 0.005560319900512695, | |
"p90": 0.0058198018074035645, | |
"p95": 0.005889638185501099, | |
"p99": 0.006056980295181274, | |
"stdev": 0.0001673017949454244, | |
"stdev_": 2.9909341265929954 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.7747780930067 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.365885227272703e-08, | |
"ram": 3.478264085649047e-08, | |
"gpu": 1.2463319536899494e-07, | |
"total": 2.230746884982124e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4482803.525277649 | |
} | |
} | |
} | |
} |