---
id: pr-flashinfer-1365
repo: flashinfer-ai/flashinfer
pr: 1365
title: 'feat: auto deduce use_oneshot from token_num in all-reduce'
author: yyihuang
date: '2025-08-02'
url: https://github.com/flashinfer-ai/flashinfer/pull/1365
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 2a614727cac853e1a6e4274907818a46e11bcec0
inclusion_reason: include
changed_paths:
- flashinfer/comm/trtllm_ar.py
- tests/test_trtllm_allreduce_fusion.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-1365
head_ref_oid: bcb80c366b74075419d8d31dfac58dee909dc2b6
---
# feat: auto deduce use_oneshot from token_num in all-reduce

- Repository: `flashinfer-ai/flashinfer`
- PR: [1365](https://github.com/flashinfer-ai/flashinfer/pull/1365)
- Decision: `include`
- Reason: include

## Changed Paths

- `flashinfer/comm/trtllm_ar.py`
- `tests/test_trtllm_allreduce_fusion.py`

## Evidence Bundle

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