mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-11-05 01:07:39 +00:00
[PR #96] [MERGED] Fix Kimi tokenizer and CUDA payload loading #96
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#96
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/96
Author: @yyj6666667
Created: 9/12/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @yyj6666667
Base:
main← Head:fix/kimi-tiktoken-guidance-20260912📝 Commits (5)
2e46727fix(kimi): initialize llguidance from native tiktoken encodingb89594atest(kimi): follow repository import ordering634b05efix(packaging): preserve wheel-relative CUDA payload pathsd9749d3style(kimi): format tokenizer factory call for CI95eae11test: focus Kimi tokenizer and payload layout coverage📊 Changes
4 files changed (+102 additions, -3 deletions)
View changed files
📝
python/sglang/srt/constrained/llguidance_backend.py(+20 -1)📝
sgl-kernel/python/sgl_kernel/payload_runtime.py(+4 -2)➕
test/registered/unit/test_llguidance_kimi_tokenizer.py(+50 -0)➕
test/registered/unit/test_payload_runtime_layout.py(+28 -0)📄 Description
What does this PR do?
Two production files, +24/-3 lines, with two focused test files. The packaging counterpart is kvcache-ai/ktransformers#2204.
Tests
No model weights, attention kernels, or training runtime changes. Not a release sign-off.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.