[Bugfix] Qwen3-VL(-MoE): pass architectures to with_hf_config for pipeline parallelism (#43272)

Signed-off-by: Xonder <xonder@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Alexander Crettenand
2026-09-10 14:49:35 +01:00
committed by GitHub
co-authored by Claude
parent 364679feab
commit 7d8d71e989
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -1892,7 +1892,10 @@ class Qwen3VLForConditionalGeneration(
with self._mark_language_model(vllm_config):
self.language_model = Qwen3LLMForCausalLM(
vllm_config=vllm_config.with_hf_config(config.text_config),
vllm_config=vllm_config.with_hf_config(
config.text_config,
architectures=["Qwen3ForCausalLM"],
),
prefix=maybe_prefix(prefix, "language_model"),
)
+4 -1
View File
@@ -275,7 +275,10 @@ class Qwen3VLMoeForConditionalGeneration(
with self._mark_language_model(vllm_config):
self.language_model = Qwen3MoeLLMForCausalLM(
vllm_config=vllm_config.with_hf_config(config.text_config),
vllm_config=vllm_config.with_hf_config(
config.text_config,
architectures=["Qwen3MoeForCausalLM"],
),
prefix=maybe_prefix(prefix, "language_model"),
)