---
id: pr-flashinfer-2105
repo: flashinfer-ai/flashinfer
pr: 2105
title: enable xqa speculative decoding
author: qsang-nv
date: '2025-11-22'
url: https://github.com/flashinfer-ai/flashinfer/pull/2105
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 2439a416597c7ff8eede5ebf83991288077bcb2d
inclusion_reason: kernel file changes
changed_paths:
- csrc/flashinfer_xqa_binding.cu
- csrc/xqa/mha.cu
- csrc/xqa/xqa_wrapper.cu
- flashinfer/decode.py
- flashinfer/jit/xqa.py
- flashinfer/xqa.py
- tests/attention/test_trtllm_gen_attention.py
- tests/attention/test_xqa_batch_decode.py
head_ref_oid: 07c874284d5205caf537619a17d112ddbfa66937
artifact_dir: evidence/pull-bundles/flashinfer/gh-2105
---
# enable xqa speculative decoding

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

## Changed Paths

- `csrc/flashinfer_xqa_binding.cu`
- `csrc/xqa/mha.cu`
- `csrc/xqa/xqa_wrapper.cu`
- `flashinfer/decode.py`
- `flashinfer/jit/xqa.py`
- `flashinfer/xqa.py`
- `tests/attention/test_trtllm_gen_attention.py`
- `tests/attention/test_xqa_batch_decode.py`

## Evidence Bundle

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