libtpu
Google Cloud TPU runtime library.
Decision gist · record as of 2026-08-14
Yes, if you are running machine learning workloads on Google Cloud TPUs with JAX, PyTorch, or TensorFlow. The package is actively maintained, has no known vulnerabilities, and is essential for TPU access. No, if you do not have TPU hardware or are not using Google Cloud—the library is platform-specific and will not function without it. Review Google's licensing terms before production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud TPU hardware access and manylinux_2_31 x86_64 platform; Python 3.11 or newer.
- Medium install friction due to platform-specific wheels (manylinux_2_31 x86_64 only); requires Python 3.11 or newer.
- Package is actively maintained with recent releases and no known vulnerabilities.
License · maintenance · safety
(unclear) — Licensed under Google Cloud Platform Terms of Service, which is not a standard open-source license. Review Google's terms before deploying in production or redistributing.
last release 2026-08-14 (0 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 963,553 downloads/mo, #4,629 on PyPI
Alternatives
Verify before relying
pip install libtpu
import libtpu
# Use with JAX, PyTorch, or TensorFlow on Google Cloud TPU- Whether libtpu can be installed and used outside of Google Cloud TPU environments or requires TPU hardware.
- Exact API surface and SDK primitives available for direct TPU interaction mentioned in the description.
- Compatibility matrix with specific JAX, PyTorch, and TensorFlow versions beyond the JAX 0.7.1+ note.
What it is and what it does
libtpu is Google's core runtime library that bridges machine learning frameworks—JAX, PyTorch, and TensorFlow—to Google Cloud TPU hardware. It handles the low-level work of compiling models, managing inter-chip communication, and orchestrating execution on TPU devices. The library also exposes SDK primitives for direct TPU interaction and deployment workflows.
The package is tightly coupled to Google Cloud TPU infrastructure and requires Python 3.11 or newer. It ships as platform-specific wheels for manylinux_2_31 x86_64 only, with no runtime dependencies beyond the Python standard library. Installation is straightforward via pip, but actual use requires access to Google Cloud TPU hardware.
Use it for
- Running JAX models on Google Cloud TPUs for large-scale machine learning training and inference.
- Deploying PyTorch models to TPU clusters via Google Cloud for distributed training.
- Executing TensorFlow workloads on TPU hardware with automatic compilation and optimization.
- Building custom TPU deployment pipelines using the SDK primitives for direct TPU control.
- Scaling inference workloads across multiple TPU chips with built-in inter-chip communication.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are running machine learning workloads on Google Cloud TPUs with JAX, PyTorch, or TensorFlow.
The package is actively maintained, has no known vulnerabilities, and is essential for TPU access. No, if you do not have TPU hardware or are not using Google Cloud—the library is platform-specific and will not function without it. Review Google's licensing terms before production use.
Install
libtpu on PyPI
Before you install
Medium install friction due to platform-specific wheels (manylinux_2_31 x86_64 only); requires Python 3.11 or newer. Package is actively maintained with recent releases and no known vulnerabilities.
Requires Google Cloud TPU hardware access and manylinux_2_31 x86_64 platform; Python 3.11 or newer.
License in practice
Licensed under Google Cloud Platform Terms of Service, which is not a standard open-source license. Review Google's terms before deploying in production or redistributing.
Quickstart
pip install libtpu
import libtpu
# Use with JAX, PyTorch, or TensorFlow on Google Cloud TPU
Verify before relying
- Whether libtpu can be installed and used outside of Google Cloud TPU environments or requires TPU hardware.
- Exact API surface and SDK primitives available for direct TPU interaction mentioned in the description.
- Compatibility matrix with specific JAX, PyTorch, and TensorFlow versions beyond the JAX 0.7.1+ note.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 0 days since the last release |
| First released | |
| Downloads | 963,553 / month, #4,629 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: libtpu-0.0.46-cp311-cp311-manylinux_2_31_x86_64.whl; libtpu-0.0.46-cp312-cp312-manylinux_2_31_x86_64.whl; libtpu-0.0.46-cp313-cp313-manylinux_2_31_x86_64.whl; libtpu-0.0.46-cp314-cp314-manylinux_2_31_x86_64.whl; libtpu-0.0.46-cp314-cp314t-manylinux_2_31_x86_64.whl; libtpu-0.0.46-cp315-cp315-manylinux_2_31_x86_64.whl; libtpu-0.0.46-cp315-cp315t-manylinux_2_31_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tpu runtime library”
- libtpulibtpu is the runtime library that enables JAX, PyTorch, and…
- tpu-infoCLI tool that detects Cloud TPU devices and reads runtime metrics…
- cloud-tpu-diagnosticsCollects stack traces and diagnostic data from jobs running on Cloud…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also torchax · tpu-info · tpu-inference · pathwaysutils · tokamax · tensorflow · tf-nightly-cpu · tf-nightly · tensorflow-aarch64 · tensorflow-cpu