Can Libtt Make Tenstorrent a Practical PyTorch and JAX Target?
Libtt bridges PyTorch and JAX to Tenstorrent through PJRT, but compatibility tests are only one part of accelerator adoption.
An accelerator can be capable in silicon yet difficult to use if an existing model cannot compile, launch and scale on it. The authors of Libtt, a preprint submitted on November 25, present a compiler and runtime intended to bring PyTorch and JAX workloads to Tenstorrent processors. The engineering question is whether a common framework interface can lower the cost of trying non-CUDA hardware without disguising the work still required for performance.
The interface is the product
Libtt implements PJRT, the interface used by XLA-based frameworks to communicate with accelerator backends. JAX uses that path directly. PyTorch is connected through TorchTPU. The authors package the compiler and multi-chip runtime as one shared library built on Tenstorrent’s open-source software stack, including fixes to that upstream stack. This is more than an API shim: a framework program must lower to executable operations, handle memory and device communication, and keep working across chips.
The paper reports passing most, rather than all, of the JAX and TorchTPU test suites. It also reports running SGLang, TorchTitan and Miles, spanning serving, fine-tuning and reinforcement learning workflows. These are useful breadth tests, though each application has configurations and kernels that a short list cannot exhaust. The authors explicitly identify custom kernels as an exception to the claim that existing TPU-oriented software can carry over with minimal change.
What portability would need to prove
For an infrastructure team, the next comparison is workload-specific: operator coverage, compiler failures, multi-chip scaling, latency, throughput, power draw and total operating cost on the same models and batch sizes. A program that runs is not necessarily fast, and a framework passing tests does not make a CUDA-specific kernel portable. The paper’s implementation and evaluation are an important integration result, not proof of universal economic superiority over established GPU systems.
A practical trial would select representative production models, record unsupported operations and the amount of code changed, then compare end-to-end service behavior under fixed quality and latency requirements. The larger lesson is that accelerator competition depends on the software path from model code to distributed execution as much as on peak arithmetic performance.
Source: Libtt research preprint.