fix(dsv4): drop stale pp_size=1 guard for V4 PD disaggregation (#25771)

This commit is contained in:
ybyang
2026-05-20 10:57:23 +08:00
committed by GitHub
parent d69e9fbfdc
commit ca29c2b0e7
@@ -51,13 +51,6 @@ def apply_deepseek_v4_defaults(server_args: "ServerArgs", model_arch: str) -> No
f"Setting swa_full_tokens_ratio to {server_args.swa_full_tokens_ratio} for {model_arch}."
)
if server_args.disaggregation_mode != "null" and server_args.pp_size > 1:
# get_mla_kv_ptrs_with_pp cannot slice V4's buffer-type-organized
# flat KV ptrs by PP layer range.
raise ValueError(
f"V4 PD disaggregation requires pp_size=1, got pp_size={server_args.pp_size}."
)
def validate_deepseek_v4_cp(server_args: "ServerArgs") -> None:
"""Validate DeepSeek V4 context-parallel configuration."""