Skip to content

Tenzr

Portable Numerical Computing

Tenzr is a tensor library for heterogeneous hardware. It traces ordinary host code into an intermediate representation, applies functional transforms (jit, grad, vmap, jvp), and executes the result through PJRT on CPUs, GPUs, and accelerators.

Start Here

  • API Reference: the C++ classes, functions, and source files.
  • Install: pip install tenzr, apt install tenzr, or dnf install tenzr.
  • Backends: install the PJRT plugin wheels for the accelerators you need; the CPU plugin is the baseline.