mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-11-05 01:07:39 +00:00
[PR #81] [MERGED] feat(glm5-next): support GLM-5.3-flash serving #83
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#83
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/81
Author: @yyj6666667
Created: 8/26/2026
Status: ✅ Merged
Merged: 8/26/2026
Merged by: @yyj6666667
Base:
main← Head:feat/glm5-next-video-tools-0808📝 Commits (10+)
695c70dfeat: add GLM-5-Next Session AB runtime9206288feat: complete GLM-5-Next Session C runtime226c54bfeat: prepare GLM-5-Next multimodal Session D640132afix: validate GLM-5-Next config with transformers-ktf2eb981fix: align GLM acceptance with runtime telemetryddbb164refactor: 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 boundaries📊 Changes
88 files changed (+34713 additions, -268 deletions)
View changed files
➕
examples/chat_template/glm5_next_multimodal.jinja(+218 -0)📝
python/pyproject.toml(+1 -1)➕
python/sglang/jit_kernel/csrc/nsa/kpool_topk_transform.cuh(+462 -0)➕
python/sglang/jit_kernel/kpool_topk_transform.py(+80 -0)➕
python/sglang/kernels/ops/layernorm/mhc.py(+284 -0)📝
python/sglang/srt/configs/__init__.py(+3 -0)➕
python/sglang/srt/configs/glm5_next.py(+629 -0)📝
python/sglang/srt/configs/model_config.py(+26 -3)📝
python/sglang/srt/entrypoints/openai/protocol.py(+1 -0)📝
python/sglang/srt/entrypoints/openai/serving_chat.py(+25 -12)📝
python/sglang/srt/function_call/base_format_detector.py(+6 -0)📝
python/sglang/srt/function_call/function_call_parser.py(+58 -1)📝
python/sglang/srt/function_call/glm47_moe_detector.py(+85 -1)📝
python/sglang/srt/layers/attention/attention_registry.py(+26 -0)📝
python/sglang/srt/layers/attention/hybrid_linear_attn_backend.py(+17 -0)➕
python/sglang/srt/layers/attention/linear/glm5_next_kda_backend.py(+214 -0)➕
python/sglang/srt/layers/attention/linear/kernels/glm5_next_kda.py(+122 -0)➕
python/sglang/srt/layers/attention/linear/kernels/glm5_next_kda_ops.py(+536 -0)➕
python/sglang/srt/layers/attention/nsa/glm5_next_indexer_logits.py(+353 -0)➕
python/sglang/srt/layers/attention/nsa/glm5_next_indexer_triton.py(+386 -0)...and 68 more files
📄 Description
Summary
Dependency
This branch requires
transformers-kt==5.6.0.post3for the GLM image/video processors. The package-ready source is pinned onkvcache-ai/transformersat commit3f97700; it has not been published to PyPI yet. Publication is intentionally handled by the coordinated KTransformers release workflow.Validation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.