From 5c2de3f35567ffceec6cea86ba18e075692e9101 Mon Sep 17 00:00:00 2001 From: Byron Hsu Date: Mon, 14 Sep 2026 09:20:37 -0700 Subject: [PATCH] [PD] Preserve the prefill rank during rebootstrap (#39357) Co-authored-by: Byron Hsu --- python/sglang/srt/managers/schedule_batch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/srt/managers/schedule_batch.py b/python/sglang/srt/managers/schedule_batch.py index b2036984b..199dac90c 100755 --- a/python/sglang/srt/managers/schedule_batch.py +++ b/python/sglang/srt/managers/schedule_batch.py @@ -2016,6 +2016,7 @@ class Req(ReqDllmMixin): "extra_key": self.extra_key, "cache_salt": self.cache_salt, "routing_key": self.routing_key, + "routed_dp_rank": self.disagg_prefill_dp_rank, "disagg_prefill_dp_rank": self.disagg_prefill_dp_rank, }