---
id: pr-flashinfer-774
repo: flashinfer-ai/flashinfer
pr: 774
title: 'bugfix: Ensure Loop Termination by Enforcing IEEE-754 Compliance in Sampling Kernels'
author: yzh119
date: '2025-02-01'
url: https://github.com/flashinfer-ai/flashinfer/pull/774
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: a0443d57b9508b539e1245e7f218fe9d14fc8447
inclusion_reason: kernel file changes
changed_paths:
- include/flashinfer/sampling.cuh
head_ref_oid: 9f6cc52a2fbd8f407dc3484f6c62b7bfb6bce238
artifact_dir: evidence/pull-bundles/flashinfer/gh-774
---
# bugfix: Ensure Loop Termination by Enforcing IEEE-754 Compliance in Sampling Kernels

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

## Changed Paths

- `include/flashinfer/sampling.cuh`

## Evidence Bundle

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