arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.34273cs.DCcs.LG
收藏

Libtt:针对Tenstorrent处理器的编译器与运行时

Libtt: A Compiler and Runtime for Tenstorrent Processors

Relativity

Philipp Moritz, Sarah Dong

AI总结:

Libtt是针对Tenstorrent处理器的编译器与运行时,通过实现PJRT接口将PyTorch、JAX生态引入该硬件,经修复与优化后可运行相关测试套件及多类AI任务,实现TPU软件的低门槛迁移。

摘要:

Libtt将PyTorch和JAX生态系统引入Tenstorrent硬件,它实现了PJRT(XLA类框架驱动Google TPU的接口),使JAX可直接在其上运行,PyTorch通过TorchTPU运行,为TPU编写的软件除替换自定义内核外无需修改即可迁移。Libtt基于Tenstorrent的开源编译器与运行时构建,将从编译器到多芯片运行时的完整栈打包为单个共享库;它对上游Tenstorrent软件进行大量修复,使现有PyTorch和JAX代码可直接运行,还新增大量编译器优化以提升性能。该项目通过了大部分JAX和TorchTPU测试套件,可运行SGLang、TorchTitan和Miles,涵盖推理部署、微调及强化学习场景。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑