Repository navigation
[diffusion] Fuse LongCat-Image QKNorm and interleaved RoPE - #35995
Merged
Merged
Conversation
BBuf
marked this pull request as ready for review
August 23, 2026 13:09
BBuf
requested review from
AgainstEntropy,
DarkSharpness,
HaiShaw,
HydraQYH,
celve,
mickqian,
ping1jing2,
yichiche,
yingluosanqian and
yuan-luo
as code owners
August 23, 2026 13:09
Collaborator
Author
|
/tag-and-rerun-ci extra |
BBuf
force-pushed
the
bbuf/longcat-interleaved-qknorm-rope
branch
from
August 23, 2026 14:01
c1f83ef to
bc41a9e
Compare
Collaborator
Author
|
/rerun-failed-ci |
1 similar comment
Collaborator
Author
|
/rerun-failed-ci |
longxin9715
added a commit
to longxin9715/sglang
that referenced
this pull request
Aug 24, 2026
…n-transport1 * 'main' of https://github.com/sgl-project/sglang: (326 commits) [diffusion] feat: cache LoRA-merged weights in files the page cache can hold (sgl-project#36062) [diffusion] Speed up LingBot high-quality VAE decode (sgl-project#36024) [diffusion] Honor XDG cache for model overlays (sgl-project#36019) Support streaming session on NPU (sgl-project#32597) fix(xpu): read enable_deterministic_inference from the config bag (sgl-project#36149) xeon ci fail fast strategy change (sgl-project#36146) [diffusion] Fix Hunyuan QKV pack indexing at production video shapes (sgl-project#36009) [diffusion] Refresh quality and BCG benchmark skills (sgl-project#36016) [MoE] Gather the cutlass MoE activation and its scales in one launch (sgl-project#34915) [diffusion] feat: add plain component weight overrides (sgl-project#36086) [diffusion] feat: support loading mixed w4a8 text encoders (sgl-project#36037) [diffusion] Default Hunyuan VAE to tiled decode (sgl-project#36012) fix(xpu): enable compressed-tensors FP8 W8A8 on XPU (RedHatAI FP8-dynamic models) (sgl-project#33057) chore: move cuda_vmm_utils.py under srt/utils/ (sgl-project#36053) [Intel XPU] Add xpu pass for biased_topk and hash_topk (sgl-project#33323) [CPU] Fix NUMA/core binding for DP ranks (sgl-project#32856) [Fix] Harden FlashAttention CUDA graph metadata bounds (sgl-project#35454) [XPU] Use a fused GDN kernel from sgl-kernel for Qwen3.5 (sgl-project#33354) [diffusion] Fuse LongCat-Image QKNorm and interleaved RoPE (sgl-project#35995) [diffusion] Keep LongLive2 components resident on large GPUs (sgl-project#35993) ... # Conflicts: # python/sglang/srt/multimodal/processors/base_processor.py # python/sglang/srt/server_args.py
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.
Summary
H200 results
Setup: 1x H200,
meituan-longcat/LongCat-Image, 1024x1024, 50 steps, seed 42.Prompt:
A red panda reading a book beside a sunlit window.The ABBA runs used the same process-level warmup policy and isolated model cache. The comparison baseline was
3c69a4c744525be0146629fc5933e3ddab609fb2; this branch is rebased ontob98d472158f707c11b39510fa8406253bbfd5008.Eager end-to-end
Breakable CUDA Graph
Every BCG cell captured and replayed the expected serving signature without fallback. I report the high-quality denoise stage because the end-to-end sample included a one-time VAE decode layout transition; it is not used as the PR gate.
Kernel/profile evidence
longcat_1024microbenchmark: 741.28 us split vs 54.46 us fused, 13.61x speedupOutput comparison
Both pairs are byte-identical. Lossless SHA256:
d3984b9dabb610ac73b9c5dc13500b3e607e5f7eed548e2cd2f2d93e3ce3dd6f; high SHA256:b252ce3f2f26d6f6cb97b9d3f4176e5116114d3ac68218d4878eebbdded743f9.quality=high)quality=high)Validation
test_rope.py+test_model_fast_paths.py: 1298 passedCI States
Latest PR Test (Base): ✅ Run #32644133248
Latest PR Test (Extra): ✅ Run #32662477489
Latest PR Test (AMD ROCm 7.2): ⏳ Run #32644133196