---
id: pr-tilelang-2033
repo: tile-ai/tilelang
pr: 2033
title: '[Refactor] Remove GEMM v1 and promote gemm_py to be the canonical gemm op'
author: LeiWang1999
date: '2026-04-13'
url: https://github.com/tile-ai/tilelang/pull/2033
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark kernel
- blackwell
- gemm
- mla
techniques: []
hardware_features:
- blackwell
kernel_types:
- gemm
- mla
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 5d729eeebca3ea776373a2918e3945d667bd1c7d
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- docs/deeplearning_operators/matmul_sparse.md
- maint/gemm_v2/correctness_evaluation.py
- maint/gemm_v2/correctness_evaluation_sm70.py
- maint/gemm_v2/correctness_evaluation_tcgen05.py
- maint/gemm_v2/correctness_evaluation_tcgen05_2cta.py
- maint/gemm_v2/latency.py
- maint/gemm_v2/latency_gemm.py
- maint/gemm_v2/latency_mha_fwd_bhsd.py
- maint/scripts/run_local_ci_test.sh
- src/op/builtin.h
- src/op/gemm.cc
- src/op/gemm.h
- src/op/gemm_py.cc
- src/op/gemm_py.h
- src/op/gemm_sp_py.h
- src/transform/inject_pipeline.cc
- src/transform/lower_blackwell_2sm.cc
- src/transform/lower_opaque_block.cc
- src/transform/producer_consumer_ws.cc
- testing/python/language/test_tilelang_language_if_range.py
- testing/python/language/test_tilelang_language_min_blocks_per_sm.py
- testing/python/language/test_tilelang_language_transpose.py
- testing/python/tilelibrary/test_tilelang_tilelibrary_gemm.py
- tilelang/env.py
- tilelang/ir.py
- tilelang/jit/execution_backend.py
- tilelang/language/__init__.py
- tilelang/language/gemm_op.py
- tilelang/tileop/__init__.py
- tilelang/tileop/gemm/__init__.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2033
head_ref_oid: 40b760451238912e02b8a1ed29ad3a08cdb0459e
---
# [Refactor] Remove GEMM v1 and promote gemm_py to be the canonical gemm op

- Repository: `tile-ai/tilelang`
- PR: [2033](https://github.com/tile-ai/tilelang/pull/2033)
- 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

- `docs/deeplearning_operators/matmul_sparse.md`
- `maint/gemm_v2/correctness_evaluation.py`
- `maint/gemm_v2/correctness_evaluation_sm70.py`
- `maint/gemm_v2/correctness_evaluation_tcgen05.py`
- `maint/gemm_v2/correctness_evaluation_tcgen05_2cta.py`
- `maint/gemm_v2/latency.py`
- `maint/gemm_v2/latency_gemm.py`
- `maint/gemm_v2/latency_mha_fwd_bhsd.py`
- `maint/scripts/run_local_ci_test.sh`
- `src/op/builtin.h`
- `src/op/gemm.cc`
- `src/op/gemm.h`
- `src/op/gemm_py.cc`
- `src/op/gemm_py.h`
- `src/op/gemm_sp_py.h`
- `src/transform/inject_pipeline.cc`
- `src/transform/lower_blackwell_2sm.cc`
- `src/transform/lower_opaque_block.cc`
- `src/transform/producer_consumer_ws.cc`
- `testing/python/language/test_tilelang_language_if_range.py`
- `testing/python/language/test_tilelang_language_min_blocks_per_sm.py`
- `testing/python/language/test_tilelang_language_transpose.py`
- `testing/python/tilelibrary/test_tilelang_tilelibrary_gemm.py`
- `tilelang/env.py`
- `tilelang/ir.py`
- `tilelang/jit/execution_backend.py`
- `tilelang/language/__init__.py`
- `tilelang/language/gemm_op.py`
- `tilelang/tileop/__init__.py`
- `tilelang/tileop/gemm/__init__.py`

## Evidence Bundle

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