IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ea078aa
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "5", | |
"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": 2, | |
"sequence_length": 16, | |
"num_choices": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1098.534912, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4825.21088, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.09645404815673828 | |
], | |
"count": 1, | |
"total": 0.09645404815673828, | |
"mean": 0.09645404815673828, | |
"p50": 0.09645404815673828, | |
"p90": 0.09645404815673828, | |
"p95": 0.09645404815673828, | |
"p99": 0.09645404815673828, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1222.373376, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 231485.857792, | |
"max_reserved": 589.299712, | |
"max_allocated": 443.303936 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007593904972076416, | |
0.007072465896606445, | |
0.007087026119232178, | |
0.00715022611618042, | |
0.007038384914398193, | |
0.007087825775146484, | |
0.007029426097869873, | |
0.00703886604309082, | |
0.007078545093536377, | |
0.007115665912628174, | |
0.007060785770416259, | |
0.00709806489944458, | |
0.0070951862335205075, | |
0.007054386138916016, | |
0.007041745185852051, | |
0.007052465915679932, | |
0.007056305885314942, | |
0.0070996651649475094, | |
0.0070595059394836426, | |
0.007059986114501953, | |
0.007095345020294189, | |
0.007101426124572754, | |
0.007091825962066651, | |
0.007112625122070312, | |
0.007332785129547119, | |
0.00714206600189209, | |
0.007119026184082031, | |
0.007103984832763672, | |
0.007095985889434815, | |
0.007145905017852784, | |
0.0070839858055114745, | |
0.007187345027923584, | |
0.007129906177520752, | |
0.0071612648963928225, | |
0.007136146068572998, | |
0.007143986225128174, | |
0.0071331048011779785, | |
0.0071305460929870605, | |
0.007098225116729737, | |
0.007172145843505859, | |
0.007159504890441894, | |
0.007116786003112793, | |
0.0070859060287475585, | |
0.007304784774780274, | |
0.007129425048828125, | |
0.00716222620010376, | |
0.007133584976196289, | |
0.0071164660453796385, | |
0.007157105922698975, | |
0.0071422247886657715, | |
0.007171026229858398, | |
0.007135984897613526, | |
0.007115025997161865, | |
0.007136624813079834, | |
0.007128466129302979, | |
0.007181105136871338, | |
0.007117906093597412, | |
0.007157905101776123, | |
0.007153585910797119, | |
0.007162545204162598, | |
0.007135025978088379, | |
0.007145585060119629, | |
0.0070951862335205075, | |
0.007107666015625, | |
0.007114544868469238, | |
0.007089585781097412, | |
0.007157745838165283, | |
0.007179825782775879, | |
0.0074499049186706546, | |
0.008026384353637695, | |
0.00807598304748535, | |
0.00804526424407959, | |
0.008977102279663087, | |
0.008336783409118653, | |
0.008055343627929687, | |
0.007972143173217773, | |
0.00753470516204834, | |
0.007527824878692627, | |
0.007574864864349365, | |
0.007512303829193115, | |
0.007424944877624511, | |
0.007515504837036133, | |
0.007538865089416504, | |
0.007605905055999756, | |
0.007970384120941162, | |
0.007780304908752441, | |
0.007615664005279541, | |
0.007576624870300293, | |
0.007548144817352295, | |
0.007490064144134521, | |
0.007483184814453125, | |
0.00749054479598999, | |
0.007353105068206787, | |
0.007412304878234863, | |
0.007165746212005615, | |
0.007150545120239258, | |
0.007110705852508545, | |
0.007187664985656738, | |
0.007169425964355469, | |
0.007172625064849853, | |
0.007117745876312256, | |
0.007155505180358887, | |
0.007145746231079102, | |
0.00715918493270874, | |
0.007144145965576172, | |
0.007135984897613526, | |
0.007140625953674316, | |
0.00717118501663208, | |
0.007117745876312256, | |
0.0071164660453796385, | |
0.007142865180969239, | |
0.007157745838165283, | |
0.007131665229797363, | |
0.007164306163787841, | |
0.0071257448196411135, | |
0.0071500658988952635, | |
0.0071655850410461425, | |
0.0071262259483337404, | |
0.007157905101776123, | |
0.007163345813751221, | |
0.007157265186309814, | |
0.007145425796508789, | |
0.007101745128631592, | |
0.0071665458679199216, | |
0.007150705814361572, | |
0.0071214261054992675, | |
0.007165746212005615, | |
0.0071582250595092775, | |
0.007106066226959229, | |
0.007107504844665527, | |
0.007329744815826416, | |
0.007132145881652832, | |
0.0070999860763549805, | |
0.007127025127410889, | |
0.007124625205993653, | |
0.007105424880981446, | |
0.007079026222229004, | |
0.0070692658424377445 | |
], | |
"count": 138, | |
"total": 0.9998699798583983, | |
"mean": 0.007245434636655061, | |
"p50": 0.007143425703048706, | |
"p90": 0.007556160831451416, | |
"p95": 0.007970647978782653, | |
"p99": 0.00824028727531433, | |
"stdev": 0.00028560266520731765, | |
"stdev_": 3.9418292970643565 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 276.0358902255342 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |