---
id: pr-flashinfer-2757
repo: flashinfer-ai/flashinfer
pr: 2757
title: 'feat: Add FP4 KV cache quant/dequant kernels '
author: samuellees
date: '2026-03-18'
url: https://github.com/flashinfer-ai/flashinfer/pull/2757
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- fp4
- quantization
techniques: []
hardware_features:
- fp4
kernel_types:
- quantization
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: cc4edf44e5a0b5437672b46d64f24b0a3f0504ad
inclusion_reason: kernel file changes
changed_paths:
- csrc/fp4_kv_dequantization.cu
- csrc/fp4_kv_quantization.cu
- docs/api/fp4_quantization.rst
- flashinfer/__init__.py
- flashinfer/aot.py
- flashinfer/fp4_quantization.py
- flashinfer/jit/__init__.py
- flashinfer/jit/fp4_kv_dequantization.py
- flashinfer/jit/fp4_kv_quantization.py
- tests/utils/test_fp4_kv_quantization.py
head_ref_oid: d511c88c9fb2495642bdd33794dd969da41f6f9d
artifact_dir: evidence/pull-bundles/flashinfer/gh-2757
---
# feat: Add FP4 KV cache quant/dequant kernels 

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

## Changed Paths

- `csrc/fp4_kv_dequantization.cu`
- `csrc/fp4_kv_quantization.cu`
- `docs/api/fp4_quantization.rst`
- `flashinfer/__init__.py`
- `flashinfer/aot.py`
- `flashinfer/fp4_quantization.py`
- `flashinfer/jit/__init__.py`
- `flashinfer/jit/fp4_kv_dequantization.py`
- `flashinfer/jit/fp4_kv_quantization.py`
- `tests/utils/test_fp4_kv_quantization.py`

## Evidence Bundle

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