---
id: pr-vllm-28284
repo: vllm-project/vllm
pr: 28284
title: '[Feature] Support recording expert indices for rollout router replay'
author: xhx1022
date: '2026-01-12'
url: https://github.com/vllm-project/vllm/pull/28284
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: 49e6b86c91cddc4a4b2152c6d8834780bbd50deb
inclusion_reason: kernel file changes
changed_paths:
- vllm/config/model.py
- vllm/config/vllm.py
- vllm/engine/arg_utils.py
- vllm/entrypoints/llm.py
- vllm/model_executor/layers/fused_moe/layer.py
- vllm/model_executor/layers/fused_moe/routed_experts_capturer.py
- vllm/outputs.py
- vllm/v1/core/sched/scheduler.py
- vllm/v1/engine/__init__.py
- vllm/v1/engine/output_processor.py
- vllm/v1/worker/gpu_model_runner.py
head_ref_oid: aeb469eea2a2b110af7d5d0e53bb7a290abba5a5
artifact_dir: evidence/pull-bundles/vllm/gh-28284
---
# [Feature] Support recording expert indices for rollout router replay

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

## Changed Paths

- `vllm/config/model.py`
- `vllm/config/vllm.py`
- `vllm/engine/arg_utils.py`
- `vllm/entrypoints/llm.py`
- `vllm/model_executor/layers/fused_moe/layer.py`
- `vllm/model_executor/layers/fused_moe/routed_experts_capturer.py`
- `vllm/outputs.py`
- `vllm/v1/core/sched/scheduler.py`
- `vllm/v1/engine/__init__.py`
- `vllm/v1/engine/output_processor.py`
- `vllm/v1/worker/gpu_model_runner.py`

## Evidence Bundle

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