[bench] Support common prefix len config (for decode-only bench) (#29934)

Signed-off-by: Ming Yang <minos.future@gmail.com>
This commit is contained in:
Ming Yang
2025-12-05 10:26:52 +00:00
committed by GitHub
parent 65ee97288a
commit f16356fe36
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1221,6 +1221,12 @@ def add_cli_args(parser: argparse.ArgumentParser):
help="Repetition penalty sampling parameter. Only has effect on "
"openai-compatible backends.",
)
sampling_group.add_argument(
"--common-prefix-len",
type=int,
default=None,
help="Common prefix length shared by all prompts (used by random dataset)",
)
parser.add_argument(
"--tokenizer-mode",