---
id: pr-flashinfer-1533
repo: flashinfer-ai/flashinfer
pr: 1533
title: 'bugfix: Fix Persistent kernel precision for masked output '
author: Edenzzzz
date: '2025-08-24'
url: https://github.com/flashinfer-ai/flashinfer/pull/1533
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- persistent-kernel
- prefill
techniques:
- persistent-kernel
hardware_features: []
kernel_types:
- attention
- prefill
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 480d1ae0081f5ef2f07ae67f7c14d87f914dd4d4
inclusion_reason: kernel file changes
changed_paths:
- csrc/batch_attention.cu
- flashinfer/attention.py
- include/flashinfer/attention/persistent.cuh
- include/flashinfer/attention/prefill.cuh
- include/flashinfer/attention/scheduler.cuh
- tests/test_batch_attention.py
head_ref_oid: 87923976543ddd269a832effa1110daac287598c
artifact_dir: evidence/pull-bundles/flashinfer/gh-1533
---
# bugfix: Fix Persistent kernel precision for masked output 

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

## Changed Paths

- `csrc/batch_attention.cu`
- `flashinfer/attention.py`
- `include/flashinfer/attention/persistent.cuh`
- `include/flashinfer/attention/prefill.cuh`
- `include/flashinfer/attention/scheduler.cuh`
- `tests/test_batch_attention.py`

## Evidence Bundle

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