[Bugfix][Qwen3-VL] Fix pipeline-parallel deepstack initialization (#42394)

Signed-off-by: MrZ20 <2609716663@qq.com>
This commit is contained in:
SILONG ZENG
2026-05-13 10:58:42 +00:00
committed by GitHub
parent 16863072ca
commit cee6751e54
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1697,7 +1697,7 @@ class Qwen3VLForConditionalGeneration(
if not get_pp_group().is_first_rank and hasattr(
config.vision_config, "deepstack_visual_indexes"
):
assert self.language_model.start_layer >= len(
assert self.language_model.model.start_layer >= len(
config.vision_config.deepstack_visual_indexes
), (
"start_layer should be greater than or equal to "
+1 -1
View File
@@ -454,7 +454,7 @@ class Qwen3VLMoeForConditionalGeneration(
if not get_pp_group().is_first_rank and hasattr(
config.vision_config, "deepstack_visual_indexes"
):
assert self.language_model.start_layer >= len(
assert self.language_model.model.start_layer >= len(
config.vision_config.deepstack_visual_indexes
), (
"start_layer should be greater than or equal to "