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
3 changes: 3 additions & 0 deletions python/sglang/srt/disaggregation/prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ def process_batch_result_disagg_prefill(

if copy_done is not None:
copy_done.synchronize()
if result.routed_experts_output is not None:
result.routed_experts_output.finalize()
result.routed_experts_output = None

logprob_pt = 0
# Transfer kv for prefill completed requests and add it into disagg_prefill_inflight_queue
Expand Down
Loading