---
id: pr-flashinfer-913
repo: flashinfer-ai/flashinfer
pr: 913
title: 'feat: flashinfer intra-kernel profiler'
author: yzh119
date: '2025-03-06'
url: https://github.com/flashinfer-ai/flashinfer/pull/913
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- mla
techniques: []
hardware_features: []
kernel_types:
- attention
- mla
languages:
- cuda-cpp
captured_at: '2026-04-17'
status: merged
merge_sha: c2719f6071e210ade7e7eb312513a664036cad4d
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_deepseek_mla.py
- csrc/batch_mla_config.jinja
- csrc/batch_mla_sm90_pybind.cu
- csrc/batch_mla_sm90_run.cu
- flashinfer/jit/attention/pytorch.py
- flashinfer/mla.py
- flashinfer/profiler/__init__.py
- include/flashinfer/attention/mla.cuh
- include/flashinfer/attention/mla_hopper.cuh
- include/flashinfer/attention/mla_params.cuh
- include/flashinfer/profiler.cuh
- profiler/.gitignore
- profiler/README.md
- profiler/mla.py
- tests/test_deepseek_mla.py
- tvm_binding/batch_mla_config.jinja
head_ref_oid: f2f4c7e5503dfd5e2d46fa392dedbfaa2da8630a
artifact_dir: evidence/pull-bundles/flashinfer/gh-913
---
# feat: flashinfer intra-kernel profiler

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

## Changed Paths

- `benchmarks/bench_deepseek_mla.py`
- `csrc/batch_mla_config.jinja`
- `csrc/batch_mla_sm90_pybind.cu`
- `csrc/batch_mla_sm90_run.cu`
- `flashinfer/jit/attention/pytorch.py`
- `flashinfer/mla.py`
- `flashinfer/profiler/__init__.py`
- `include/flashinfer/attention/mla.cuh`
- `include/flashinfer/attention/mla_hopper.cuh`
- `include/flashinfer/attention/mla_params.cuh`
- `include/flashinfer/profiler.cuh`
- `profiler/.gitignore`
- `profiler/README.md`
- `profiler/mla.py`
- `tests/test_deepseek_mla.py`
- `tvm_binding/batch_mla_config.jinja`

## Evidence Bundle

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