---
id: pr-tilelang-2148
repo: tile-ai/tilelang
pr: 2148
title: '[Examples] Add examples for operators in DeepSeek-V4'
author: Rachmanino
date: '2026-05-07'
url: https://github.com/tile-ai/tilelang/pull/2148
source_category: upstream-code
architectures:
- sm90
tags:
- attention
- attention kernel
- benchmark kernel
- cuda kernel
- fp4
- fp8
- gemm
- mla
- sm90
techniques: []
hardware_features:
- fp4
- fp8
- hopper
kernel_types:
- attention
- gemm
- mla
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 47f20e53a4f5934dab7fc0febe3d3477ec833182
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- examples/deepseek_v32/sparse_mla_fwd.py
- examples/deepseek_v4/act_quant.py
- examples/deepseek_v4/sparse_attn_fwd_sm90.py
- examples/deepseek_v4/test_tilelang_example_deepseek_v4.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2148
head_ref_oid: ec943d1e6759322a993d39809f80190f733adb62
---
# [Examples] Add examples for operators in DeepSeek-V4

- Repository: `tile-ai/tilelang`
- PR: [2148](https://github.com/tile-ai/tilelang/pull/2148)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `examples/deepseek_v32/sparse_mla_fwd.py`
- `examples/deepseek_v4/act_quant.py`
- `examples/deepseek_v4/sparse_attn_fwd_sm90.py`
- `examples/deepseek_v4/test_tilelang_example_deepseek_v4.py`

## Evidence Bundle

`evidence/pull-bundles/tilelang/gh-2148`
