---
id: pr-vllm-39510
repo: vllm-project/vllm
pr: 39510
title: '[Kernel] Support TRTLLM GEN NVFP4 MoE for non-512-aligned hidden dims via weight padding'
author: danielafrimi
date: '2026-04-14'
url: https://github.com/vllm-project/vllm/pull/39510
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- kernel-fusion
- moe
- nvfp4
- quantization
techniques:
- kernel-fusion
hardware_features:
- fp4
- nvfp4
kernel_types:
- moe
- quantization
languages:
- python
captured_at: '2026-04-17'
status: merged
merge_sha: 240f2636ca4954941dd314ba961023100f804307
inclusion_reason: kernel file changes
changed_paths:
- tests/quantization/test_trtllm_nvfp4_hidden_dim_padding.py
- vllm/model_executor/layers/fused_moe/experts/trtllm_nvfp4_moe.py
- vllm/model_executor/layers/quantization/utils/flashinfer_fp4_moe.py
- vllm/model_executor/layers/quantization/utils/flashinfer_utils.py
head_ref_oid: 1d309fbf748d8fe3dd0451abbcfae9fbb9e64b37
artifact_dir: evidence/pull-bundles/vllm/gh-39510
---
# [Kernel] Support TRTLLM GEN NVFP4 MoE for non-512-aligned hidden dims via weight padding

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

## Changed Paths

- `tests/quantization/test_trtllm_nvfp4_hidden_dim_padding.py`
- `vllm/model_executor/layers/fused_moe/experts/trtllm_nvfp4_moe.py`
- `vllm/model_executor/layers/quantization/utils/flashinfer_fp4_moe.py`
- `vllm/model_executor/layers/quantization/utils/flashinfer_utils.py`

## Evidence Bundle

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