Try Pro free

Unsupervised Learning · 4 min · Sep 10, 2025

GPU code still needs rewrites across chip generations

Tri Dao says portable abstractions trade some performance for productivity, but hardware changes make portability difficult even within Nvidia.

In this episode

Full analysis
  1. 24:02Inference got cheaper through memory and model co-design9 min
  2. 32:54Inference providers will optimize for three workload patterns6 min
  3. 43:32Expert AI requires scarce domain data and better economics6 min
  4. 1:45Chip startups need a workload-specific bet8 min
  5. 40:07Agentic AI and real-time video could drive new workloads4 min
  6. 17:37AI coding tools make Dao 1.5x more productive6 min
  7. 11:43GPU code still needs rewrites across chip generations4 min
  8. 49:17Robots need real-world data and multi-timescale control3 min
“So I'd say designing for humans is really, really hard. I think I would say hardware portability is kind of a myth.”
Tri Daoat 12:53 · Unsupervised Learning
12:53

Takeaways

  1. Portable languages trade peak performance for productivity.
  2. Even Nvidia chip generations can require software rewrites.
  3. Lower-level abstractions expose more hardware but narrow portability.

About this segment

Tri Dao says portable abstractions trade some performance for productivity, but hardware changes make portability difficult even within Nvidia. Specialized chip components mean software often needs a rewrite each generation.

Tri Dao

Tri Dao is Chief scientist at Together AI and Princeton professor.

Created FlashAttention and worked on Mamba; Together AI chief scientist, Princeton assistant professor.

  • Jacob Effron, Host · Managing director, Redpoint Ventures

    Growth investor in Abridge, Ramp and Physical Intelligence; ex-Flatiron Health.

From “Tri Dao: The End of Nvidia's Dominance, Why Inference Costs Fell & The Next 10X in Speed”, Sep 10, 2025. Watch the full episode

Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

  1. 11:55

    Do you think we're at a place where there are abstractions that do allow you to do work across the different set of chips out there? I think we have some, right? But there's a usual trade-off, right? Triton is really, really good, and it supports NVIDIA chips, supports AMD GPU and Intel GPU and so on, and that requires them to design sort of a front-end, and then there's a back-end, and different companies will contribute code to the back-end.

  2. 12:23

    I think Triton's actually quite good. And a lot of companies are betting on that. You know, Meta, for example, PyTorch. Torch Compile will just generate Triton code and then rely on Triton to generate code for NVIDIA or AMD. But that's the usual trade-off, which is, hey, if you don't control at the lowest level, maybe you give up some performance. And it's about where that trade-off point is. You know, if you give up 5% performance and you become 3x more productively, for sure.

  3. 12:54

    So that's an acceptable trade-off. But if you give up too much performance, then maybe people would go with something that's a little bit more low and low. Yeah, especially a pretty competitive inference market. Right, right. So I'd say designing for humans is really, really hard. I think I would say hardware portability is kind of a myth. Even for our NVIDIA chips, like generation to generation, they change a lot.

  4. 13:17

    And I think that's kind of the only way we get more performance out of these chips. It's not like a CPU where, oh, year to year, maybe you get a 5% to 10% faster, and your code, your old code just kind of works. Even for NVIDIA, every generation, they essentially have to rewrite all the code. Because the way to get more flops is you build more specialized components, maybe lower precision, maybe a different way to synchronize between different parts of the chips.

  5. 13:49

    So NVIDIA also essentially rewrite their software every two years or so. So even hardware portability, even between generations, isn't quite there. So those abstractions would be valuable even just to help you with each subsequent generation of chips from the same manufacturer. Right, yeah. So I think Trident has very compelling abstractions. And they even have something that's a little bit lower level, things like, I think this is super new, is Gluon, where it exposes more of the hardware at the cost of maybe being less general.

  6. 14:22

    The folks at Modular have been building this language called Mojo. What do you think of what they're doing? I think it's super cool. I think they have some of the right abstractions. It's just about execution, I would say, because people are going to look at it, and they're going to be like, OK, how fast are you on NVIDIA chips? Which is a really, in some sense, unfair question, but that's what people care about.

  7. 14:45

    So they would design the abstractions and then they have to do some custom work to make their code run really, really well on NVIDIA chips. And then they do a little bit of custom work for AMD chips. So it's just like how much do you want to do the customization for just trading off performance. See that the market demands the best inference on NVIDIA chips. And we're seeing more and more of these sort of libraries or domain-specific language.

  8. 15:14

    You know, folks at Stanford have the same Thunder Kittens sort of trying to abstract some of this. There's Thailang. Google has the same Mosaic. GPU. I'm sure I'm forgetting some, right? But I think people realize there's a problem of, like, we don't have the right abstractions yet. that is actually kind of painful to train new engineers to write very performance GPU kernels. So the answer is to build abstractions.

  9. 15:44

    And I think we're very much in the phase where we're iterating pretty quickly. That's why we see so many of these domain-specific language coming out.