---
id: pr-sglang-22365
repo: sgl-project/sglang
pr: 22365
title: '[Diffusion] modelopt diffusion fp8 support for flux1/flux2 and wan2.2'
author: BBuf
date: '2026-04-10'
url: https://github.com/sgl-project/sglang/pull/22365
source_category: upstream-code
architectures:
- sm100
tags:
- fp8
- kernel-fusion
- quantization
techniques:
- kernel-fusion
hardware_features:
- fp8
kernel_types:
- quantization
languages:
- python
captured_at: '2026-04-17'
status: merged
merge_sha: 1ff51555f2bcfb4c474d43bc123cdd876ec33016
inclusion_reason: kernel file changes
changed_paths:
- docs/diffusion/quantization.md
- python/sglang/jit_kernel/tests/diffusion/test_diffusion_modelopt_fp8_scaled_mm.py
- python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-modelopt-quant/SKILL.md
- python/sglang/multimodal_gen/runtime/layers/quantization/__init__.py
- python/sglang/multimodal_gen/runtime/layers/quantization/modelopt_quant.py
- python/sglang/multimodal_gen/runtime/loader/transformer_load_utils.py
- python/sglang/multimodal_gen/runtime/models/dits/flux_2.py
- python/sglang/multimodal_gen/runtime/utils/quantization_utils.py
- python/sglang/multimodal_gen/tools/compare_diffusion_trajectory_similarity.py
- python/sglang/multimodal_gen/tools/convert_modelopt_fp8_checkpoint.py
head_ref_oid: 0dd4503818530f98ef0cae3c987d240a7ed3f20b
artifact_dir: evidence/pull-bundles/sglang/gh-22365
---
# [Diffusion] modelopt diffusion fp8 support for flux1/flux2 and wan2.2

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

## Changed Paths

- `docs/diffusion/quantization.md`
- `python/sglang/jit_kernel/tests/diffusion/test_diffusion_modelopt_fp8_scaled_mm.py`
- `python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-modelopt-quant/SKILL.md`
- `python/sglang/multimodal_gen/runtime/layers/quantization/__init__.py`
- `python/sglang/multimodal_gen/runtime/layers/quantization/modelopt_quant.py`
- `python/sglang/multimodal_gen/runtime/loader/transformer_load_utils.py`
- `python/sglang/multimodal_gen/runtime/models/dits/flux_2.py`
- `python/sglang/multimodal_gen/runtime/utils/quantization_utils.py`
- `python/sglang/multimodal_gen/tools/compare_diffusion_trajectory_similarity.py`
- `python/sglang/multimodal_gen/tools/convert_modelopt_fp8_checkpoint.py`

## Evidence Bundle

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