Skip to content

Commit 6144754

Browse files
authored
[Bugfix] Fix Qwen3-VL regression from #24982 (#25814)
Signed-off-by: Roger Wang <hey@rogerw.io>
1 parent 6931144 commit 6144754

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vllm/model_executor/models/qwen3_moe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(
107107
):
108108
super().__init__()
109109

110-
config = vllm_config.model_config.hf_config
110+
config = vllm_config.model_config.hf_text_config
111111
parallel_config = vllm_config.parallel_config
112112
quant_config = vllm_config.quant_config
113113

@@ -293,7 +293,7 @@ class Qwen3MoeDecoderLayer(nn.Module):
293293
def __init__(self, vllm_config: VllmConfig, prefix: str = "") -> None:
294294
super().__init__()
295295

296-
config = vllm_config.model_config.hf_config
296+
config = vllm_config.model_config.hf_text_config
297297
cache_config = vllm_config.cache_config
298298
quant_config = vllm_config.quant_config
299299

@@ -372,7 +372,7 @@ class Qwen3MoeModel(nn.Module):
372372
def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
373373
super().__init__()
374374

375-
config = vllm_config.model_config.hf_config.get_text_config()
375+
config = vllm_config.model_config.hf_text_config
376376
quant_config = vllm_config.quant_config
377377
parallel_config = vllm_config.parallel_config
378378
eplb_config = parallel_config.eplb_config
@@ -586,7 +586,7 @@ class Qwen3MoeForCausalLM(nn.Module, SupportsPP, SupportsLoRA,
586586

587587
def __init__(self, *, vllm_config: VllmConfig, prefix: str = ""):
588588
super().__init__()
589-
config = vllm_config.model_config.hf_config
589+
config = vllm_config.model_config.hf_text_config
590590
quant_config = vllm_config.quant_config
591591
self.config = config
592592
self.quant_config = quant_config

0 commit comments

Comments
 (0)