[Model] Fix missing maybe_prefix (#42280)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-05-11 09:04:06 +00:00
committed by GitHub
parent b1b59720b2
commit 9efdddca28
25 changed files with 49 additions and 29 deletions
+4 -1
View File
@@ -930,7 +930,10 @@ class HunyuanV1ModelBase(
self.config = config
self.quant_config = quant_config
self.model = HunYuanModel(vllm_config=vllm_config, prefix="model")
self.model = HunYuanModel(
vllm_config=vllm_config,
prefix=maybe_prefix(prefix, "model"),
)
if get_pp_group().is_last_rank:
self.lm_head = ParallelLMHead(
config.vocab_size,