"examples/tensorflow/rgcn/entity_classify.py" did not exist on "31a7d50964ae1c9d5693661567e7a3e034383bd7"
Unverified Commit 14e8bd88 authored by Yongtong Wu's avatar Yongtong Wu Committed by GitHub
Browse files

Free metadata_buffer_index after transfer finished (#5364)

parent adca585b
......@@ -226,6 +226,11 @@ class SchedulerDisaggregationPrefillMixin:
elif poll == KVPoll.Failed:
raise Exception("Transferring failed")
for req in done_reqs:
self.disagg_prefill_pending_queue.req_to_metadata_buffer_idx_allocator.free(
req.metadata_buffer_index
)
# Stream requests which have finished transfer
self.stream_output(done_reqs, False, None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment