tile-ai/tilelang
Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels
What it solves
TileLang simplifies the creation of high-performance computing kernels (such as matrix multiplication or attention mechanisms) for GPUs, CPUs, and NPUs. It bridges the gap between writing low-level, hardware-specific code and maintaining high developer productivity.
How it works
It provides a Python-based domain-specific language that sits on top of the TVM compiler infrastructure. Developers write their kernels using Pythonic syntax, and TileLang handles the complex compilation, scheduling, and synchronization required to run efficiently on various hardware backends like NVIDIA CUDA, AMD ROCm, Apple Metal, and Huawei Ascend.
Who it’s for
It is designed for developers and researchers who need to build custom, high-performance kernels for machine learning workloads but want to avoid the extreme complexity of manual low-level hardware programming.
Highlights
- Supports multiple hardware backends including NVIDIA, AMD, Apple, and Huawei.
- Includes a dedicated Language Server Protocol (LSP) for VS Code with helpful code hints and diagnostics.
- Features a built-in autotuner to help optimize performance across different hardware configurations.
- Provides a debugging tool to inspect intermediate compiler representations and trace transformations.
- Offers a collection of interactive puzzles to help users learn the language.
Related
- Project
- Project
- Project
- Project
- Project