---
id: pr-vllm-21340
repo: vllm-project/vllm
pr: 21340
title: '[TPU][Bugfix] fix moe layer'
author: yaochengji
date: '2025-07-24'
url: https://github.com/vllm-project/vllm/pull/21340
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: e74bfc70e4105017f6a73d1797be64021d268cdf
inclusion_reason: kernel file changes
changed_paths:
- tests/v1/tpu/test_basic.py
- vllm/model_executor/layers/fused_moe/layer.py
head_ref_oid: 18295faf72426973eefb832ff3beb39c327aef0d
artifact_dir: evidence/pull-bundles/vllm/gh-21340
---
# [TPU][Bugfix] fix moe layer

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

## Changed Paths

- `tests/v1/tpu/test_basic.py`
- `vllm/model_executor/layers/fused_moe/layer.py`

## Evidence Bundle

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