[BugFix] Forward CLI --tokenizer to per-stage engine configs (#3120)

Signed-off-by: Chen-Yo Sun <chenyo.sun@mistral.ai>
This commit is contained in:
Chen-Yo Sun authored and GitHub committed 2026-05-07 06:43:01 +08:00
1 parent 81ab2f98da
commit 56ca5d9a8f
5 files changed
+101 -4

No files matched your search

+3 -4
View File
@@ -438,10 +438,9 @@ class OrchestratorArgs:
parallel_config: Any = None
# === Multi-stage guards ===
# --tokenizer is captured here so it does not propagate to every stage
# uniformly (different stages often need different tokenizers, e.g.
# qwen3_omni thinker vs talker). Users wanting a per-stage tokenizer
# should set it in the deploy YAML.
# --tokenizer is captured by the orchestrator and forwarded to stages
# only when the stage does not define tokenizer/tokenizer_subdir itself.
# Users wanting a per-stage tokenizer should set it in the deploy YAML.
tokenizer: str | None = None