---
id: pr-tensorrt-llm-13771
repo: NVIDIA/TensorRT-LLM
pr: 13771
title: '[None][fix] Fix fused MHC for DeepSeek-V4-Pro hidden size'
author: pcastonguay
date: '2026-05-05'
url: https://github.com/NVIDIA/TensorRT-LLM/pull/13771
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark_test
- recent-kernel-path
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 9aa37159f8958f16be6e97ddd76f6925e99d2489
inclusion_reason: Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.
changed_paths:
- cpp/tensorrt_llm/kernels/mhcKernels/mhcFusedHcKernel.cu
- cpp/tensorrt_llm/kernels/mhcKernels/mhcKernels.h
- tensorrt_llm/_torch/modules/mhc/mhc_cuda.py
- tests/unittest/_torch/modules/test_mhc.py
artifact_dir: evidence/pull-bundles/tensorrt-llm/gh-13771
head_ref_oid: 70927b2bb4c346908736b120cc39c0ad2bae4a59
---
# [None][fix] Fix fused MHC for DeepSeek-V4-Pro hidden size

- Repository: `NVIDIA/TensorRT-LLM`
- PR: [13771](https://github.com/NVIDIA/TensorRT-LLM/pull/13771)
- Decision: `Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.`
- Reason: Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.

## Changed Paths

- `cpp/tensorrt_llm/kernels/mhcKernels/mhcFusedHcKernel.cu`
- `cpp/tensorrt_llm/kernels/mhcKernels/mhcKernels.h`
- `tensorrt_llm/_torch/modules/mhc/mhc_cuda.py`
- `tests/unittest/_torch/modules/test_mhc.py`

## Evidence Bundle

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