7 ms·
If TPUv4 pods were so powerful, why are most new models trained with NVIDIA cards rather than TPU?
by renonce 3y ago
If TPUv4 pods were so powerful, why are most new models trained with NVIDIA cards rather than TPU?
- llm_nerd 3y agoThere is a mythology to Google's TPU that is not validated by real world numbers. Where we can actually test (I mean -- TPUv4 pods are available right now on their cloud) it is very good, but remains uncompetitive with the h100. I mean, Google disclaims that you shouldn't compare it, doing the classic "the h100 is on a better process node so it's unfair". People will always point at a mythical next generation that is surely way better, despite the fact that Google is currently building big supercomputers with their TPUv4. And in Google's shootout, again comparing with the last generation of nvidia hardware (the A100), Google's biggest advantage was in the connection fabric, which with this DGX GH200 nvidia not only overcame, but bested by a magnitude. More competition would be fantastic. Better pricing at scale would be fantastic. But there is absolutely no doubt that nvidia is far ahead of Google right now. Tesla made some believably pushing claims about their own efforts with their own hardware, so who knows maybe they're the real challenger.
- boyka 3y agoAvailability only on GCP and in particular cost.
- fulafel 3y agoGoogle has advertised that they have better perf/$ than GPUs, is this wrong or do you just mean absolute cost (so not available in small enough slices)? edit: actually now i can't find the claim, maybe i misremember what the papers said.
- mochomocha 3y agoPerf/$ where $ is what it cost _them_ , not $ they're ready to sell to others as a product. Cloud margins in the high two-digit percents are typical, and I'd imagine even higher for very specialized products in high-demand from deep-pocketed customers.
- sanxiyn 3y agohttps://arxiv.org/abs/2304.01433 https://arxiv.org/abs/2304.01433 does claim "1.2x-1.7x faster and uses 1.3x-1.9x less power than the NVIDIA A100".
- ShamelessC 3y agoThese are just my guesses but: Software for TPU is still in its early stages. CUDA is well established. You can test on a gaming GPU that you can find (locally!) in many markets. XLA is meant to solve this, but first impressions matter and my first impression was that it has not yet "solved" this issue. TPU is only available via Google Cloud - as far as I know they don't have NVIDIA's widespread distribution to various HPC/supercomputer systems. This also has implications on scaling up more than a few pods, as they will need to be colocated with speedy interconnect (which is provided by the various existing HPC systems that use NVIDIA's chips). Finally, I think many people are discovering that the supposed benefits of TPU are marginal at best in the face of the types of natural scaling issues that both GPU's and TPU's suffer from when scaling out to e.g. hundreds of pods. I'm certain that someone with more experience than I could give a better answer though - and again, all speculation. I refuse to use TPU because Google Cloud's system for getting access to said TPU's was horrible for me when I tried it. I believe John Carmack has a nice tweet thread specifying the same issues I ran into. In general, Google has a habit of developing tech for other Googlers first, and as such winds up ignoring a lot of real-world scenarios faced by researchers/practitioners. NVIDIA on the other hand has been working directly with a ton of institutions and businesses ever since the inception of CUDA. That their TPU's have seen any adoption at all is mostly due to their research program which granted very cheap access to TPU's to tons of people.
- modeless 3y agoTo add to the other answers, TPUv4 was not released to cloud customers until last year. And I bet availability is not as good as GPUs, even in Google Cloud (obviously TPUs are not available at all in other clouds).
- ioedward 3y agoTPUs are mostly hoarded by Google Research (including Deepmind) and Ads. Very few are being used by external people.
- vintermann 3y agoThe greatest artificial minds of our generation are thinking about how to make us click on ads?
- ktta 3y agoIt's been that way for over a decade now. Welcome
- deleted 3y ago[deleted]
- philjohn 3y agoIt was ads that made the money to develop the artificial minds in the first place.
- lubesGordi 3y agoYeah, and look at how some very simple clustering ML/recommender systems impact social/political dynamics all to keep people engaged on the site and maximize chances to click ads ( see youtube/facebook, etc. ).
- temp0826 3y agoEx Machina vibes
- exikyut 3y agoThis is technically correct to the extent of paperclip maximization and I don't like it.
- deleted 3y ago[deleted]
- imsaw 3y agoFrom a personal use case, the number of instructions available in TPUs are still limited and some workaround is needed when designing custom layers. Even if it's available in platforms like Colab or Kaggle, people still lean to GPUs as it is more versatile.