---
id: pr-flashinfer-2110
repo: flashinfer-ai/flashinfer
pr: 2110
title: add tensor scale input for xqa
author: qsang-nv
date: '2025-11-20'
url: https://github.com/flashinfer-ai/flashinfer/pull/2110
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- decode
- mla
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: af25b45c0579ba73f1d45da3be8a9f440469f5ec
inclusion_reason: kernel file changes
changed_paths:
- csrc/flashinfer_xqa_binding.cu
- csrc/xqa/mha.cu
- csrc/xqa/mha.h
- csrc/xqa/mha_sm90.cu
- csrc/xqa/mla_sm120.cu
- csrc/xqa/xqa_wrapper.cu
- flashinfer/decode.py
- flashinfer/xqa.py
- tests/attention/test_xqa_batch_decode.py
- tests/attention/test_xqa_mla_batch_decode.py
head_ref_oid: 4f51793e850f3e6f995b97dc2fb2fce8b1ee25f9
artifact_dir: evidence/pull-bundles/flashinfer/gh-2110
---
# add tensor scale input for xqa

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

## Changed Paths

- `csrc/flashinfer_xqa_binding.cu`
- `csrc/xqa/mha.cu`
- `csrc/xqa/mha.h`
- `csrc/xqa/mha_sm90.cu`
- `csrc/xqa/mla_sm120.cu`
- `csrc/xqa/xqa_wrapper.cu`
- `flashinfer/decode.py`
- `flashinfer/xqa.py`
- `tests/attention/test_xqa_batch_decode.py`
- `tests/attention/test_xqa_mla_batch_decode.py`

## Evidence Bundle

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