[Core] Scope PCP-DP validation to GPU manager (#54523)

Signed-off-by: QiuChunshuo <qiuchunshuo@huawei.com>
This commit is contained in:
Qiu Chunshuo
2026-09-08 08:18:01 -07:00
committed by GitHub
parent 8e1f97e709
commit 7c2f1ff495
3 changed files with 12 additions and 2 deletions
-2
View File
@@ -547,8 +547,6 @@ class ParallelConfig:
tp = self.tensor_parallel_size
pcp = self.prefill_context_parallel_size
dcp = self.decode_context_parallel_size
if pcp > 1 and self.data_parallel_size > 1:
raise ValueError("PCP does not support data parallelism yet.")
if pcp == 1:
# DCP reuses the TP ranks when PCP is disabled.
if tp % dcp != 0: