---
id: pr-sglang-25107
repo: sgl-project/sglang
pr: 25107
title: 'perf(nvfp4): free unused source scales after weight processing'
author: ch-wan
date: '2026-05-12'
url: https://github.com/sgl-project/sglang/pull/25107
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark_test
- cutlass
- flashinfer
- fp4
- fused moe
- gemm_quant
- nvfp4
techniques:
- fine-grained-quantization
- kernel-fusion
hardware_features:
- fp4
- nvfp4
kernel_types:
- gemm
- moe
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 4fb40bffacfe7544f319843e9ed06af6ebdccda2
inclusion_reason: Inspect scale layout, accumulator type, tile/schedule choice, epilogue fusion, and partial-tile guards before deriving a candidate.
changed_paths:
- python/sglang/srt/layers/quantization/modelopt_quant.py
artifact_dir: evidence/pull-bundles/sglang/gh-25107
head_ref_oid: d47a55170ad55885b0769778a53e01528ad9baf3
---
# perf(nvfp4): free unused source scales after weight processing

- Repository: `sgl-project/sglang`
- PR: [25107](https://github.com/sgl-project/sglang/pull/25107)
- Decision: `Inspect scale layout, accumulator type, tile/schedule choice, epilogue fusion, and partial-tile guards before deriving a candidate.`
- Reason: Inspect scale layout, accumulator type, tile/schedule choice, epilogue fusion, and partial-tile guards before deriving a candidate.

## Changed Paths

- `python/sglang/srt/layers/quantization/modelopt_quant.py`

## Evidence Bundle

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