---
id: pr-flashinfer-1035
repo: flashinfer-ai/flashinfer
pr: 1035
title: 'feat: Softmax free sampling'
author: kf-zhang
date: '2025-04-28'
url: https://github.com/flashinfer-ai/flashinfer/pull/1035
source_category: upstream-code
architectures:
- sm100
tags:
- tma
techniques: []
hardware_features:
- tma
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: 3f76969aced613a80f00c01639a6fb6c45583bcd
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_sampling.py
- csrc/flashinfer_ops.cu
- csrc/flashinfer_sampling_ops.cu
- csrc/sampling.cu
- flashinfer/__init__.py
- flashinfer/sampling.py
- include/flashinfer/sampling.cuh
- tests/conftest.py
- tests/test_sampling.py
head_ref_oid: f9318dec0e4d9ea60be3975c501f4dd90f676aa2
artifact_dir: evidence/pull-bundles/flashinfer/gh-1035
---
# feat: Softmax free sampling

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

## Changed Paths

- `benchmarks/bench_sampling.py`
- `csrc/flashinfer_ops.cu`
- `csrc/flashinfer_sampling_ops.cu`
- `csrc/sampling.cu`
- `flashinfer/__init__.py`
- `flashinfer/sampling.py`
- `include/flashinfer/sampling.cuh`
- `tests/conftest.py`
- `tests/test_sampling.py`

## Evidence Bundle

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