Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion python/sglang/srt/disaggregation/mooncake/conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,12 @@ def add_transfer_request(
)
return

if bootstrap_room not in self.transfer_infos:
# This means that the current rank is a dummy rank for this request,
# and it has already been marked as success, so there is no need to
# add further chunks into the transfer queue.
return

# NOTE(shangming): sharding according to the dst_infos to make sure
# requests with the same dst_sessions will be added into the same
# queue, which enables early abort with failed sessions.
Expand All @@ -578,7 +584,6 @@ def add_transfer_request(
prefill_aux_index=aux_index,
)
)
self.update_status(bootstrap_room, KVPoll.WaitingForInput)

def check_status(self, bootstrap_room: int):
return self.request_status[bootstrap_room]
Expand Down
Loading