[Rust] Use Dynamo native renderers when chat templates are missing (#38939)

This commit is contained in:
Kan Wu
2026-09-14 17:29:10 -07:00
committed by GitHub
parent 8874c51a96
commit 07e1918924
9 changed files with 222 additions and 47 deletions
+1
View File
@@ -69,6 +69,7 @@ def _build_server_args(scheduler: Scheduler) -> ServerArgs:
context_len=mc.context_len,
vocab_size=mc.vocab_size,
is_multimodal=mc.is_multimodal,
model_type=getattr(mc.hf_config, "model_type", None),
# Resolved default sampling params (generation_config.json when
# `--sampling-defaults model`, {} otherwise). The rust server
# consumes these for omitted temperature/top_p in chat