---
id: pr-sglang-22672
repo: sgl-project/sglang
pr: 22672
title: reland [Diffusion] Add FLUX.1-dev ModelOpt NVFP4 support
author: BBuf
date: '2026-04-14'
url: https://github.com/sgl-project/sglang/pull/22672
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- fp8
- kernel-fusion
- nvfp4
- pipeline-stages
- quantization
techniques:
- kernel-fusion
- pipeline-stages
hardware_features:
- fp4
- fp8
- nvfp4
kernel_types:
- quantization
languages:
- cuda-cpp
- python
captured_at: '2026-04-17'
status: merged
merge_sha: f97c608caa371e62ae8fe4847619f4b336a3ee69
inclusion_reason: kernel file changes
changed_paths:
- docs/diffusion/quantization.md
- python/sglang/jit_kernel/nvfp4.py
- python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-modelopt-quant/SKILL.md
- python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-performance/SKILL.md
- python/sglang/multimodal_gen/runtime/layers/quantization/modelopt_quant.py
- python/sglang/multimodal_gen/runtime/loader/component_loaders/transformer_loader.py
- python/sglang/multimodal_gen/runtime/loader/fsdp_load.py
- python/sglang/multimodal_gen/runtime/models/dits/flux.py
- python/sglang/multimodal_gen/runtime/pipelines_core/stages/denoising.py
- python/sglang/multimodal_gen/runtime/platforms/cuda.py
- python/sglang/multimodal_gen/test/unit/test_transformer_quant.py
- python/sglang/multimodal_gen/tools/build_modelopt_fp8_transformer.py
- python/sglang/multimodal_gen/tools/build_modelopt_nvfp4_transformer.py
head_ref_oid: 0555c150ac81f9fca581a58f23820f7cb22988ab
artifact_dir: evidence/pull-bundles/sglang/gh-22672
---
# reland [Diffusion] Add FLUX.1-dev ModelOpt NVFP4 support

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

## Changed Paths

- `docs/diffusion/quantization.md`
- `python/sglang/jit_kernel/nvfp4.py`
- `python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-modelopt-quant/SKILL.md`
- `python/sglang/multimodal_gen/.claude/skills/sglang-diffusion-performance/SKILL.md`
- `python/sglang/multimodal_gen/runtime/layers/quantization/modelopt_quant.py`
- `python/sglang/multimodal_gen/runtime/loader/component_loaders/transformer_loader.py`
- `python/sglang/multimodal_gen/runtime/loader/fsdp_load.py`
- `python/sglang/multimodal_gen/runtime/models/dits/flux.py`
- `python/sglang/multimodal_gen/runtime/pipelines_core/stages/denoising.py`
- `python/sglang/multimodal_gen/runtime/platforms/cuda.py`
- `python/sglang/multimodal_gen/test/unit/test_transformer_quant.py`
- `python/sglang/multimodal_gen/tools/build_modelopt_fp8_transformer.py`
- `python/sglang/multimodal_gen/tools/build_modelopt_nvfp4_transformer.py`

## Evidence Bundle

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