---
id: pr-tensorrt-llm-14074
repo: NVIDIA/TensorRT-LLM
pr: 14074
title: '[None][fix] Support DeepSeekV4 routing in perfect-router planner'
author: qiaoxj07
date: '2026-05-15'
url: https://github.com/NVIDIA/TensorRT-LLM/pull/14074
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark kernel
- moe kernel
techniques: []
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: d17837060a0d64694ac63a94b4303b04ff8b0748
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- tensorrt_llm/_torch/models/modeling_deepseekv4.py
- tensorrt_llm/_torch/modules/fused_moe/routing.py
- tests/unittest/_torch/modules/test_moe_routing.py
artifact_dir: evidence/pull-bundles/tensorrt-llm/gh-14074
head_ref_oid: 459224a7bed4b219844d15e711c5f75daeaf5e73
---
# [None][fix] Support DeepSeekV4 routing in perfect-router planner

- Repository: `NVIDIA/TensorRT-LLM`
- PR: [14074](https://github.com/NVIDIA/TensorRT-LLM/pull/14074)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `tensorrt_llm/_torch/models/modeling_deepseekv4.py`
- `tensorrt_llm/_torch/modules/fused_moe/routing.py`
- `tests/unittest/_torch/modules/test_moe_routing.py`

## Evidence Bundle

`evidence/pull-bundles/tensorrt-llm/gh-14074`
