---
id: pr-flashinfer-2711
repo: flashinfer-ai/flashinfer
pr: 2711
title: 'feat: Add DiT-oriented kernels where Qk (Bmm1) type can be reinterpreted into Int8 or BFloat16'
author: xrq-phys
date: '2026-05-01'
url: https://github.com/flashinfer-ai/flashinfer/pull/2711
source_category: upstream-code
architectures:
- sm100
tags:
- TMA
- attention_kv
- gemm_quant
- paged attention
techniques:
- async-copy
- fine-grained-quantization
hardware_features:
- tma
kernel_types:
- attention
- gemm
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: a3683bea07d666db7cacf2ce7ee71e221f1d5f6c
inclusion_reason: Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.
changed_paths:
- csrc/trtllm_fmha_kernel_launcher.cu
- flashinfer/artifacts.py
- flashinfer/prefill.py
- include/flashinfer/trtllm/fmha/fmhaKernels.cuh
- include/flashinfer/trtllm/fmha/fmhaRunner.cuh
- include/flashinfer/trtllm/fmha/fmhaRunnerParams.h
- include/flashinfer/trtllm/fmha/kernelParams.h
- tests/attention/test_trtllm_ragged_dit.py
artifact_dir: evidence/pull-bundles/flashinfer/gh-2711
head_ref_oid: 5ba1a689482c805e4abb66796b8f92a824c67760
---
# feat: Add DiT-oriented kernels where Qk (Bmm1) type can be reinterpreted into Int8 or BFloat16

- Repository: `flashinfer-ai/flashinfer`
- PR: [2711](https://github.com/flashinfer-ai/flashinfer/pull/2711)
- Decision: `Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.`
- Reason: Preserve page/KV/layout and plan-run contracts; profile memory traffic separately from math utilization.

## Changed Paths

- `csrc/trtllm_fmha_kernel_launcher.cu`
- `flashinfer/artifacts.py`
- `flashinfer/prefill.py`
- `include/flashinfer/trtllm/fmha/fmhaKernels.cuh`
- `include/flashinfer/trtllm/fmha/fmhaRunner.cuh`
- `include/flashinfer/trtllm/fmha/fmhaRunnerParams.h`
- `include/flashinfer/trtllm/fmha/kernelParams.h`
- `tests/attention/test_trtllm_ragged_dit.py`

## Evidence Bundle

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