πŸ“ˆ GH Trending Explorer 🎲 Surprise me

← all repos

tile-ai / tilelang

git clone https://github.com/tile-ai/tilelang.git v0.1.15 Β· 21d ago πŸ”₯ on GitHub Trending today

A Python-embedded domain-specific language and TVM-based compiler for writing high-performance GPU, CPU, and NPU kernels.

Why you might care

Lets developers write kernels such as GEMM, dequant GEMM, and FlashAttention with Pythonic syntax instead of low-level CUDA or vendor code, while keeping control over low-level optimizations. Backends mentioned in the README include CUDA, ROCm, Metal, and Huawei Ascend NPUs.

Categories

Alternatives

TritonCUDATVMCUTLASS
+18
stars, 24h Β· #797
+~126
stars, 7 days Β· #971
+1.3k
stars, 30 days Β· #419
8.7k
β˜… total Β· +1% this week
905
forks Β· 406 open issues

Star history (as recorded here)

2026-10-20 Β· 8,686 β˜… 2026-10-21 Β· 8,704 β˜…
LanguagePython
Licenseβ€”
Created2024-10-03 (2y ago)
Last pushtoday
Watchers46
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-21 β€” #15 monthly in python Β· +1,269 β˜…
  • 2026-10-20 β€” #14 monthly in python Β· +1,248 β˜…

Links

README excerpt
# Tile Language
Documentation Β·
Installation Β·
Examples Β·
Releases Β·
Contributing Β·
TileLang (Ascend 950)
Tile Language (**tile-lang**) is a concise domain-specific language designed to streamline the development of high-performance GPU/CPU/NPU kernels (e.g., GEMM, Dequant GEMM, FlashAttention, LinearAttention). By employing a Pythonic syntax with an underlying compiler infrastructure on top of TVM, tile-lang allows developers to focus on productivity without sacrificing the low-level optimizations necessary for state-of-the-art performance.
## Latest News
- **2026-09-30 β€” Ascend 950 backend:** TileLang now officially supports Huawei Ascend 950 NPUs with native code generation, automatic scheduling and synchronization, SIMD/SIMT vector programming, etc. Explore the Ascend examples for GEMM, FlashAttention, and more.
- **2026-08-04 β€” TileLang LSP open sourced:** published a Language Server Protocol implementation for TileLang with inlay hints for buffer shapes, dtypes, scopes, and inferred layouts, plus hover details and precise diagnostics.
- **2026-08-03 β€” TileLang v0.1.13:** shipped the multi-backend language dialect, source locations in compiler diagnostics, new CUDA and Metal hardware paths, and a broad set of correctness fixes. This release removes several legacy APIs; read the compatibility notes before upgrading.
- **2026-07-30 β€” SM120 NVF4 block-scaled MMA:** added an optimized Blackwell path for `T.mma_gemm_blockscaled` and a corresponding SM120 example.
- **2026-07-28 β€” Metal 4 cooperative-tensor GEMM:** added cooperative-tensor `T.gemm` support for Apple M5, while retaining the simdgroup fallback for unsupported shapes and systems.
 Earlier news (2025–2026) 
### 2026
- **2026-07-28 β€” Source-aware compiler diagnostics:** carried Python source locations into TIRX and surfaced them in compiler errors.
- **2026-07-24 β€” Multi-backend language dialect:** reorganized the language layer around shared semantics with static CUDA, ROCm, and Metal dialects.
- **2026-07-23 β€” Block-causal attention for dLLM:** added fixed-length and variable-length block-causal attention examples for diffusion language models.
- **2026-07-22 β€” IR Lower Trace:** introduced a debugging tool for inspecting IR changes across every compiler pass and the final code-generation step.
- **2026-07-22 β€” DeepSeek V3.2 sparse MLA backward:** selected the launch width adaptively from the head-block size.
- **2026-07-21 β€” DeepSeek V3.2 top-k optimization:** improved the sparse-attention top-k selector's memory access pattern, delivering approximately 1.9Γ— higher performance in the reported benchmark.
- **2026-07-16 β€” Compiler pass timing:** added profiling for compiler passes with a configurable reporting threshold.
- **2026-07-12 β€” IKET profiler integration:** added CUDA timeline instrumentation and profiling support.
- **2026-07-08 β€” TileLang v0.1.12:** added the LLVM backend, tile scheduler, backend registry, pass visualizer, and expanded Blackwell support.
- **2026-07-06 β€” Pas

Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.