Skip to content

[HiCache] Remove the unused HiRadixCache - #40787

Merged
hnyls2002 merged 3 commits into
mainfrom
lsyin/remove-hiradix-cache
Sep 22, 2026
Merged

hnyls2002 merged 3 commits into
mainfrom
lsyin/remove-hiradix-cache

Conversation

@hnyls2002

@hnyls2002 hnyls2002 commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

HiCache has gone through UnifiedRadixCache since #35081 (first released in v0.5.19), so HiRadixCache has no callers; remove it along with its helpers and tests.


CI States

Latest PR Test (Base): 🚫 Run #35794049522
Latest PR Test (Extra): ❌ Run #35794049148
Latest PR Test (AMD ROCm 10): 🚫 Run #35794049261

@mintlify

mintlify Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
sglang-doc 🟢 Ready View Preview Sep 22, 2026, 9:52 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@github-actions github-actions Bot added documentation Improvements or additions to documentation hicache Hierarchical Caching for SGLang unified-radix-cache labels Sep 22, 2026
@hnyls2002

Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci

@github-actions github-actions Bot added the run-ci CI: run the baseline test suite on this PR label Sep 22, 2026
@hnyls2002

Copy link
Copy Markdown
Collaborator Author

/rerun-test test_hicache_load_back_timing.py test_hicache_pp_sync_drain.py test_minimax_sparse_pool_host_unit.py test_radix_cache_unit.py test_decode_hicache_tree_core.py test_hicache_storage.py test_pp_with_hicache.py

@github-actions

github-actions Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Results for /rerun-test test_hicache_load_back_timing.py test_hicache_pp_sync_drain.py test_minimax_sparse_pool_host_unit.py test_radix_cache_unit.py test_decode_hicache_tree_core.py test_hicache_storage.py test_pp_with_hicache.py:

🚀 1-gpu-5090 (4 tests): ✅ View workflow run

cd test/ && python3 registered/unit/mem_cache/test_hicache_load_back_timing.py
cd test/ && python3 registered/unit/mem_cache/test_minimax_sparse_pool_host_unit.py
cd test/ && python3 registered/unit/mem_cache/test_radix_cache_unit.py
cd test/ && python3 registered/hicache/test_hicache_storage.py

🚀 ubuntu-latest (2 tests): ✅ View workflow run

cd test/ && python3 registered/unit/mem_cache/test_hicache_pp_sync_drain.py
cd test/ && python3 registered/unit/disaggregation/test_decode_hicache_tree_core.py

🚀 4-gpu-h100 (1 test): ✅ View workflow run

cd test/ && python3 registered/hicache/test_pp_with_hicache.py

@hnyls2002
hnyls2002 merged commit 4ce2354 into main Sep 22, 2026
110 of 166 checks passed
@hnyls2002
hnyls2002 deleted the lsyin/remove-hiradix-cache branch September 22, 2026 23:17
L4XB added a commit to L4XB/sglang that referenced this pull request Oct 5, 2026
HiRadixCache was removed in sgl-project#40787, so its removal-reason call sites go
with it. test_kv_events.py keeps both the new TestReplay class from main
and TestBlockRemovedReason.
detain added a commit to detain/sglang that referenced this pull request Oct 7, 2026
Brings in 311 upstream commits up to f209e67 (sgl-project#39643, 2026-09-28).

Conflict resolutions:
- qwen_sparse_attn_backend.py: keep the SM120 triton decode branch and FP8
  descales; adopt upstream's HIP packed-decode path and move the flash-attn
  resolve after it (matches the rebased sgl-project#36787 head).
- cuda_graph_setup.py: prewarm after EagerRunner(run_warmup=...) and in
  elastic recapture (as in the rebased sgl-project#36787 head).
- mega_moe.py: upstream flydsl early return + stack deep_gemm_wrapper import.
- hybrid_cache_controller.py: upstream per-chain sidecar batch_get_v2, wrapped
  in the stack's degrade-to-miss guard.
- unified_radix_cache.py: take upstream allocate_host_transfers (group.alloc
  already reclaims only the shortfall).
- hiradix_cache.py: accept upstream deletion (sgl-project#40787).
- hybrid_pool_assembler.py + its test, test_hc_mix.py: unions.
- qsa kernel tests follow the ops/qsa -> ops/attention/qsa move (sgl-project#41243).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation hicache Hierarchical Caching for SGLang run-ci CI: run the baseline test suite on this PR unified-radix-cache

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant