---
id: pr-sglang-8766
repo: sgl-project/sglang
pr: 8766
title: Fix mismatch between padded_scales shape and reshape dimensions in modelopt quantization
author: ovowei
date: '2025-08-12'
url: https://github.com/sgl-project/sglang/pull/8766
source_category: upstream-code
architectures:
- sm100
tags:
- quantization
techniques: []
hardware_features: []
kernel_types:
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 83262dcb29c55ee633d7814ea9c4e2967cfed0e7
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/quantization/modelopt_quant.py
head_ref_oid: 879da8ba1915f3c28416b964d8c2d014f99d8c98
artifact_dir: evidence/pull-bundles/sglang/gh-8766
---
# Fix mismatch between padded_scales shape and reshape dimensions in modelopt quantization

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

## Changed Paths

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

## Evidence Bundle

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