---
id: pr-sglang-24411
repo: sgl-project/sglang
pr: 24411
title: '[diffusion] Fuse LTX2 split rotary embedding'
author: mickqian
date: '2026-05-05'
url: https://github.com/sgl-project/sglang/pull/24411
source_category: upstream-code
architectures:
- sm100
tags:
- CUDA kernel
- compiler_runtime
- scheduler_autotune
- triton kernel
techniques:
- autotuning
- kernel-fusion
- tile-scheduling
hardware_features: []
kernel_types:
- compiler
- scheduler
languages:
- cuda-cpp
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 177babcc38655ec1f15b175362276b8461688789
inclusion_reason: 'Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.'
changed_paths:
- python/sglang/jit_kernel/diffusion/triton/ltx2_rotary.py
- python/sglang/multimodal_gen/runtime/models/dits/ltx_2.py
artifact_dir: evidence/pull-bundles/sglang/gh-24411
head_ref_oid: 5a7d6c6785548b47dc617c41dc9c5073240d8f71
---
# [diffusion] Fuse LTX2 split rotary embedding

- Repository: `sgl-project/sglang`
- PR: [24411](https://github.com/sgl-project/sglang/pull/24411)
- Decision: `Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.`
- Reason: Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.

## Changed Paths

- `python/sglang/jit_kernel/diffusion/triton/ltx2_rotary.py`
- `python/sglang/multimodal_gen/runtime/models/dits/ltx_2.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-24411`
