Skip to content

Linhu/kvcr 45650 land - #6

Merged
ziqifan617 merged 4 commits into
ziqifan617:ziqifan617/kvcr-direct-linkerfrom
linhu-nv:linhu/kvcr-45650-land
Nov 4, 2026
Merged

ziqifan617 merged 4 commits into
ziqifan617:ziqifan617/kvcr-direct-linkerfrom
linhu-nv:linhu/kvcr-45650-land

Conversation

@linhu-nv

@linhu-nv linhu-nv commented Nov 4, 2026

Copy link
Copy Markdown

Updates the linker branch behind sgl-project#45650 for KVCR 0.2.0 (KVCR main 5d5fa15, which has sgl-project#133 and sgl-project#161).

Validation: linker unit tests 46 passed against KVCR 5d5fa15; kvcr#129 quick start (head 0e13ac6) run as written on 2x H20 (Qwen3-32B TP1), peer reuse 4224/4268 tokens, remote_deliver/source_write telemetry with no failures, no hint warnings. Requires KVCR >= 5d5fa15.

mkhazraee and others added 4 commits November 3, 2026 11:07
…erface

Signed-off-by: Moein Khazraee <moein@nvidia.com>
(cherry picked from commit 02f0fb9)
A batch drains only after its forward, so the owner kept polling with
sleep(0) and competing for the GIL long after the last layer landed. Spin
only while transfers are in flight.
Pack the owned rows of all of a layer's buffers into one staging tensor
instead of issuing one NCCL all-gather per buffer.
KVCR now converts keys through encode/decode_to/from_framework and
encode/decode_to/from_router. Linker keys are already KVCR keys; the router
key is the page hash prefix, which spans every pool, so it has no inverse.
@ziqifan617
ziqifan617 merged commit 72fbc5b into ziqifan617:ziqifan617/kvcr-direct-linker Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants