bytevyte
bytevyte
Language

Google Releases TorchTPU as Open Source, Testing Nvidia's PyTorch Default

Google releases TorchTPU as open source, letting PyTorch apps run on TPUs without rewrites. Benchmarks are Google's own and remain untested.

TorchTPU
Photo by Sam on Unsplash

SAN FRANCISCO (BYTEVYTE) - Google has released TorchTPU as an open source project, letting PyTorch developers run existing AI models on its Tensor Processing Units (TPUs). The announcement came on Tuesday, one day after Amazon made TorchNeuron available for its Trainium chips. Both moves target the same constraint: most AI apps are written by default to run on Nvidia GPUs through PyTorch, the open source toolkit used to build, train and run AI models.

TorchTPU operates through a configuration switch, which means developers can run their apps on TPUs without rewriting them. Google also revealed that TPUs are now usable with the vLLM and SGLang serving engines, the TorchTitan training framework, and the Ray and Hugging Face libraries. In Transformers v5, a single parameter, device_map='tpu', moves a model onto a TPU. Google says it executed the Transformers test suite on TPUs every night.

TorchTPU and the lock-in question

The central question is whether Nvidia's position in PyTorch is an economic moat or a habit. Some accounts put PyTorch's use across AI apps at 85%, a figure that the sources do not verify. If most code already runs unchanged on PyTorch's standard APIs, then the switching cost is mostly the porting effort. TorchTPU reduces that effort to a configuration step, which weakens the moat for workloads that stay within standard PyTorch.

Google named Meta, Hugging Face, Inferact (maker of vLLM) and RadixArk (maker of SGLang) as partners on the release. Meta says it already uses TPUs through TorchTPU for its LLM, advertising and recommendation work in several key production settings. That is the strongest evidence in the coverage, though the sources do not disclose how large those deployments are.

Amazon takes a similar route. AWS Neuron 2.33 introduces TorchNeuron as a native PyTorch backend for Trainium, now in public beta. Two hyperscalers now offer native PyTorch backends for their own silicon, so a PyTorch model can target non-Nvidia hardware on two clouds without a port. Nvidia's answer, based on the sources, rests on the installed base of CUDA code, and no Nvidia response appears in the material reviewed.

Benchmarks and what remains unverified

Google reports up to 52% model FLOPs utilization (MFU) when training Qwen 3 8B, with near-linear scaling across as many as 8,192 Ironwood TPUs. These are Google's own numbers. None of the sources include an independent run, a GPU comparison on the same model, or a per-token cost. MFU measures how much of the chip's peak compute a training job uses, so it does not show whether a TPU job costs less than a GPU job.

Cloud pricing is where any share shift would show up. The sources give no TPU hourly rates, no price change tied to TorchTPU, and no migration cost estimate. Until Google publishes pricing and third parties test the benchmark, the economic argument for TorchTPU stays open.

The sources also report nothing on power, cooling water or on-site generation for the TPU capacity that customers would draw on. That gap matters. Many new AI data centers run on-site gas turbines that are loud for nearby residents, gas-fired power carries high CO2 emissions, and cooling uses large volumes of water. More portable software can add demand for these facilities, and that effect is not quantified in the coverage.

Verdict for decision-makers

For teams running standard PyTorch models, TorchTPU lowers the cost of a trial on TPUs. The practical step is a benchmark on your own model, measured as price per trained token or per served request, rather than reliance on Google's MFU figure. Teams with custom CUDA kernels will face more porting work than the configuration claim suggests.

Watch three items: independent benchmark results, published TPU pricing on Google Cloud, and whether Hugging Face and Meta expand TPU use beyond the initial workloads. TorchTPU lowers the software barrier, but it does not by itself move Nvidia's position. That depends on what TPU capacity costs in practice.

Why this matters

The release tests whether the default to CUDA in PyTorch holds once the software gap closes. It also tests whether AI capacity expands without matching scrutiny of the data centers that host it. Decision-makers should weigh the software gains against the energy, water and local impacts that the sources leave unmeasured.

While we strive for accuracy and rigor, ByteVyte can make mistakes. Readers are advised to verify all information independently and conduct due diligence before making decisions based on this reporting. We accept no liability for errors, omissions, or decisions made in reliance on this content.

Sources

AWS Neuron 2.33 adds native PyTorch support, Neuron Observer, and other new features

Photo by Sam on Unsplash

✔Human Verified


Researched and cross-referenced against primary sources by the Bytevyte editorial team. This article was generated with the assistance of artificial intelligence and reviewed by the Bytevyte editorial team.