---
id: pr-flashinfer-1284
repo: flashinfer-ai/flashinfer
pr: 1284
title: Convert scale_factor from scalar to Tensor in trt_allreduce_fusion
author: ilmarkov
date: '2025-07-18'
url: https://github.com/flashinfer-ai/flashinfer/pull/1284
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
techniques:
- kernel-fusion
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 1d72ed4076808083e47ff217abeba06140c14c81
inclusion_reason: kernel file changes
changed_paths:
- csrc/trtllm_allreduce_fusion.cu
- flashinfer/comm/trtllm_ar.py
- include/flashinfer/comm/trtllm_allreduce_fusion.cuh
- tests/test_trtllm_allreduce_fusion.py
head_ref_oid: f5c2aa74b92ea80d021d7910e8802bd335849087
artifact_dir: evidence/pull-bundles/flashinfer/gh-1284
---
# Convert scale_factor from scalar to Tensor in trt_allreduce_fusion

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

## Changed Paths

- `csrc/trtllm_allreduce_fusion.cu`
- `flashinfer/comm/trtllm_ar.py`
- `include/flashinfer/comm/trtllm_allreduce_fusion.cuh`
- `tests/test_trtllm_allreduce_fusion.py`

## Evidence Bundle

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