tt-lang

Official

Code TT kernels in Python for TT hardware.

Authortenstorrent
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TT-Lang solves the challenge of writing low-level TT hardware kernels by providing a Python-based DSL that exposes explicit data movement and tile-level compute primitives.

Core Features & Use Cases

  • Explicit kernel structure and dataflow buffers for fine-grained control over TT hardware.
  • Support for grid, blocks, pipes, and streaming patterns to fuse workloads like matmul, softmax, and attention.
  • Use cases include rapid prototyping of ML kernels on TT hardware and deployment to real hardware or simulators.

Quick Start

Create a tiny kernel with ttl.kernel and ttl.compute and run it on the functional simulator to verify core TT-Lang syntax.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tt-lang
Download link: https://github.com/tenstorrent/tt-forge/archive/main.zip#tt-lang

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.