---
id: pr-flashinfer-1503
repo: flashinfer-ai/flashinfer
pr: 1503
title: 'feat: integrate xqa attention backend'
author: qsang-nv
date: '2025-08-29'
url: https://github.com/flashinfer-ai/flashinfer/pull/1503
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: bbf4035429c692c42db74edaae483e549082dd09
inclusion_reason: kernel file changes
changed_paths:
- csrc/flashinfer_xqa_ops.cu
- csrc/xqa/barriers.cuh
- csrc/xqa/cuda_hint.cuh
- csrc/xqa/defines.h
- csrc/xqa/hostUtils.h
- csrc/xqa/ldgsts.cuh
- csrc/xqa/mha.cu
- csrc/xqa/mha.h
- csrc/xqa/mhaUtils.cuh
- csrc/xqa/mha_components.cuh
- csrc/xqa/mha_stdheaders.cuh
- csrc/xqa/mma.cuh
- csrc/xqa/platform.h
- csrc/xqa/specDec.h
- csrc/xqa/utils.cuh
- csrc/xqa/utils.h
- csrc/xqa/xqa_wrapper.cu
- flashinfer/__init__.py
- flashinfer/xqa.py
- tests/test_xqa.py
head_ref_oid: 5fd918a95ee93554c097313e65069779e5092545
artifact_dir: evidence/pull-bundles/flashinfer/gh-1503
---
# feat: integrate xqa attention backend

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

## Changed Paths

- `csrc/flashinfer_xqa_ops.cu`
- `csrc/xqa/barriers.cuh`
- `csrc/xqa/cuda_hint.cuh`
- `csrc/xqa/defines.h`
- `csrc/xqa/hostUtils.h`
- `csrc/xqa/ldgsts.cuh`
- `csrc/xqa/mha.cu`
- `csrc/xqa/mha.h`
- `csrc/xqa/mhaUtils.cuh`
- `csrc/xqa/mha_components.cuh`
- `csrc/xqa/mha_stdheaders.cuh`
- `csrc/xqa/mma.cuh`
- `csrc/xqa/platform.h`
- `csrc/xqa/specDec.h`
- `csrc/xqa/utils.cuh`
- `csrc/xqa/utils.h`
- `csrc/xqa/xqa_wrapper.cu`
- `flashinfer/__init__.py`
- `flashinfer/xqa.py`
- `tests/test_xqa.py`

## Evidence Bundle

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