---
id: pr-tensorrt-llm-10532
repo: NVIDIA/TensorRT-LLM
pr: 10532
title: '[None][feat] MiniMax M2 support'
author: jmydurant
date: '2026-01-14'
url: https://github.com/NVIDIA/TensorRT-LLM/pull/10532
source_category: upstream-code
architectures:
- sm100
tags:
- arch_pipeline
- benchmark_test
- blockScaleMoe
- moe_routing
techniques:
- fine-grained-quantization
- kernel-fusion
- pipeline-stages
hardware_features:
- fp8
kernel_types:
- moe
- runtime
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: e7882d5c7423069d52d27f11674f567fb8830036
inclusion_reason: Separate routing, permutation, top-k, and expert GEMM costs; keep tail-token and expert-layout tests attached to the idea.
changed_paths:
- cpp/tensorrt_llm/kernels/trtllmGenKernels/blockScaleMoe/runner.h
- tensorrt_llm/_torch/models/__init__.py
- tensorrt_llm/_torch/models/modeling_minimaxm2.py
- tensorrt_llm/_torch/modules/fused_moe/__init__.py
- tensorrt_llm/_torch/modules/fused_moe/routing.py
- tests/integration/defs/accuracy/references/gsm8k.yaml
- tests/integration/defs/accuracy/test_llm_api_pytorch.py
- tests/integration/test_lists/test-db/l0_dgx_b200.yml
artifact_dir: evidence/pull-bundles/tensorrt-llm/gh-10532
head_ref_oid: 2113f896878f3155f282a0502a8ced556441fc44
---
# [None][feat] MiniMax M2 support

- Repository: `NVIDIA/TensorRT-LLM`
- PR: [10532](https://github.com/NVIDIA/TensorRT-LLM/pull/10532)
- Decision: `Separate routing, permutation, top-k, and expert GEMM costs; keep tail-token and expert-layout tests attached to the idea.`
- Reason: Separate routing, permutation, top-k, and expert GEMM costs; keep tail-token and expert-layout tests attached to the idea.

## Changed Paths

- `cpp/tensorrt_llm/kernels/trtllmGenKernels/blockScaleMoe/runner.h`
- `tensorrt_llm/_torch/models/__init__.py`
- `tensorrt_llm/_torch/models/modeling_minimaxm2.py`
- `tensorrt_llm/_torch/modules/fused_moe/__init__.py`
- `tensorrt_llm/_torch/modules/fused_moe/routing.py`
- `tests/integration/defs/accuracy/references/gsm8k.yaml`
- `tests/integration/defs/accuracy/test_llm_api_pytorch.py`
- `tests/integration/test_lists/test-db/l0_dgx_b200.yml`

## Evidence Bundle

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