---
id: pr-flashinfer-2102
repo: flashinfer-ai/flashinfer
pr: 2102
title: Port TRT-LLM communication kernels to flashinfer
author: djns99
date: '2025-12-15'
url: https://github.com/flashinfer-ai/flashinfer/pull/2102
source_category: upstream-code
architectures:
- sm100
tags:
- moe
techniques: []
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: f0355f76922a762222b098ef434fcfedff367dd5
inclusion_reason: kernel file changes
changed_paths:
- csrc/nv_internal/cpp/common/envUtils.cpp
- csrc/nv_internal/tensorrt_llm/common/envUtils.h
- csrc/nv_internal/tensorrt_llm/kernels/communicationKernels/moeAlltoAllKernels.cu
- csrc/nv_internal/tensorrt_llm/kernels/communicationKernels/moeAlltoAllKernels.h
- csrc/nv_internal/tensorrt_llm/thop/moeAlltoAllMeta.h
- csrc/trtllm_moe_alltoall.cu
- docs/api/comm.rst
- flashinfer/aot.py
- flashinfer/comm/__init__.py
- flashinfer/comm/trtllm_moe_alltoall.py
- flashinfer/jit/__init__.py
- flashinfer/jit/comm.py
- scripts/task_test_multi_node_comm_kernels.sh
- scripts/task_test_single_node_comm_kernels.sh
- tests/comm/test_mnnvl_memory.py
- tests/comm/test_mnnvl_moe_alltoall.py
- tests/comm/test_trtllm_moe_alltoall.py
head_ref_oid: d400fd48228771e6ee1cd26afa029e0d5f4c80f4
artifact_dir: evidence/pull-bundles/flashinfer/gh-2102
---
# Port TRT-LLM communication kernels to flashinfer

- Repository: `flashinfer-ai/flashinfer`
- PR: [2102](https://github.com/flashinfer-ai/flashinfer/pull/2102)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/nv_internal/cpp/common/envUtils.cpp`
- `csrc/nv_internal/tensorrt_llm/common/envUtils.h`
- `csrc/nv_internal/tensorrt_llm/kernels/communicationKernels/moeAlltoAllKernels.cu`
- `csrc/nv_internal/tensorrt_llm/kernels/communicationKernels/moeAlltoAllKernels.h`
- `csrc/nv_internal/tensorrt_llm/thop/moeAlltoAllMeta.h`
- `csrc/trtllm_moe_alltoall.cu`
- `docs/api/comm.rst`
- `flashinfer/aot.py`
- `flashinfer/comm/__init__.py`
- `flashinfer/comm/trtllm_moe_alltoall.py`
- `flashinfer/jit/__init__.py`
- `flashinfer/jit/comm.py`
- `scripts/task_test_multi_node_comm_kernels.sh`
- `scripts/task_test_single_node_comm_kernels.sh`
- `tests/comm/test_mnnvl_memory.py`
- `tests/comm/test_mnnvl_moe_alltoall.py`
- `tests/comm/test_trtllm_moe_alltoall.py`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2102`
