Libtt 为 Tenstorrent 处理器提供 PyTorch 与 JAX 编译运行时
Libtt: A Compiler and Runtime for Tenstorrent Processors
Libtt 发布面向 Tenstorrent 处理器的编译器与运行时,通过实现 PJRT 接口让 JAX 直接运行、PyTorch 经 TorchTPU 运行,为 TPU 编写的软件只需替换自定义 kernel 即可迁移。
libtt 把 PyTorch 与 JAX 生态接入 Tenstorrent 硬件,读者可了解非 NVIDIA 加速器如何复用现有框架代码。
arXiv:2611.34273v1 Announce Type: cross 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org