mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-11-05 01:07:39 +00:00
[PR #80] [perf] Overlap GLM-5-Next FP8 layerwise prefill transport #80
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#80
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/80
Author: @yyj6666667
Created: 8/16/2026
Status: 🔄 Open
Base:
feat/glm5-next-0808← Head:glm5-next-session-ab📝 Commits (6)
ddbb164refactor: use single-slot GLM layerwise prefillf4c760fperf(moe): overlap GLM FP8 layerwise transport429286cfeat(glm5-next): support SM86 and SM89 consumer GPUs487892cfeat(glm5-next): support multiple images per requeste4121b2fix(glm5-next): preserve multi-image boundaries845f7ffMerge pull request #2 from yyj6666667/glm5-next-multi-image📊 Changes
33 files changed (+6147 additions, -2814 deletions)
View changed files
➕
examples/chat_template/glm5_next_multimodal.jinja(+28 -0)📝
python/sglang/srt/configs/glm5_next.py(+56 -1)📝
python/sglang/srt/layers/attention/linear/kernels/glm5_next_kda_ops.py(+33 -9)➕
python/sglang/srt/layers/attention/nsa/glm5_next_indexer_triton.py(+386 -0)📝
python/sglang/srt/layers/attention/nsa/glm5_next_sparse_attention.py(+37 -4)📝
python/sglang/srt/layers/attention/nsa/kpool_fp8_index.py(+598 -2)📝
python/sglang/srt/layers/attention/nsa/kpool_plan.py(+31 -1)📝
python/sglang/srt/layers/attention/nsa/nsa_indexer_kpool.py(+112 -37)📝
python/sglang/srt/layers/attention/nsa_backend.py(+43 -11)📝
python/sglang/srt/layers/moe/kt_ep_wrapper.py(+1392 -1543)📝
python/sglang/srt/mem_cache/glm5_next_memory_pool.py(+16 -0)📝
python/sglang/srt/mem_cache/memory_pool.py(+40 -2)📝
python/sglang/srt/model_executor/model_runner.py(+0 -19)📝
python/sglang/srt/model_executor/model_runner_kv_cache_mixin.py(+11 -7)📝
python/sglang/srt/multimodal/processors/glm5_next.py(+255 -27)📝
python/sglang/srt/server_args.py(+57 -34)➕
scripts/glm5_next_consumer_gpu_compile.py(+636 -0)📝
scripts/glm5_next_session_c_final_acceptance.py(+255 -117)📝
scripts/glm5_next_session_c_graph_acceptance.py(+1 -1)📝
scripts/glm5_next_session_c_qa_gsm_graph_acceptance.py(+3 -3)...and 13 more files
📄 Description
Summary
The path is hard-gated to exact GLM-5-Next, block-FP8, TP=4, gpu_experts=0, raw Triton MoE. Legacy transport, MXFP4, BF16, and other models retain their existing paths.
Depends on kvcache-ai/ktransformers#2160.
Validation
This PR is submitted for review only and must not be auto-merged.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.