[cp] assert dsv3.2 cp in pd decode mode (#16156)

This commit is contained in:
liupeng374
2025-12-31 09:24:46 +08:00
committed by GitHub
parent bc8b526eda
commit 75b72eb8b2

View File

@@ -1126,6 +1126,10 @@ class ServerArgs:
)
print_nsa_bool_env_vars()
if self.enable_nsa_prefill_context_parallel:
assert (
self.disaggregation_mode != "decode"
), "CP is only supported for prefill when PD disaggregation, please remove --enable-nsa-prefill-context-parallel."
else:
# DeepSeek V3/R1/V3.1