mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-11-05 01:07:39 +00:00
[PR #51] feat(kse): port unified-sparse-kv KVCache Sparsity Engine from magicYang1573/sglang #51
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/sglang#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/sglang/pull/51
Author: @Copilot
Created: 5/26/2026
Status: 🔄 Open
Base:
main← Head:copilot/move-unified-sparse-kv📝 Commits (1)
6467cf5feat(kse): port unified-sparse-kv KVCache Sparsity Engine from magicYang1573/sglang📊 Changes
31 files changed (+5215 additions, -1 deletions)
View changed files
➕
docs/advanced_features/kv_cache_sparsity_engine-zh.md(+909 -0)➕
docs/advanced_features/kv_cache_sparsity_engine.md(+867 -0)📝
python/sglang/srt/layers/attention/base_attn_backend.py(+14 -1)➕
python/sglang/srt/layers/kse/README.md(+313 -0)➕
python/sglang/srt/layers/kse/__init__.py(+35 -0)➕
python/sglang/srt/layers/kse/adapters/__init__.py(+8 -0)➕
python/sglang/srt/layers/kse/adapters/flashattention_adapter.py(+130 -0)➕
python/sglang/srt/layers/kse/adapters/flashinfer_adapter.py(+167 -0)➕
python/sglang/srt/layers/kse/adapters/triton_adapter.py(+113 -0)➕
python/sglang/srt/layers/kse/base_adapter.py(+50 -0)➕
python/sglang/srt/layers/kse/base_policy.py(+93 -0)➕
python/sglang/srt/layers/kse/config.py(+18 -0)➕
python/sglang/srt/layers/kse/controller.py(+251 -0)➕
python/sglang/srt/layers/kse/policies/__init__.py(+7 -0)➕
python/sglang/srt/layers/kse/policies/quest.py(+258 -0)➕
python/sglang/srt/layers/kse/policies/streaming_llm.py(+107 -0)➕
python/sglang/srt/layers/kse/registry.py(+71 -0)➕
python/sglang/srt/layers/kse/types.py(+48 -0)📝
python/sglang/srt/model_executor/forward_batch_info.py(+5 -0)📝
python/sglang/srt/model_executor/model_runner.py(+65 -0)...and 11 more files
📄 Description
python/sglang/srt/layers/attention/base_attn_backend.pypython/sglang/srt/model_executor/forward_batch_info.pypython/sglang/srt/model_executor/model_runner.pypython/sglang/srt/server_args.py🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.