[Feature] Split #1303 Part 1: PD disaggregation scaffolding (#1863)

Signed-off-by: Jinheng Li <ahengljh@gmail.com>
This commit is contained in:
Jinheng authored and GitHub committed 2026-03-16 14:05:19 +08:00
1 parent 6a5fa588c6
commit 88caaf182b
5 files changed
+723

No files matched your search

@@ -0,0 +1,13 @@
"""Patched KV transfer connectors for PD disaggregation.
This package provides monkey-patched versions of vLLM's native KV transfer
connectors (e.g. MooncakeConnector) that fix the request-ID mismatch problem
in prefill-decode disaggregation.
vLLM's ``InputProcessor.assign_request_id()`` appends a random 8-char suffix
to each request ID internally. The prefill engine stores KV under its own
suffix, but the decode engine generates a *different* suffix — so it can never
find the KV data. The patched connector threads the prefill engine's internal
``remote_request_id`` through ``kv_transfer_params`` so the decode side can
reference the correct KV entry.
"""