---
id: pr-flashinfer-2752
repo: flashinfer-ai/flashinfer
pr: 2752
title: '[feat] Add air top-p algorithm'
author: qsang-nv
date: '2026-03-16'
url: https://github.com/flashinfer-ai/flashinfer/pull/2752
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: b418bc3fa381e9351a4f48d33a8618240b071c6f
inclusion_reason: kernel file changes
changed_paths:
- csrc/flashinfer_sampling_binding.cu
- csrc/renorm.cu
- flashinfer/logits_processor/operators.py
- flashinfer/sampling.py
- include/flashinfer/air_top_p.cuh
- tests/utils/test_logits_processor.py
- tests/utils/test_sampling.py
head_ref_oid: 412ad9480568075da4d8b1c1d70ae558ecd08a10
artifact_dir: evidence/pull-bundles/flashinfer/gh-2752
---
# [feat] Add air top-p algorithm

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

## Changed Paths

- `csrc/flashinfer_sampling_binding.cu`
- `csrc/renorm.cu`
- `flashinfer/logits_processor/operators.py`
- `flashinfer/sampling.py`
- `include/flashinfer/air_top_p.cuh`
- `tests/utils/test_logits_processor.py`
- `tests/utils/test_sampling.py`

## Evidence Bundle

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