---
id: pr-vllm-23123
repo: vllm-project/vllm
pr: 23123
title: Add routed_scaling_factor to MoE grouped topk
author: xyang16
date: '2025-08-30'
url: https://github.com/vllm-project/vllm/pull/23123
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- fp8
- kernel-fusion
- moe
- quantization
techniques:
- kernel-fusion
hardware_features:
- fp4
- fp8
kernel_types:
- moe
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 8fb85b7bb67408c725474c31fe2a8f980c250277
inclusion_reason: kernel file changes
changed_paths:
- vllm/model_executor/layers/fused_moe/cpu_fused_moe.py
- vllm/model_executor/layers/fused_moe/fused_moe.py
- vllm/model_executor/layers/fused_moe/layer.py
- vllm/model_executor/layers/fused_moe/rocm_aiter_fused_moe.py
- vllm/model_executor/layers/quantization/awq_marlin.py
- vllm/model_executor/layers/quantization/bitsandbytes.py
- vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py
- vllm/model_executor/layers/quantization/experts_int8.py
- vllm/model_executor/layers/quantization/fp8.py
- vllm/model_executor/layers/quantization/gguf.py
- vllm/model_executor/layers/quantization/gptq_marlin.py
- vllm/model_executor/layers/quantization/modelopt.py
- vllm/model_executor/layers/quantization/moe_wna16.py
- vllm/model_executor/layers/quantization/mxfp4.py
- vllm/model_executor/layers/quantization/quark/quark_moe.py
- vllm/model_executor/layers/quantization/rtn.py
- vllm/model_executor/models/deepseek_v2.py
- vllm/model_executor/models/dots1.py
- vllm/model_executor/models/glm4_moe.py
head_ref_oid: e7081b413eb5ce2f2b30dc149c9e838df8a23d2f
artifact_dir: evidence/pull-bundles/vllm/gh-23123
---
# Add routed_scaling_factor to MoE grouped topk

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

## Changed Paths

- `vllm/model_executor/layers/fused_moe/cpu_fused_moe.py`
- `vllm/model_executor/layers/fused_moe/fused_moe.py`
- `vllm/model_executor/layers/fused_moe/layer.py`
- `vllm/model_executor/layers/fused_moe/rocm_aiter_fused_moe.py`
- `vllm/model_executor/layers/quantization/awq_marlin.py`
- `vllm/model_executor/layers/quantization/bitsandbytes.py`
- `vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py`
- `vllm/model_executor/layers/quantization/experts_int8.py`
- `vllm/model_executor/layers/quantization/fp8.py`
- `vllm/model_executor/layers/quantization/gguf.py`
- `vllm/model_executor/layers/quantization/gptq_marlin.py`
- `vllm/model_executor/layers/quantization/modelopt.py`
- `vllm/model_executor/layers/quantization/moe_wna16.py`
- `vllm/model_executor/layers/quantization/mxfp4.py`
- `vllm/model_executor/layers/quantization/quark/quark_moe.py`
- `vllm/model_executor/layers/quantization/rtn.py`
- `vllm/model_executor/models/deepseek_v2.py`
- `vllm/model_executor/models/dots1.py`
- `vllm/model_executor/models/glm4_moe.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-23123`
