tile-ai / tilelang
git clone https://github.com/tile-ai/tilelang.git
v0.1.15 Β· 20d ago
π₯ on GitHub Trending today
Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels
β
stars, 24h
β
stars, 7 days
+1.2k
stars, 30 days Β· #250
8.7k
β
total
905
forks Β· 408 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguagePython
Licenseβ
Created2024-10-03 (2y ago)
Last pushtoday
Watchers46
OwnerOrganization
Seen on GitHub Trending
- 2026-10-20 β #14 monthly in python Β· +1,248 β
Links
- GitHub: github.com/tile-ai/tilelang
- Homepage: https://tilelang.com/
- Releases Β· Issues Β· Hacker News mentions
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