---
id: pr-sglang-12018
repo: sgl-project/sglang
pr: 12018
title: Feature/nano v2 offline modelopt fp8 and nvfp4
author: netanel-haber
date: '2025-10-23'
url: https://github.com/sgl-project/sglang/pull/12018
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- fp4
- fp8
- nvfp4
- quantization
techniques: []
hardware_features:
- fp4
- fp8
- nvfp4
kernel_types:
- attention
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: a98496834bb5031208c674e639cc34f85d2b0617
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/quantization/modelopt_quant.py
- python/sglang/srt/model_loader/loader.py
- python/sglang/srt/model_loader/weight_utils.py
- python/sglang/srt/models/nemotron_h.py
- python/sglang/srt/utils/common.py
- test/srt/layers/attention/mamba/test_causal_conv1d.py
- test/srt/layers/attention/mamba/test_mamba2_mixer.py
- test/srt/layers/attention/mamba/test_mamba_ssm.py
- test/srt/layers/attention/mamba/test_mamba_ssm_ssd.py
- test/srt/models/test_nvidia_nemotron_nano_v2.py
- test/srt/run_suite.py
head_ref_oid: 53adafcfd96a952f83c7ee85dde66e746306669b
artifact_dir: evidence/pull-bundles/sglang/gh-12018
---
# Feature/nano v2 offline modelopt fp8 and nvfp4

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

## Changed Paths

- `python/sglang/srt/layers/quantization/modelopt_quant.py`
- `python/sglang/srt/model_loader/loader.py`
- `python/sglang/srt/model_loader/weight_utils.py`
- `python/sglang/srt/models/nemotron_h.py`
- `python/sglang/srt/utils/common.py`
- `test/srt/layers/attention/mamba/test_causal_conv1d.py`
- `test/srt/layers/attention/mamba/test_mamba2_mixer.py`
- `test/srt/layers/attention/mamba/test_mamba_ssm.py`
- `test/srt/layers/attention/mamba/test_mamba_ssm_ssd.py`
- `test/srt/models/test_nvidia_nemotron_nano_v2.py`
- `test/srt/run_suite.py`

## Evidence Bundle

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