---
id: pr-sglang-14717
repo: sgl-project/sglang
pr: 14717
title: '[diffusion] kernel fusion: gated residual layernorm scale shift and layernorm scale shift kernel fusion for Qwen-Image, WAN and HunyuanVideo'
author: jianyingzhu
date: '2026-02-04'
url: https://github.com/sgl-project/sglang/pull/14717
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
techniques:
- kernel-fusion
hardware_features: []
kernel_types: []
languages:
- cute-dsl
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 4739f2e8d5732f7464d1af75d31b4d44c61783b6
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/jit_kernel/benchmark/bench_fused_norm_scale_shift.py
- python/sglang/jit_kernel/diffusion/cutedsl/common/norm_fusion.py
- python/sglang/jit_kernel/diffusion/cutedsl/common/reduce.py
- python/sglang/jit_kernel/diffusion/cutedsl/scale_residual_norm_scale_shift.py
- python/sglang/jit_kernel/diffusion/cutedsl/utils.py
- python/sglang/jit_kernel/tests/test_fused_norm_scale_shift.py
- python/sglang/multimodal_gen/runtime/layers/layernorm.py
- python/sglang/multimodal_gen/runtime/models/dits/causal_wanvideo.py
- python/sglang/multimodal_gen/runtime/models/dits/hunyuanvideo.py
- python/sglang/multimodal_gen/runtime/models/dits/qwen_image.py
- python/sglang/multimodal_gen/runtime/models/dits/wanvideo.py
head_ref_oid: 80f342f1ed82f159f0f67692b27fc72320119304
artifact_dir: evidence/pull-bundles/sglang/gh-14717
---
# [diffusion] kernel fusion: gated residual layernorm scale shift and layernorm scale shift kernel fusion for Qwen-Image, WAN and HunyuanVideo

- Repository: `sgl-project/sglang`
- PR: [14717](https://github.com/sgl-project/sglang/pull/14717)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `python/sglang/jit_kernel/benchmark/bench_fused_norm_scale_shift.py`
- `python/sglang/jit_kernel/diffusion/cutedsl/common/norm_fusion.py`
- `python/sglang/jit_kernel/diffusion/cutedsl/common/reduce.py`
- `python/sglang/jit_kernel/diffusion/cutedsl/scale_residual_norm_scale_shift.py`
- `python/sglang/jit_kernel/diffusion/cutedsl/utils.py`
- `python/sglang/jit_kernel/tests/test_fused_norm_scale_shift.py`
- `python/sglang/multimodal_gen/runtime/layers/layernorm.py`
- `python/sglang/multimodal_gen/runtime/models/dits/causal_wanvideo.py`
- `python/sglang/multimodal_gen/runtime/models/dits/hunyuanvideo.py`
- `python/sglang/multimodal_gen/runtime/models/dits/qwen_image.py`
- `python/sglang/multimodal_gen/runtime/models/dits/wanvideo.py`

## Evidence Bundle

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