---
id: pr-flashinfer-958
repo: flashinfer-ai/flashinfer
pr: 958
title: '[TVM] Added tvm binding for sampling kernel'
author: annanyapr
date: '2025-03-24'
url: https://github.com/flashinfer-ai/flashinfer/pull/958
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: f65b93f5e4af850e14ab4b9e7f4192f82bb2d13d
inclusion_reason: kernel file changes
changed_paths:
- flashinfer/jit/__init__.py
- flashinfer/jit/attention/__init__.py
- flashinfer/jit/attention/tvm.py
- tvm_binding/sampling.cu
- tvm_binding/sampling_jit_tvm_binding.cu
head_ref_oid: 804cd5cb2ab96f55cff6a232b9ca21ad5e6ff4ca
artifact_dir: evidence/pull-bundles/flashinfer/gh-958
---
# [TVM] Added tvm binding for sampling kernel

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

## Changed Paths

- `flashinfer/jit/__init__.py`
- `flashinfer/jit/attention/__init__.py`
- `flashinfer/jit/attention/tvm.py`
- `tvm_binding/sampling.cu`
- `tvm_binding/sampling_jit_tvm_binding.cu`

## Evidence Bundle

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