Repository navigation
[Fix] Unify pinned host pool release on graceful shutdown - #32029
Merged
Merged
Conversation
hnyls2002
requested review from
Ying1123,
hanming-lu,
merrymercy and
xiezhq-hermann
as code owners
July 22, 2026 07:56
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
hnyls2002
requested review from
ByronHsu,
HaiShaw,
ShangmingCai,
alphabetc1,
hzh0425,
ispobock,
sogalin and
yizhang2077
as code owners
July 22, 2026 07:56
Collaborator
Author
|
/rerun-test test_unified_radix_cache_kl_mamba.py test_hicache_storage.py |
Contributor
|
Results for 🚀 🚀 |
Jialin
added a commit
to Jialin/sglang
that referenced
this pull request
Jul 25, 2026
…eeComponents + controller Separate the pure tree (NodeId handles) from the per-component KV logic and the cache controller, so the tree core can move to Rust independently. Squashed from: - Split UnifiedRadixCache into RadixTreeCore + TreeComponents + controller - Address second-round audit findings - Apply pre-commit import fixes - Fix kv_canary walker fixture against the TreeCore split - Collect host frees during eviction walks; drain at the cache layer - Thread host_frees through the remaining eviction arms - Fix the fourth missed host_frees arm and harden the drains - Fold the paired eviction drains into _drain_frees - Address review renames - Move the size accessors to the end of UnifiedTreeCore - Drop the component-specific NodeId accessors from UnifiedTreeCore - Route component device-value access through generic TreeCore APIs - Port sgl-project#30468's eagle gating to UnifiedTreeCore - Fix lint: re-sort renamed action imports, re-black the test file - Fix import sort in unified_radix_cache - Split prepare hook into prepare_load_back / prepare_prefetch, adopt finalize_load_back - Pass req into build_load_back_spec, extract mamba_pool_idx tree-side - Guard set_component_device_value against Full, fix stale COMPONENT_REGISTRY comments - Port the load-back prepare/finalize hook unit tests from the mamba fix - Port the keeps-preexisting-slot load-back abort test - Port the abort/load-failure frees-unpublished-slot load-back tests from the mamba fix Includes trunk cooperation ports: sgl-project#30986 review-response delta, sgl-project#31230 mamba per-path state cap, sgl-project#32029 pinned host pool release.
Zhylkaaa
pushed a commit
to Zhylkaaa/sglang
that referenced
this pull request
Jul 29, 2026
Atituiset
pushed a commit
to Atituiset/sglang
that referenced
this pull request
Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #31746: route the userspace release of pinned host buffers through a single
BasePrefixCache.release_host_resources()interface, covering UnifiedRadixCache / HiMambaRadixCache / HostPoolGroup-backed pools and the decode offload manager, which were previously left to slow kernel-side unpinning at process reclaim.CI States
Latest PR Test (Base): ❌ Run #29902058044
Latest PR Test (Extra): ❌ Run #29902057831