cs.DCNov 25, 2026

Libtt: A Compiler and Runtime for Tenstorrent Processors

Authors: Philipp Moritz, Sarah Dong

Abstract

Libtt brings the PyTorch and JAX ecosystem to Tenstorrent hardware. It implements PJRT, the interface through which XLA-based frameworks drive Google's TPUs, so JAX runs on it directly, PyTorch runs through TorchTPU, and software written for TPUs carries over with no changes except replacing custom kernels. Built on Tenstorrent's open-source compiler and runtime, libtt ships the entire stack, from the compiler to the multi-chip runtime, as a single shared library. It contains extensive fixes to the upstream Tenstorrent software to make existing PyTorch and JAX code work out of the box, and extensive new compiler optimizations to make it fast. It passes most of the JAX and TorchTPU test suites and runs SGLang, TorchTitan, and Miles, covering serving, fine-tuning, and reinforcement learning.

Explore similar work

CardsList
  1. RLX: A Unified Multi-Backend Tensor Compiler and Distributed Runtime in Rust

    Sep 29, 2026Eugene Hauptmann, Nataliya KosmynaEfficient Neural Network Inference

  2. Trident: Unifying Guarded Dispatch and Host Execution for PyTorch Triton Workloads

    Sep 29, 2026Jinjie Liu, Xiaoyan Liu, Shuhan Zhang +5Inference-Time OptimizationGPU Acceleration