From 58c6b871b2a6465f49c8258dbf86c0eaa21771dd Mon Sep 17 00:00:00 2001 From: CYYYC0310 <142862027+cyyc0310@users.noreply.github.com> Date: Thu, 16 Apr 2026 11:25:31 +0800 Subject: [PATCH] Remove compatibility restriction between Pipeline Parallelism and Mixed Chunked Prefill (#22920) Co-authored-by: cyy --- python/sglang/srt/server_args.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python/sglang/srt/server_args.py b/python/sglang/srt/server_args.py index 0bc5db5d9..2390b3414 100644 --- a/python/sglang/srt/server_args.py +++ b/python/sglang/srt/server_args.py @@ -6465,10 +6465,8 @@ class ServerArgs: if self.pp_size > 1: assert ( - self.disable_overlap_schedule - and self.speculative_algorithm is None - and not self.enable_mixed_chunk - ), "Pipeline parallelism is not compatible with overlap schedule, speculative decoding, mixed chunked prefill." + self.disable_overlap_schedule and self.speculative_algorithm is None + ), "Pipeline parallelism is not compatible with overlap schedule, speculative decoding" assert not ( self.dp_size > 1 and self.nnodes != 1 and not self.enable_dp_attention