← Back to Leaderboard
Tvllm-project

vllm-project/tpu-inference

vLLM’s JAX backend for self-hosted model serving on TPUs

Engineering Health (Methodology)
A+ · 96/100
Maintenance Activity
● Updated today
Latest Release
v0.34.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity20/20
Self-HostedAPI
Total Stars
★ 484
24h Growth
+0
7d Growth
+1
Forks
375

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

vllm-project/tpu-inference Star History (2025-06-04 - 2026-12-03) ALL-TIME STAR HISTORY (2025-06 – 2026-12) +483 in 547d · avg +1/day 511 256 0 2025-06-04: ★ 12025-07-12: ★ 52025-08-16: ★ 112025-09-20: ★ 212025-10-25: ★ 1232025-11-29: ★ 1662026-01-03: ★ 1972026-02-07: ★ 2222026-03-14: ★ 2522026-04-18: ★ 2862026-05-23: ★ 3342026-06-27: ★ 3662026-08-01: ★ 3942026-09-05: ★ 4242026-10-10: ★ 4572026-11-13: ★ 4812026-12-03: ★ 484 ★ 484 2025-06 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

vLLM JAX, formerly tpu-inference, is a Python hardware plugin that keeps vLLM's serving interface and telemetry while routing model execution through a JAX-based lowering path on TPU. The dependency manifest pins JAX and jaxlib at 0.11.2, libtpu at 0.0.48, and Flax at 0.12.10. PyTorch and TorchAX dependencies reflect the shared lowering design, not a commitment to PyTorch-native TPU execution.

The current project focus is JAX model serving; PyTorch-native TPU serving now has a separate implementation and release cycle in vllm-torchtpu. Within the JAX plugin, v0.32.0 made TPU attention backends selectable via --attention-backend. This gives operators a concrete way to evaluate alternative attention implementations without changing the serving interface.

Key Capabilities & Differentiators

The release matrix separates unit, correctness, and performance results. Llama 3.1 8B Instruct, Llama 3.3 70B Instruct, and Qwen3-30B-A3B pass all three checks, as do listed multimodal variants such as Gemma 4 26B-A4B and Gemma 4 31B. Qwen3-Embedding-8B passes unit and correctness tests, but its performance is marked untested. Passing a correctness check is not evidence of production throughput.

Release and nightly tables are separate. In the combined v6e/v7x correctness-and-performance rollup, a failure in either check on either generation prevents a pass; if a check is untested and none fails, the result remains untested. Use the results for the target release and TPU generation rather than treating upstream vLLM model support or a nightly pass as a stable TPU compatibility guarantee.

Trade-offs & Limitations

Compared with the OpenAI API, this stack gives operators control over model weights, runtime versions, and TPU capacity, but shifts provisioning, upgrades, and incident response onto the serving team. Compared with vllm-torchtpu, the deciding factor is the execution path: choose vLLM JAX for JAX serving and vllm-torchtpu when PyTorch-native TPU support is a requirement.

TPU sizing depends on the model weights, KV cache, and runtime memory overhead. Context length and concurrency can raise cache demand even when the model is unchanged. The matrix reports pass status, not workload-specific latency, throughput, or memory requirements, so use it to shortlist configurations, then measure those metrics under representative traffic before committing capacity. Apache-2.0 permits commercial use of the backend, but model-weight terms remain a separate review.

Hardware & Deployment Guide

Run the vLLM API on a TPU environment you operate. Start with the TPU quickstart and a model verified for the intended setup. Recommended generations are v7x, v5e, and v6e; v3, v4, and v5p are experimental. Hardware-specific recipes are available for v7x and v6e, and the repository includes a docker/ directory. Container packaging does not remove the need for a compatible TPU runtime or for provisioning model weights.

Treat vLLM and its TPU backend as a versioned pair. Release v0.34.0 identifies vLLM commit 5ec99956ad as its last-known-good baseline, and the dependency manifest caps FastAPI below 0.137.0 while awaiting an upstream change. During the move from vllm-project/tpu-inference to vllm-project/vllm-jax, confirm the release source before updating build automation. Validate model loading and representative requests on the intended TPU before rolling out an upgrade.

Execution boundary: vLLM retains the serving interface and telemetry; the plugin handles JAX-based TPU lowering.
Runtime stack: JAX and jaxlib are pinned at 0.11.2, libtpu at 0.0.48, Flax at 0.12.10, and TorchAX at 0.0.13.
Attention extensibility: v0.32.0 introduced a pluggable TPU attention backend selectable via --attention-backend.
Validated workloads: Release tables list unit, correctness, and performance passes for Llama 3.3 70B Instruct, Qwen3-30B-A3B, and multimodal Gemma 4 variants.
Validation policy: Release and nightly matrices are separate; a combined v6e/v7x correctness-and-performance pass requires both checks to pass on both generations.
Upstream alignment: v0.34.0 identifies vLLM commit 5ec99956ad as its last-known-good baseline.
Best For

Teams that already operate TPUs and want the vLLM API for a JAX workload covered by the release matrix on their target hardware.

Skip If

You need PyTorch-native TPU execution, cannot validate memory and performance on the intended TPU, or want a managed API without accelerator operations.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
tpu-inference ★484+1PythonApache-2.0vLLM’s JAX backend for self-hosted model serving on TPUs
OmniRoute92.1k+1.5kTypeScriptMITSelf-hosted OpenAI-compatible gateway for multi-provider routing and fallback
freellmapi62k+2.6kTypeScriptMITSelf-hosted LLM gateway for routing across free tiers and custom endpoints
bifrost10.2k+125GoApache-2.0Self-hosted Go gateway for routing and governing multi-provider LLM traffic

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/vllm-project/tpu-inference.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

vllm-project/tpu-inference Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about tpu-inference

Where does this backend sit in the vLLM stack?

It is a hardware plugin for vLLM, not a separate serving framework. It retains the vLLM interface and telemetry while using a JAX-based lowering path for TPU execution. For PyTorch-native TPU execution and future support on that path, use the separately released vllm-torchtpu.

Which TPU should I start with, and how much device memory do I need?

v7x, v6e, and v5e are recommended; v3, v4, and v5p are experimental. There is no universal GPU VRAM equivalent: size TPU device memory for model weights, KV cache, and runtime headroom. Validate startup and memory use at representative context lengths and concurrency on the intended TPU configuration.

Can I self-host it for commercial use?

Yes. Apache-2.0 permits commercial self-hosting. If you redistribute the software, comply with the license and applicable notice requirements. Separately verify the terms for model weights and other components you distribute; the backend's license does not cover them.

How should I choose between vLLM JAX, vllm-torchtpu, and the OpenAI API?

Choose vLLM JAX if you want to run a validated JAX workload on TPUs and control model selection, runtime versions, and capacity. Choose vllm-torchtpu if PyTorch-native TPU execution is the requirement. Choose a managed service such as the OpenAI API if avoiding accelerator operations matters more than control over the serving stack and your workload fits its model catalog and API.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining vllm-project/tpu-inference? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature vllm-project/tpu-inference on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare