---
id: pr-tensorrt-llm-9618
repo: NVIDIA/TensorRT-LLM
pr: 9618
title: '[TRTLLM-9685] [feat] Add gather fc1 kernel by cuteDSL'
author: zongfeijing
date: '2025-12-11'
url: https://github.com/NVIDIA/TensorRT-LLM/pull/9618
source_category: upstream-code
architectures:
- sm100
tags:
- compiler_runtime
- cute dsl
- gemm_quant
- memory_primitives
- moe_routing
- norm_elementwise
techniques:
- fine-grained-quantization
- kernel-fusion
- pipeline-stages
- swizzling
hardware_features:
- blackwell
- fp4
kernel_types:
- compiler
- gemm
- memory
- moe
- norm
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: c76b428e2e27c6ce0d57e40ac550961733a7298d
inclusion_reason: 'Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.'
changed_paths:
- .pre-commit-config.yaml
- tensorrt_llm/_torch/custom_ops/cute_dsl_custom_ops.py
- tensorrt_llm/_torch/cute_dsl_kernels/blackwell/blockscaled_contiguous_gather_grouped_gemm_swiglu_fusion.py
- tensorrt_llm/_torch/cute_dsl_kernels/blackwell/custom_pipeline.py
- tensorrt_llm/_torch/modules/fused_moe/fused_moe_cute_dsl.py
- tensorrt_llm/_torch/utils.py
- tests/unittest/_torch/thop/parallel/test_cute_dsl_moe.py
artifact_dir: evidence/pull-bundles/tensorrt-llm/gh-9618
head_ref_oid: 2c72df0937f0136ca6d848669ad2de3303450bb8
---
# [TRTLLM-9685] [feat] Add gather fc1 kernel by cuteDSL

- Repository: `NVIDIA/TensorRT-LLM`
- PR: [9618](https://github.com/NVIDIA/TensorRT-LLM/pull/9618)
- Decision: `Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.`
- Reason: Treat compiler/runtime integration as part of the kernel: launch wrapper, cache/JIT behavior, generated code, and build flags need tests.

## Changed Paths

- `.pre-commit-config.yaml`
- `tensorrt_llm/_torch/custom_ops/cute_dsl_custom_ops.py`
- `tensorrt_llm/_torch/cute_dsl_kernels/blackwell/blockscaled_contiguous_gather_grouped_gemm_swiglu_fusion.py`
- `tensorrt_llm/_torch/cute_dsl_kernels/blackwell/custom_pipeline.py`
- `tensorrt_llm/_torch/modules/fused_moe/fused_moe_cute_dsl.py`
- `tensorrt_llm/_torch/utils.py`
- `tests/unittest/_torch/thop/parallel/test_cute_dsl_moe.py`

## Evidence Bundle

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