---
id: pr-sglang-4596
repo: sgl-project/sglang
pr: 4596
title: '[quantization] fix channelwise conversion with scalar weight scale'
author: yundai424
date: '2025-03-22'
url: https://github.com/sgl-project/sglang/pull/4596
source_category: upstream-code
architectures:
- sm100
tags:
- fp8
- quantization
techniques: []
hardware_features:
- fp8
kernel_types:
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 8cd42504011c481faf8eeb047a1b9ccc9523b4b9
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/quantization/utils.py
- python/sglang/test/test_utils.py
- test/srt/test_eval_fp8_accuracy.py
head_ref_oid: 03004befef343a6a70bd9d6aa79dcd4784098825
artifact_dir: evidence/pull-bundles/sglang/gh-4596
---
# [quantization] fix channelwise conversion with scalar weight scale

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

## Changed Paths

- `python/sglang/srt/layers/quantization/utils.py`
- `python/sglang/test/test_utils.py`
- `test/srt/test_eval_fp8_accuracy.py`

## Evidence Bundle

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