JAX TPU Embedding documentation

JAX TPU Embedding documentation#

JAX SparseCore provides support for leveraging the SparseCore accelerators present in TPU generations starting with TPU v5p. SparseCores are specialized processors designed to accelerate workloads with sparse data access patterns, particularly large-scale embedding lookups common in deep learning recommendation models and other areas.

Installation#

Stable Release#

You can install JAX TPU Embedding from PyPI:

pip install jax-tpu-embedding

Nightly Builds#

To install the latest nightly builds from the public JAX TPU Embedding registry:

pip install --pre \
  --extra-index-url https://us-python.pkg.dev/ml-oss-artifacts-published/jax-tpu-embedding-public-nightly-artifacts-registry/simple/ \
  jax-tpu-embedding

To install a specific nightly dev release version, pin the exact version specifier:

pip install \
  --extra-index-url https://us-python.pkg.dev/ml-oss-artifacts-published/jax-tpu-embedding-public-nightly-artifacts-registry/simple/ \
  jax-tpu-embedding==0.2.0.devYYYYMMDD

Building from Source#

For building from source and developer instructions, see the Building from source guide.