tile-ai/tilelang

Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 47 minutes ago
Added to GitGenius on October 9th, 2025
Created on October 3rd, 2024
Open Issues & Pull Requests: 294 (-2)
Number of forks: 710
Total Stargazers: 7,269 (+0)
Total Subscribers: 41 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.8 hours
Mean response time: 9.5 days
90th percentile: 22.0 days
Tracked items: 717

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 91% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in about 2 hours, while "enhancement" waits about 2 days. 23% of tracked open issues have had no activity in three months. Only 11% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 238
New in 7 days: 25
Closed in 7 days: 5
Avg open age: 34 days
Stale 30+ days: 134
Stale 90+ days: 62

Recent activity

Opened in 7 days: 2
Closed in 7 days: 4
Comments in 7 days: 1
Events in 7 days: 12

Top labels

  • bug (318)
  • enhancement (117)
  • question (74)
  • good first issue (41)
  • help wanted (32)
  • documentation (4)
  • need V100 (3)
  • duplicate (2)

Detailed Description

TileLang is an innovative language and framework designed to bring structure, reliability, and scalability to the development of Large Language Model (LLM) applications. In an ecosystem often characterized by ad-hoc scripting, TileLang addresses the critical need for a systematic approach, tackling challenges like maintainability, testability, and observability in sophisticated AI systems. It aims to transform LLM application development from experimental code into robust, production-ready software.

At its core, TileLang introduces a declarative, component-based paradigm. The fundamental building block is a "tile," which encapsulates a single, well-defined operation. A tile can represent various functionalities: an LLM call (e.g., summarization, translation), a standard Python function (e.g., data parsing, API interaction), or a data transformation. These individual tiles are then interconnected to form "graphs," which define the entire workflow and dependencies of an LLM application. A key strength lies in its declarative nature, allowing developers to specify *what* to achieve rather than *how* it's executed. This is reinforced by a robust type system, where each tile and graph explicitly defines input/output schemas, ensuring data consistency and reducing runtime errors.

This modular design offers several compelling benefits. Firstly, it promotes exceptional modularity and composability; complex tasks break down into smaller, reusable tiles easily combined to build new applications without redundant code. Secondly, it vastly improves testability and observability. Individual tiles can be tested in isolation, simplifying debugging, while the framework provides insights into graph execution, crucial for performance tuning and error diagnosis. Furthermore, TileLang graphs, as declarative definitions, are inherently versionable for precise change management, and designed for portability, ensuring consistent execution across environments.

TileLang integrates seamlessly with Python, leveraging decorators like `@tile` to transform standard Python functions into reusable components. It provides specialized tile types for common LLM interactions (`tile.llm`) and orchestration patterns like sequential execution (`tile.chain`) or parallel processing (`tile.map`). A dedicated runtime then executes these defined graphs. Often likened to "Terraform for LLMs" or "React for LLMs," TileLang applies principles of infrastructure-as-code and component-based UI development to AI, providing an engineering-centric methodology for constructing complex LLM workflows.

In essence, TileLang represents a significant leap towards professionalizing LLM application development. By offering a structured, modular, and type-safe environment, it empowers developers to move beyond simple prompts to build more reliable, testable, and scalable AI solutions. It provides tools to manage the inherent complexity of LLM orchestration, enabling the creation of production-grade AI systems that are easier to maintain, debug, and evolve.