Google open-sources TorchTPU, a native PyTorch back end for TPUs

10 hours ago (github.com)

For people interested in this: I've been working on an open-source libtpu implementation for https://tenstorrent.com/ accelerators as a side project, it can already run most of torchtpu, see https://github.com/pcmoritz/libtt (based on the tenstorrent software stack). It shows all the things involved in lowering torch to tile based accelerators.

Google and Apple are going to move consumers and ordinary business users to edge inference. This is more disruptive to the upcoming IPOs than most investors understand.

Cool! XLA is pretty good + potentially a better compiler infrastructure than inductor which will lead to improved performance on all hardware.

Also I guess this is the final nail in the coffin of Tensorflow.

Amazing news, I remember the days when you had to fight XLA to make PyTorch run on TPUs, it seems we finally got first-party support!

Since HW specifics live mostly in the kernel layer (Pallas or CUDA), I imagine the Jax vs PyTorch question is more of a style preference now?

Google is selling TPU shovels via Cloud services and also physically to select partners. So this makes sense.

There will be an abundance of shovels. Nebius already crashed by almost half from its hype peak.

  • it doesn't seem like there's an abundance of shovels coming anytime soon

    • Everyone says there's a massive compute shortage. But where is it showing up? For whom is there a shortage?

      Every time I ask Claude to do something, it does it just fine. I never have to wait in any sort of queue that would be common in other kinds of shortages.

      2 replies →

    • Shovels and gold aren’t the problem, humans are the problem

      either AI achieves hyper-efficiency and triggers systematic economic demand destruction due to unemployment, or it underperforms and sparks a massive tech-sector asset bubble burst

      If AI is as good as valuations - it crashes. If AI isn’t as good, it crashes. all eggs in one basket economy.

      Every future leads to a massive financial shitstorm

      AI is priced in as a technology to end all markets. The last bull market you will ever see.

      It’s a miracle markets didn’t notice this “damned if you succeed damned if you don’t” type of inevitable checkmate

      I have been building a bunker

      5 replies →

Are there TPUs outside Google Cloud?

  • Yes. Google is famously selling TPUs on prem to big customers (e.g., Anthropic) and Crux AI is now a venture to do just that.

  • TPU / neural compute accelerator / Math coprocessor;

    "OpenTPU: Open-Source Reimplementation of Google Tensor Processing Unit (TPU)" https://news.ycombinator.com/item?id=45848676 :

    > How does Cerebras WSE-3 with 44GB of 'L2' on-chip SRAM compare to Google's TPUs, Tesla's TPUs, NorthPole, Groq LPU, Tenstorrent's, and AMD's NPU designs?

    There are TPUs made out of silicon carbide with standard fab.

    There is in-flight tensor processing with photons, but that's not quite a TPU.

    • I think the commenter was asking if Google sells TPU chip hardware to use outside of Google's own infrastructure and cloud.

Dumb question from non-AI engineer.

Is this somehow Google's answer to today's best DeepSeek open-sourcing inferencing engine?

  • I dont think big companies like Google react to news like that. Very likely this was meant to go out on Tuesday for weeks now. And it just happened to have coincided with another news.

  • Yeah they read the news this morning and whipped up a quick Torch->XLA translation layer and coordinated with four different inference engines (who also all wrote their own blog posts) and shoved this out the door quick to stay on top of the news cycle

  • We might never know, but they probably didn't read the news and started working to get this out, they were probably working on it for a while now.

    Personally the question is if they are "saving" other projects or news so they can be released in case a competitor makes a move? Who knows if this was ready days or weeks ago and were waiting on someone to drop some news, so they can shadow those news.

  • They do different things and sit in different parts of the stack (training vs inference). TorchTPU seems more like a play to get more people familiar with Googles TPU chips as they want to sell them to people outside of google.

so if the moat isn't the model and the moat isn't the inference layer, i guess the moat is the hardware now? what does this mean for frontier labs?