---
id: pr-vllm-20152
repo: vllm-project/vllm
pr: 20152
title: '[Bugfix] Mark ''hidden_states'' as mutable in moe_forward registration.'
author: bnellnm
date: '2025-06-27'
url: https://github.com/vllm-project/vllm/pull/20152
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: c6c983053d1c430e9347797094c95bbed37bac2a
inclusion_reason: kernel file changes
changed_paths:
- vllm/model_executor/layers/fused_moe/layer.py
head_ref_oid: 07b22d65fd59d6e27b2a4cad239c39416b0bb238
artifact_dir: evidence/pull-bundles/vllm/gh-20152
---
# [Bugfix] Mark 'hidden_states' as mutable in moe_forward registration.

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

## Changed Paths

- `vllm/model_executor/layers/fused_moe/layer.py`

## Evidence Bundle

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