DocumentationDevelopment

Released engine interface audit

The selected source/package pins are official vLLM 0.31.0 (db9527a46873454610df6dbedf79a36d6bf1a7f6) and SGLang 0.5.22 (baa9befa381511cd4d56f83980951e5a45fffc6d). The SGLang migration passes official installed CPU and Qwen3-8B dense DRAM/io_uring byte/model/restart controls. Earlier accepted 0.5.21 workloads retain their original scope. The completion plan is the execution queue; this page describes consumed contracts.

Official runtime boundaries

EngineConsumed interfaceOwnership and current limit
vLLMKV Connector factory, scheduler allocation/lookup/save metadata, worker registration/layer waits/preemption/resultsEngine owns GPU pages; V1 and one attention cache group required
SGLangPackage plugin, public radix backend registration, UnifiedRadixCache and external linkerNative tree owns private load slots, locks, insertion and abort cleanup; Full/SWA only
vLLM P/DOfficial NixlConnector + MultiConnector and upstream routerNIXL owns live handoff; OrbitKV independently stores completed state
SGLang P/DOfficial disaggregation queues/backend and routerNative transport owns handoff; cache restores on P and saves on D

No engine fork, installed-file patch, custom P/D connector, handshake or proxy is required. Different engines do not automatically share compatible KV bytes.

SGLang 0.5.22 load completion

The released finish_layer_wise_loading(index) -> bool callback runs after forward, before loaded destinations can be inserted or released. OrbitKV waits for the whole native Restore and returns success only when every group has landed. A never-admitted cancelled batch may return false; unknown submission, timeout or lost completion raises while owners remain held. Logical failure and process disappearance do not prove physical completion.

The adapter delegates private destination allocation, tree insertion and native abort cleanup to the released wrapper. The old completed-load polling, custom _update_load implementation and recurrent component override are removed. Boundary/rank translation remains in RecoveryLinkerWrapper. Requests and match results use released prefix_len and device_prefix_len; request refresh uses refresh_fill_ids(). Source CPU controls are not installed model/GPU evidence.

Full and SWA are the released external-linker components. Recurrent/SSM, DSA/draft/auxiliary state and unsupported request rings are explicitly rejected until their complete recovery contract is consumed. Generic layout bytes do not qualify model output or page reuse.

Remaining internal Hooks

The public Hook registry does not make string targets stable APIs. Keep each correctness protection until a released replacement is actually consumed.

TargetPurposeRemoval gate
TpModelWorker.init_cuda_graphs BEFOREInstall stable restore events before Graph capture; cache factory runs laterReleased worker preparation callback plus actual eager/Graph restore and page-reuse gates
PrefillAdder.add_one_req AROUNDDefer pending SSD/peer lookup and preserve rank agreementReleased asynchronous lookup/admission contract plus miss/hit/cancel/rank gates
Scheduler._add_request_to_queue AROUND, opt-inOptional queued preparation/warmingReleased enqueue callback or remove optimization with matched workloads

The former Scheduler abort Hook, runner monkey patch and private P/D observers are removed. Plugin discovery stays lazy and opens no native/GPU resources for an unselected backend.

Upstream work and independent limits

  • vLLM #59410 tracks V2 recurrent preparation ordering. Official 0.32.0 still needs this contract; the selected runtime remains V1/one group. A contribution does not extend support.
  • SGLang worker preparation #44856 and pending admission #44873 are proposals, not consumed released APIs. Their contribution CPU evidence does not authorize removal of either safety Hook.
  • SGLang’s released device P/D timeout still lacks a full drain ACK. Host staging protection and ordinary cache completion do not qualify device P/D faults.
  • vLLM teardown race #48745 and #49000 retain their original failure/quarantine. A normal API exit is not proof of physical drain.

Native P/D is a composition candidate. Qualify cancellation, peer loss, partial submission, delayed ACK, restart and page reuse separately. Dynamic LoRA/live weight mutation, hybrid recovery, additional ranks and Graph shapes also need their own consumed lifecycle and installed model gates.

Historical evidence

The pre-migration audit retains prior release checks, contribution commits, accepted/failed controls and external artifact locations. No historic failure or qualification is overwritten by this interface migration. Current capability claims belong in compatibility and model recipes.