fix: vision check uses get_parallel().pp_group (get_pp_group undefined in this tree)
build-sglang-image / build (push) Successful in 27m58s

This commit is contained in:
2026-09-23 18:05:57 +08:00
parent f23179ce99
commit db7d2cb7db
+1 -1
View File
@@ -4903,7 +4903,7 @@ class DeepseekV4ForCausalLM(nn.Module):
and not getattr(config, "language_model_only", False)
):
if (
get_pp_group().world_size != 1
get_parallel().pp_group.world_size != 1
or not _v41_vision_a2a_supported()
):
raise ValueError(