---
id: pr-flashinfer-2865
repo: flashinfer-ai/flashinfer
pr: 2865
title: 'Mamba SSU: horizontal MTP kernel (+ DSTATE=96 support)'
author: ishovkun
date: '2026-04-04'
url: https://github.com/flashinfer-ai/flashinfer/pull/2865
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 15f11e95c882c891fbd1236b0d463b56e6d655c9
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_ssu_sweep_mtp.py
- flashinfer/jit/core.py
- flashinfer/jit/mamba/__init__.py
- flashinfer/jit/mamba/selective_state_update.py
- flashinfer/mamba/selective_state_update.py
- include/flashinfer/mamba/common.cuh
- include/flashinfer/mamba/conversion.cuh
- include/flashinfer/mamba/create_tensor_map.cuh
- include/flashinfer/mamba/invoke_selective_state_update_mtp.cuh
- include/flashinfer/mamba/kernel_selective_state_update_mtp_async_horizontal.cuh
- include/flashinfer/mamba/kernel_selective_state_update_mtp_horizontal.cuh
- include/flashinfer/mamba/kernel_selective_state_update_mtp_simple.cuh
- include/flashinfer/mamba/kernel_selective_state_update_mtp_vertical.cuh
- include/flashinfer/mamba/kernel_selective_state_update_stp.cuh
- include/flashinfer/mamba/selective_state_update.cuh
- include/flashinfer/mamba/ssu_mtp_common.cuh
- tests/mamba/test_selective_state_update_mtp.py
- tests/mamba/test_selective_state_update_stp.py
head_ref_oid: 8064d3c6f7c08889d1183304c0052df27c583337
artifact_dir: evidence/pull-bundles/flashinfer/gh-2865
---
# Mamba SSU: horizontal MTP kernel (+ DSTATE=96 support)

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

## Changed Paths

- `benchmarks/bench_ssu_sweep_mtp.py`
- `flashinfer/jit/core.py`
- `flashinfer/jit/mamba/__init__.py`
- `flashinfer/jit/mamba/selective_state_update.py`
- `flashinfer/mamba/selective_state_update.py`
- `include/flashinfer/mamba/common.cuh`
- `include/flashinfer/mamba/conversion.cuh`
- `include/flashinfer/mamba/create_tensor_map.cuh`
- `include/flashinfer/mamba/invoke_selective_state_update_mtp.cuh`
- `include/flashinfer/mamba/kernel_selective_state_update_mtp_async_horizontal.cuh`
- `include/flashinfer/mamba/kernel_selective_state_update_mtp_horizontal.cuh`
- `include/flashinfer/mamba/kernel_selective_state_update_mtp_simple.cuh`
- `include/flashinfer/mamba/kernel_selective_state_update_mtp_vertical.cuh`
- `include/flashinfer/mamba/kernel_selective_state_update_stp.cuh`
- `include/flashinfer/mamba/selective_state_update.cuh`
- `include/flashinfer/mamba/ssu_mtp_common.cuh`
- `tests/mamba/test_selective_state_update_mtp.py`
- `tests/mamba/test_selective_state_update_stp.py`

## Evidence Bundle

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