---
id: pr-vllm-30531
repo: vllm-project/vllm
pr: 30531
title: '[CPU] Refactor CPU fused MOE'
author: bigPYJ1151
date: '2025-12-18'
url: https://github.com/vllm-project/vllm/pull/30531
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: e3ab93c89667bcd026582e74bc7c49774724a273
inclusion_reason: defer
changed_paths:
- .buildkite/scripts/hardware_ci/run-cpu-test.sh
- cmake/cpu_extension.cmake
- csrc/cpu/cpu_arch_macros.h
- csrc/cpu/cpu_attn_impl.hpp
- csrc/cpu/cpu_fused_moe.cpp
- csrc/cpu/cpu_types_x86.hpp
- csrc/cpu/cpu_wna16.cpp
- csrc/cpu/dnnl_helper.cpp
- csrc/cpu/micro_gemm/cpu_micro_gemm_amx.hpp
- csrc/cpu/micro_gemm/cpu_micro_gemm_impl.hpp
- csrc/cpu/micro_gemm/cpu_micro_gemm_vec.hpp
- csrc/cpu/scratchpad_manager.cpp
- csrc/cpu/scratchpad_manager.h
- csrc/cpu/torch_bindings.cpp
- csrc/cpu/utils.cpp
- csrc/cpu/utils.hpp
- docker/Dockerfile.cpu
- requirements/cpu-build.txt
- requirements/cpu.txt
- tests/kernels/moe/test_cpu_fused_moe.py
- vllm/_custom_ops.py
- vllm/model_executor/layers/fused_moe/cpu_fused_moe.py
- vllm/model_executor/layers/fused_moe/layer.py
artifact_dir: evidence/pull-bundles/vllm/gh-30531
head_ref_oid: fde02ceb62dc4e7bde67320f940e1caf99e53b6c
---
# [CPU] Refactor CPU fused MOE

- Repository: `vllm-project/vllm`
- PR: [30531](https://github.com/vllm-project/vllm/pull/30531)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `.buildkite/scripts/hardware_ci/run-cpu-test.sh`
- `cmake/cpu_extension.cmake`
- `csrc/cpu/cpu_arch_macros.h`
- `csrc/cpu/cpu_attn_impl.hpp`
- `csrc/cpu/cpu_fused_moe.cpp`
- `csrc/cpu/cpu_types_x86.hpp`
- `csrc/cpu/cpu_wna16.cpp`
- `csrc/cpu/dnnl_helper.cpp`
- `csrc/cpu/micro_gemm/cpu_micro_gemm_amx.hpp`
- `csrc/cpu/micro_gemm/cpu_micro_gemm_impl.hpp`
- `csrc/cpu/micro_gemm/cpu_micro_gemm_vec.hpp`
- `csrc/cpu/scratchpad_manager.cpp`
- `csrc/cpu/scratchpad_manager.h`
- `csrc/cpu/torch_bindings.cpp`
- `csrc/cpu/utils.cpp`
- `csrc/cpu/utils.hpp`
- `docker/Dockerfile.cpu`
- `requirements/cpu-build.txt`
- `requirements/cpu.txt`
- `tests/kernels/moe/test_cpu_fused_moe.py`
- `vllm/_custom_ops.py`
- `vllm/model_executor/layers/fused_moe/cpu_fused_moe.py`
- `vllm/model_executor/layers/fused_moe/layer.py`

## Evidence Bundle

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