← 开源

Tilus is a tile-level kernel programming language with explicit control over shared memory and registers.

InfrastructureKernelsPython
增长势头
+024 小时新增 Star0.0%
504
Star
35
Fork
+1
本周
7
贡献者
创建于 2025-08-01 · 更新于 2026-12-03 · 今日第 23534 名
主要开发者
yaoyaodingWilliamZhang20v0ropaev
README

Tilus: A Tile-Level GPU Kernel Programming Language

Documentation | Tutorials | Paper

Tilus is a powerful research domain-specific language (DSL) for GPU programming that offers:

  • Thread-block-level granularity with tensors as the primary data type.
  • Explicit control over shared memory and register tensors (unlike Triton).
  • Low-precision types with arbitrary bit-widths (1 to 8 bits).

It also includes automatic tuning, caching, and a Pythonic interface for ease of use.

Tilus is pronounced as tie-lus, /ˈtaɪləs/.

News

  • [2025/07] Tilus v0.2.0 — Blackwell and Hopper GPU support, with step-by-step Blackwell matmul tutorials that build a high-performance kernel reaching cuBLAS level performance. See the release notes.

  • [2025/04] Tilus v0.1.0 — Initial release with Ampere support.

Getting Started

Installation

Install Tilus using pip:

pip install tilus

Note

Tilus depends on cuda-python. If your GPU driver is older than 580.65.06, you will need to install an older version of cuda-python to ensure compatibility.

pip install tilus "cuda-python<13"

Usage

To get started, follow the Blackwell matmul tutorials to learn how to build a high-performance GPU kernel step by step with Tilus.

You can also check more examples and learn about different topics in the programming guide.

Research

This project is based on the following research paper:

@inproceedings{ding2025tilus,
 author = {Ding, Yaoyao and Hou, Bohan and Zhang, Xiao and Lin, Allan and Chen, Tianqi and Yu, Cody Hao and Wang, Yida and Pekhimenko, Gennady},
 title = {Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation},
 url = {https://doi.org/10.1145/3760250.3762219},
 booktitle = {Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1},
 series = {ASPLOS '26}
}

Acknowledgement

We would like to acknowledge the following projects for their influence on Tilus's design and development:

  • Hidet: We take Hidet IR as our low-level target and reuse its runtime system.
  • TVM: Hidet's initial IR was adopted from TVM, and we also learned a lot from TVM on how to build a compiler.
  • Triton: The core idea of defining kernels at a thread-block level and working with tiles was inspired by Triton.
  • Hexcute: We adopted the idea of using automatic layout inference to simplify programming from Hexcute.
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载