---
id: pr-flashinfer-2520
repo: flashinfer-ai/flashinfer
pr: 2520
title: Support NVFP4 KV cache decode on SM120
author: Tom-Zheng
date: '2026-03-09'
url: https://github.com/flashinfer-ai/flashinfer/pull/2520
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- fp4
- nvfp4
- quantization
techniques: []
hardware_features:
- fp4
- nvfp4
kernel_types:
- attention
- decode
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 2bb3e9e67aa5f7b05b7f867cac780bba74bf3920
inclusion_reason: kernel file changes
changed_paths:
- csrc/flashinfer_xqa_binding.cu
- csrc/xqa/defines.h
- csrc/xqa/mha.cu
- csrc/xqa/mha.h
- csrc/xqa/mhaUtils.cuh
- csrc/xqa/utils.cuh
- csrc/xqa/xqa_wrapper.cu
- flashinfer/decode.py
- flashinfer/fp4_quantization.py
- flashinfer/jit/xqa.py
- flashinfer/xqa.py
- tests/attention/test_xqa.py
- tests/attention/test_xqa_batch_decode.py
head_ref_oid: 2104ef7599cf8d625c9e210234a2e1718b56c0f6
artifact_dir: evidence/pull-bundles/flashinfer/gh-2520
---
# Support NVFP4 KV cache decode on SM120

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

## Changed Paths

- `csrc/flashinfer_xqa_binding.cu`
- `csrc/xqa/defines.h`
- `csrc/xqa/mha.cu`
- `csrc/xqa/mha.h`
- `csrc/xqa/mhaUtils.cuh`
- `csrc/xqa/utils.cuh`
- `csrc/xqa/xqa_wrapper.cu`
- `flashinfer/decode.py`
- `flashinfer/fp4_quantization.py`
- `flashinfer/jit/xqa.py`
- `flashinfer/xqa.py`
- `tests/attention/test_xqa.py`
- `tests/attention/test_xqa_batch_decode.py`

## Evidence Bundle

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