---
id: pr-flashinfer-1483
repo: flashinfer-ai/flashinfer
pr: 1483
title: 'perf: add fast path to TopPRenormProbKernel for top_p >= 1.0, significantly boosting SGLang workloads'
author: TianyuZhang1214
date: '2025-08-14'
url: https://github.com/flashinfer-ai/flashinfer/pull/1483
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: cba02c4e9858eba08d26f97436e8fb42870492ef
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_renorm.py
- include/flashinfer/sampling.cuh
- tests/test_sampling.py
head_ref_oid: 2f44012e0ca346c5a0c61da7da06d7a8d76b8a65
artifact_dir: evidence/pull-bundles/flashinfer/gh-1483
---
# perf: add fast path to TopPRenormProbKernel for top_p >= 1.0, significantly boosting SGLang workloads

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

## Changed Paths

- `benchmarks/bench_renorm.py`
- `include/flashinfer/sampling.cuh`
- `tests/test_sampling.py`

## Evidence Bundle

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