[refactor] Move trtllm_fp8_kv_kernel to triton_ops directory#15044
Merged
Fridge003 merged 2 commits intosgl-project:mainfrom Dec 14, 2025
Merged
[refactor] Move trtllm_fp8_kv_kernel to triton_ops directory#15044Fridge003 merged 2 commits intosgl-project:mainfrom
Fridge003 merged 2 commits intosgl-project:mainfrom
Conversation
Move trtllm_fp8_kv_kernel.py to python/sglang/srt/layers/attention/triton_ops/ for better code organization, as suggested in sgl-project#14553. Updated all import references accordingly. Tested with serving benchmark - no regression observed.
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Collaborator
Author
|
/tag-and-rerun-ci |
Collaborator
Author
|
a small followup pr to #14553, file position adjustment, pls review. @Fridge003 Thanks!! |
b8zhong
approved these changes
Dec 14, 2025
Collaborator
|
/tag-and-rerun-ci |
Fridge003
approved these changes
Dec 14, 2025
Collaborator
YChange01
pushed a commit
to YChange01/sglang
that referenced
this pull request
Jan 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

PR Description:
Move
trtllm_fp8_kv_kernel.pytopython/sglang/srt/layers/attention/triton_ops/forbetter code organization, as suggested in #14553.
@b8zhong @Fridge003
Updated all import references accordingly.
Testing
Tested with serving benchmark - no regression observed.
Command:
CUDA_LAUNCH_BLOCKING=1 python3 -m sglang.launch_server --model-path Qwen/Qwen3-235B-A22B-Instruct-2507-FP8 --trust-remote-code --tp 4 --attention-backend trtllm_mha --kv-cache-dtype fp8_e4m3