Skip to content

[feature] Preserve SGLang cache namespaces across FlexKV operations - #304

Open
XingLiu1 wants to merge 1 commit into
mainfrom
codex/namespace-20260924
Open

XingLiu1 wants to merge 1 commit into
mainfrom
codex/namespace-20260924

Conversation

@XingLiu1

Copy link
Copy Markdown
Collaborator

SGLang requests with LoRA/extra-key or cache-salt identities need the same namespace for lookup, writeback and prefetch. Add optional namespace forwarding to all three connector operations and an explicit supports_cache_namespace capability. Unscoped callers preserve their existing keys; a chunked implementation must opt in only after forwarding the namespace through its sessions.

Paired with the namespace adapter update in sgl-project/sglang#31781. The pending chunked-prefetch branch #291 has a matching connector update; this PR targets main independently.

Validation: 15 connector protocol tests passed with CPU tensors and a mocked manager; applicable pre-commit hooks passed. This does not claim new GPU/model or cross-rank runtime validation.

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.

1 participant