[Rust] Rename mem-cache to sglang-radix-tree - #37290
Merged
merrymercy merged 1 commit intoSep 1, 2026
Merged
Conversation
Jialin
requested review from
Fridge003,
HaiShaw,
Kangyan-Zhou,
Ying1123,
alphabetc1,
bingxche,
hanming-lu,
hnyls2002,
huangtingwei9988,
hzh0425,
ispobock,
merrymercy,
xiezhq-hermann and
yizhang2077
as code owners
August 31, 2026 19:20
Collaborator
Author
|
/run-failed-ci |
Collaborator
Author
|
/rerun-failed-ci
|
This was referenced Aug 31, 2026
hzh0425
approved these changes
Sep 1, 2026
1 task
StevenChenSE
pushed a commit
to StevenChenSE/sglang
that referenced
this pull request
Sep 6, 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.
Motivation
The Rust TreeCore crate was introduced as
mem-cache, which is broader than the implementation it contains and does not follow the naming convention of the other SGLang Rust crates.Rename it to
sglang-radix-treeso its ownership and purpose are explicit before follow-up feature work lands.Modifications
rust/mem-cachetorust/sglang-radix-tree.mem_cachetosglang-radix-tree.sglang.srt.mem_cache.rust_tree_core.mem_cachemem_cache_inspectionlibmem_cache.soAll moved Rust implementation and test sources are byte-identical; this PR changes crate identity and build wiring only.
Accuracy Tests
Not applicable: this PR does not change model execution or radix-tree behavior.
Validation performed:
cargo metadata --lockedpassed for both the standalone crate and root Rust workspace.Speed Tests and Profiling
Not applicable: no runtime implementation changed, and the generated extension/library ABI remains unchanged.
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): ✅ Run #33430010718
Latest PR Test (Extra): ✅ Run #33431372202
Latest PR Test (AMD ROCm 7.2): ❌ Run #33430010739