# Tri Dao: The End of Nvidia's Dominance, Why Inference Costs Fell & The Next 10X in Speed

Markdown copy of https://realalpha.app/v/xlSaoP0b90A/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

Tri Dao argues that specialized hardware, better kernels and model architectures can cut inference costs another 10x as AI workloads diversify.

- Show: Unsupervised Learning
- Hosts: [Jacob Effron](https://realalpha.app/people/jacob-effron/)
- Guest: [Tri Dao](https://realalpha.app/builders/tri-dao/) is Chief scientist at Together AI and Princeton professor.
- Published: Sep 10, 2025
- Length: 59 min

## The best minutes

- [24:02](https://realalpha.app/v/xlSaoP0b90A/?t=1442) [Inference got cheaper through memory and model co-design](https://realalpha.app/s/inference-got-cheaper-through-memory-and-model-co-design/) (9 min)
- [32:54](https://realalpha.app/v/xlSaoP0b90A/?t=1974) [Inference providers will optimize for three workload patterns](https://realalpha.app/s/inference-providers-will-optimize-for-three-workload/) (6 min)
- [43:32](https://realalpha.app/v/xlSaoP0b90A/?t=2612) [Expert AI requires scarce domain data and better economics](https://realalpha.app/s/expert-ai-requires-scarce-domain-data-and-better-economics/) (6 min)

## Also worth watching

- [1:45](https://realalpha.app/v/xlSaoP0b90A/?t=105) [Chip startups need a workload-specific bet](https://realalpha.app/s/chip-startups-need-a-workload-specific-bet/) (8 min)
- [40:07](https://realalpha.app/v/xlSaoP0b90A/?t=2407) [Agentic AI and real-time video could drive new workloads](https://realalpha.app/s/agentic-ai-and-real-time-video-could-drive-new-workloads/) (4 min)
- [17:37](https://realalpha.app/v/xlSaoP0b90A/?t=1057) [AI coding tools make Dao 1.5x more productive](https://realalpha.app/s/ai-coding-tools-make-dao-1-5x-more-productive/) (6 min)
- [11:43](https://realalpha.app/v/xlSaoP0b90A/?t=703) [GPU code still needs rewrites across chip generations](https://realalpha.app/s/gpu-code-still-needs-rewrites-across-chip-generations/) (4 min)
- [49:17](https://realalpha.app/v/xlSaoP0b90A/?t=2957) [Robots need real-world data and multi-timescale control](https://realalpha.app/s/robots-need-real-world-data-and-multi-timescale-control/) (3 min)

Skip the roughly five-minute discussion of academia and industry, AI research funding, and the closing quickfire.

## Full analysis: Tri Dao says inference costs fell at least 100x

- Dao estimates inference costs fell at least 100x since ChatGPT launched, though his spoken wording is hedged.
- The transcript offers causes, but no matched benchmark across quality, latency and tasks.
- Budget by workload and treat his next 10x as a forecast, not a purchasing assumption.

Its 6 sections, what it means for you and what to watch are on [the page](https://realalpha.app/v/xlSaoP0b90A/#analysis), free with an account:

- [24:07](https://realalpha.app/v/xlSaoP0b90A/?t=1447) The exchange puts the rough decline at least 100x
- [25:11](https://realalpha.app/v/xlSaoP0b90A/?t=1511) Memory movement helped make inference cheaper
- [29:18](https://realalpha.app/v/xlSaoP0b90A/?t=1758) Dao expects another 10x, but it remains a forecast
- [33:07](https://realalpha.app/v/xlSaoP0b90A/?t=1987) Providers will split capacity by latency and throughput
- [43:49](https://realalpha.app/v/xlSaoP0b90A/?t=2629) Expert AI needs scarce data as well as sparse models
- [8:26](https://realalpha.app/v/xlSaoP0b90A/?t=506) Dao sees diversification, not Nvidia’s end

## Summary

Tri Dao is chief scientist at Together AI and a Princeton professor. He created Flash Attention and Mamba, an alternative architecture to Transformers.

Dao estimates that inference costs have fallen at least 100x since ChatGPT launched, driven by better models, quantization, reduced memory movement and hardware-software co-design. He expects AI hardware to diversify as providers optimize for low-latency agents, interactive chat and high-throughput batch workloads, and predicts another 10x cost reduction from hardware, kernels and architectural advances. He says current architectures may be sufficient to reach expert-level AI, though alternatives could lower the cost; he highlights sparse and hybrid models as promising. He also identifies the lack of expert-level training data in specialized domains as a central challenge.

### Minute by minute

- [1:45](https://realalpha.app/v/xlSaoP0b90A/?t=105) **Chip competition hinges on execution.** Dao says NVIDIA’s strong chips and software ecosystem underpin its dominance, while training-chip design remains difficult because networking is a bottleneck. He expects more workloads to run on different chips as architectures and use cases evolve.
- [6:34](https://realalpha.app/v/xlSaoP0b90A/?t=394) **Specialized workloads invite startup bets.** Dao expects inference hardware to diversify around workloads such as low-latency requests, high-throughput batch processing and video generation. He says customers may pay more for speed, and startups need to make a focused bet rather than build for general workloads and risk being out-executed by incumbents.
- [9:49](https://realalpha.app/v/xlSaoP0b90A/?t=589) **GPU portability remains limited.** Dao says he works with NVIDIA, AMD, Google and Amazon, and is thinking about abstractions that work across accelerators. He says Triton supports several GPU platforms, but portability can trade performance for productivity and remains difficult even across generations of chips. He points to emerging languages and tools, including Gluon and Mojo, as efforts to improve GPU programming.
- [16:12](https://realalpha.app/v/xlSaoP0b90A/?t=972) **AI tools assist kernel engineers.** Dao says useful GPU abstractions must reflect both the workload and specialized hardware, including asynchronous execution. He finds automatic kernel generation is still early because expert-level training data is scarce, but compiler and profiler feedback could help generate more examples. He says AI coding tools now help with implementation and make him about 1.5x more productive.
- [23:31](https://realalpha.app/v/xlSaoP0b90A/?t=1411) **Inference costs have fallen sharply.** Dao estimates inference costs have fallen at least 100x since ChatGPT launched. He credits better models and optimizations that reduce memory movement, including quantization, smaller KV caches and sparse mixture-of-experts models. He says Flash Attention came from redesigning attention to reduce memory access through hardware and algorithm co-design.
- [29:09](https://realalpha.app/v/xlSaoP0b90A/?t=1749) **Another 10x reduction may be possible.** Dao predicts another 10x reduction in inference costs, potentially within a year. He estimates 2–3x gains from inference-focused hardware, 2–3x from architecture and model changes, and about 2x from better kernels. He also points to Mamba-style approaches that compress sequence history into a smaller state.
- [32:12](https://realalpha.app/v/xlSaoP0b90A/?t=1932) **Providers can shift capacity across workloads.** Dao distinguishes interactive chat, low-latency agentic work and high-throughput batch inference for synthetic-data generation and reinforcement-learning rollouts. He says large inference providers can move spare GPU capacity to batch requests and offer discounts; he gives a 50% discount on batch API as an example.
- [38:23](https://realalpha.app/v/xlSaoP0b90A/?t=2303) **Agentic and video workloads create new demands.** Dao says open-source inference tools have reached production-level quality, while customers still need optimizations for requirements such as prefix caching and video. He predicts agentic systems that use web search, design software or databases will bring new systems challenges. For consumer applications, he sees real-time video generation as a potential use case that will demand more compute.
- [43:16](https://realalpha.app/v/xlSaoP0b90A/?t=2596) **Expert-level AI remains the key challenge.** Dao says models perform at median-human or slightly above levels on some tasks with abundant internet data, but expert domains such as airplane design, hardware, medicine and law lack comparable data. He thinks current architectures could reach AGI or ASI, though better designs might get there sooner or at 10x lower cost. He sees sparse mixture-of-experts and Transformer-Mamba hybrids as ways to improve inference per dollar.
- [48:48](https://realalpha.app/v/xlSaoP0b90A/?t=2928) **Robotics needs data across timescales.** Dao says language models can help robots plan tasks, but real-world interaction and actuation remain data challenges. He argues that robots need rapid computation for joint control and slower reasoning for route planning, with language, vision, audio and world models working together.
- [51:27](https://realalpha.app/v/xlSaoP0b90A/?t=3087) **Academia and startups work on different horizons.** Dao says startup work at Together moves on days-to-months horizons and emphasizes execution, while his Princeton work gives him room to explore longer-term, speculative problems. He values both modes and sees academia as exploring ideas that companies can later develop with greater resources and product focus.
- [56:39](https://realalpha.app/v/xlSaoP0b90A/?t=3399) **Data and open models deserve more attention.** Dao says models have become surprisingly useful for his daily expert-level math and coding work. He expects open-source models to close the gap with closed-source systems as reinforcement learning depends more on tooling, and says data and synthetic-data methods remain underappreciated.

## Transcript

Unsupervised Learning, hosted by Jacob Effron, with Tri Dao.

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

[0:25](https://realalpha.app/v/xlSaoP0b90A/?t=25) TreeDao has driven many of the most important breakthroughs in AI over the past years. He was a lead author of Flash Attention, which has been a key reason why model inference costs have gone down so much. He was super involved in safe space model work via his work at Mamba, the alternative architectures to transformers. He's the chief scientist at Together, and his work's been so impactful that semi-analysis basically noted that a huge part of the NVIDIA mode is the fact that Tree's doing all this work in the NVIDIA ecosystem. It's a real privilege of unsupervised learning to get to sit down with someone like Tree and just ask them anything that's top of mind, including the percent of workloads that are going to run on NVIDIA chips in two, three years. We talked about the future of AI hardware and where the opportunities are.

[0:59](https://realalpha.app/v/xlSaoP0b90A/?t=59) We talked about how AI coding products have made Tree 50% more efficient in his work, which was way higher than I'd expected. And we also talked about his thoughts on the future of alternative architecture to transformers and what might really work. Just a fascinating opportunity to talk with someone who's so brilliant in this field. Really, really enjoyed this conversation. And I think folks will too. Without further ado, here's Tree. Well, Tree, thanks so much for coming on the podcast. Really appreciate it. Yeah, yeah, sure. For sure. I'm really excited about this. I feel like when I started this podcast, you know, two and a half, three years ago, you were on my like dream guest list.

[1:31](https://realalpha.app/v/xlSaoP0b90A/?t=91) And so I think that was like when kind of Flash Attention, you know, was initially making the rounds and people were just oohing and aahing over the impact you were having on the space. And I was like, if we really can build this up over time, maybe we'll convince Tree to come on. And so. Yeah, yeah. I mean, I'm very honored to be here. I mean, this should be really fun. Yeah. Yeah. So I think we'll hit on a bunch of different things. that I think will be of interest to our listeners. I figured one place to start would just be like a classic VC question, so you'll have to forgive me. The NVIDIA story over the past years has just been unbelievably impressive to get to the scale they're at.

[2:03](https://realalpha.app/v/xlSaoP0b90A/?t=123) And obviously you've contributed a tremendous amount to that ecosystem and making that hardware better and better for folks to use. Are we going to see competitors to different parts of the NVIDIA ecosystem on the chip side, on the kind of systems that package GPUs? Obviously you've got Google and Amazon with their own chips, but for the vast majority of the rest of the industry, I'm sure this is something you think about a lot. Yeah, I spend a fair amount of time thinking about the chips. I think certainly there's lots of competitors are trying to enter this space. I mean, AMD has been here for a while.

[2:34](https://realalpha.app/v/xlSaoP0b90A/?t=154) Obviously, NVIDIA is dominant for a couple of reasons. They design very good chips, and they build very good software. And that creates this ecosystem where people build on that. People build software on top of that. But I think certainly we'll see a lot of competitors entering the space as the workload starts to be a little bit more sort of coalescing around on the architecture side, you know, transformer and MOE and so on. It becomes a little bit easier to design the chips for that kind of workload, right? So if you just focus on inference, I think AMD has certain advantages, you know, they have larger memory and so on.

[3:16](https://realalpha.app/v/xlSaoP0b90A/?t=196) And so we're starting to see folks picking that up. On the training side, it's a little bit more difficult. I mean, networking is one of the main bottleneck, and NVIDIA is certainly a hat there. But I think people understand what are the challenges to build good training chips, what are the challenges to build good inference chip. So it comes down to execution. So I would say this space is actually really, really exciting. I talked to lots of folks who are designing new chips, either inference or training. So I would expect in the next couple of years, maybe some of the workload will become multi-silicon.

[3:50](https://realalpha.app/v/xlSaoP0b90A/?t=230) They'll probably run on different chips rather than, right now I'd say, I don't know, 90% on NVIDIA. Do you think the architectures are stable enough? Because obviously I think one of the fascinating parts of chip design is you're basically making a bet two, three years in the future of what inference workloads and training workloads will look like. And so obviously the more certainty you have around that, the easier it is to make optimizations. does it feel like there's enough stability to make those bets or is the idea that basically look there's dozens of startups that are and companies that are making bets and one or two of them may work out so I think on the architecture side from a very high level it looks like it is sort of stabilize around transformer, but once you look a little bit closer, there's actually quite a bit of change around that. So the most recent one in the last couple years has been mixture of experts. So where you make the model much, much larger, much more number of parameters, but sparser. And so that has certain trade-offs. You need more memory, but maybe the amount of compute you do is a little bit smaller.

[4:50](https://realalpha.app/v/xlSaoP0b90A/?t=290) And so even that, that would prevent difficulty for some of the chip maker, because maybe they were designing for a dense model, where it's a very uniform compute, and now you have something sparse, so it's a little bit harder to design for. Or some of the stuff changing around. Attention has been around since 20, for 10 plus years. But there are changes here and there that actually make some of this stuff difficult. So DeepSeq has this thing, multi-head-laden attention, that looks a little bit different than attention. For example, they have very large head dimension. And if you're a sysdoc, the matrix multiplication engine has a certain size, maybe it doesn't fit.

[5:31](https://realalpha.app/v/xlSaoP0b90A/?t=331) Weird things like that once you look underneath the cover. So I would say that's one on the architecture. And then on the workload side, I think people are using these models for very different kinds of workload. Right. Do we have the traditional chat bot? Traditional has been in the last two, three years. It's been around three years. It's traditional AI world. Right. But there are new, you know, new workloads like this kind of coding workload like your cursor and windsurf and so on. There's a kind of agent workload where it's not so much just like running the model, but also making tool calls, you know, running Python interpreter, doing web search and so on.

[6:08](https://realalpha.app/v/xlSaoP0b90A/?t=368) That presents challenges of how you design the chip. If the chip is very much focused on just running the model as fast as possible, you might neglect things like, oh, how are you going to connect to the host to run a web search, that kind of thing. So I would say even though from a high level, the architecture has kind of stabilized, but underneath the cover, there's still a lot going on, and part of it is the workload is also changing. So, it's a constant race of how fast can you execute and adapt to these new workloads. So, if 90% of these workloads are on NVIDIA chips today, where do you think we are in kind of two, three years?

[6:46](https://realalpha.app/v/xlSaoP0b90A/?t=406) Yeah, I think on the inference side, some of it will diversify. And we're starting to see companies like Cerebras and Grok and Salmonova really presenting a serious challenge. They were pitching, hey, we can get very, very low latency inference. And that's fantastic for some of the use cases. So we talked to customers who really, really care about as fast, as low latency as possible, and they're willing to pay more for that. So I think we're starting to see more of these niche areas where people really care about low latency, Some people really care about very, very large batch, high-throughput inference, things like just massive data processing or synthetic data generation or RL training where you have to just roll out and generate as many trajectories as possible.

[7:40](https://realalpha.app/v/xlSaoP0b90A/?t=460) So I would say it's going to diversify simply because the workload is going to diversify. Like, whether low latency or high throughput or something else, maybe video generation that will require sort of a different profile in terms of how much computer you need and how much memory do you need. If you were like a startup today, it kind of feels clear in the moment, hey, here's all the different optimizations one might want to make given all these use cases. And then you kind of decide, hey, we're going to make a chip that optimizes for these things. And, you know, you wait for tape out and the actual ability to produce.

[8:11](https://realalpha.app/v/xlSaoP0b90A/?t=491) And by the time you've done that, it's a few years down the line. And do you think that it's clear enough, like what the different optimizations are going to be such that you can kind of make that forward looking bet? Or, you know, is there such a risk that actually two, three years from now, if we're doing this episode, you're like, well, actually the optimizations that matter are like these five things that we didn't talk about. Right.

[8:26](https://realalpha.app/v/xlSaoP0b90A/?t=506) **Tri Dao:** So I would say, if you're a startup, you have to make a bet, right? You invest, so you know this, and you have to make an outsized bet.

[8:32](https://realalpha.app/v/xlSaoP0b90A/?t=512) So you could bet that, hey, maybe chatbots will go away, and the thing that people really, really care about is, I don't know, video model, video generation model, or world model, or robotics, or something, right? And you make that bet, and you say, OK, that's probably going to be, I don't know, 50% of the workload. How would we design for that workload, right? And you hope that your bet will be correct. I mean, that's the role of startup. And I think that's probably the way you could make an impact. I think if you don't place a bet and you say, I'm just going to optimize for just the general workload, then the incumbents are going to just out-execute you.

[9:16](https://realalpha.app/v/xlSaoP0b90A/?t=556) I was excited we were doing this episode today because yesterday I was just scrolling Twitter as I'm want to do. And I thought there was this really interesting tweet from Semi-Analysis and reaction to some of your recent work. So obviously, you've done so much on optimizing models on NVIDIA chips. And I feel like one could try and quantify the value you've added to the broader NVIDIA ecosystem. But it's clearly massive. And I think the Semi-Analysis folks were like, God, you've added so much value to this ecosystem. Well, why wouldn't AMD or Google or some of the other folks that have chips try to pay you to get you to do similar optimizations in those spaces?

[9:46](https://realalpha.app/v/xlSaoP0b90A/?t=586) And it kind of, you know, obviously, it reminded me of the LLM world where, you know, you've seen kind of massive packages for, you know, the few researchers that are really able to build and train these models. I wonder what your reaction was to that tweet and generally what you think about, like, similar dynamics in the hardware space. Yeah, yeah. I personally work with lots of folks from NVIDIA, AMD, Google, and Amazon and so on. I spend a lot of my time on NVIDIA chips simply because this is what we have right now. That's what most people use. I think they design very good chips, and they design very good software for that.

[10:24](https://realalpha.app/v/xlSaoP0b90A/?t=624) So that allows me to sort of do interesting things. That's kind of what I'm after. Can you do interesting things? We've worked with the folks at AMD. For example, they have a version of Flash Attention, and we work with them to sort of integrate that in the public repo and so on. So certainly we work with some of them. I don't know what the best arrangement would be, but nowadays I'm thinking a lot more about what are the abstractions we need, not just for NVIDIA chips, but for sort of GPUs and accelerators in general. I spend a bunch of time at the lowest level trying to figure out, get the maximum performance out of these chips.

[11:09](https://realalpha.app/v/xlSaoP0b90A/?t=669) But as we scale together, we think about, oh, how do we get other people that we hire to get productive, right? And part of it is building abstractions that will work on NVIDIA chips and potentially other chips as well. The other thing I'm excited about is what kind of abstractions do we build so that AI can do some of this work for us? And I think the answer isn't quite clear yet. But I think as humans or as technical leaders, it's about building the right abstraction so that other people can get onboarded really, really quickly so that the kind of things you do could work across different kind of chips or different kind of workload.

[11:55](https://realalpha.app/v/xlSaoP0b90A/?t=715) 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. 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.

[12:37](https://realalpha.app/v/xlSaoP0b90A/?t=757) 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. 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.

[13:04](https://realalpha.app/v/xlSaoP0b90A/?t=784) **Tri Dao:** So I'd say designing for humans is really, really hard. I think I would say hardware portability is kind of a myth.

[13:13](https://realalpha.app/v/xlSaoP0b90A/?t=793) Even for our NVIDIA chips, like generation to generation, they change a lot. 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. So NVIDIA also essentially rewrite their software every two years or so.

[13:55](https://realalpha.app/v/xlSaoP0b90A/?t=835) 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. 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.

[14:32](https://realalpha.app/v/xlSaoP0b90A/?t=872) 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. 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.

[15:14](https://realalpha.app/v/xlSaoP0b90A/?t=914) 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. 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. And then as the AI model is getting better, one of the things I'm thinking about is how do we design domain-specific language or abstractions for language models?

[16:07](https://realalpha.app/v/xlSaoP0b90A/?t=967) Because they operate somewhat differently from humans. And we don't know what the right answer is. So I would say in the next one or two years, I think it's going to become a lot clearer. Right now, it's just, yeah, everybody is trying lots of different directions. Where do you think those abstractions are most likely to come from? Yeah, I think... This abstraction, I would say people approach it from two angles. One is from sort of the machine learning side. They think about, okay, what kind of workload do we have? And what are the primitives that are necessary to express those workloads? So, you know, a lot of workloads, let's say inference is very much how can I move memory as fast as possible?

[16:47](https://realalpha.app/v/xlSaoP0b90A/?t=1007) You know, inference is usually memory bound, right? Or how do I do matrix multiply as fast as possible? And what are the primitives I want to express there? The other angle is people thinking sort of from the hardware side. You know, they have really cool sort of specialized components on the chips. And they're thinking about abstractions on how to expose these abstractions. So one of the things NVIDIA has been really good at is this sort of designing chips that are more asynchronous. Because, you know, the matrix multiplication is getting so fast, it's ridiculous, is that everything else becomes much slower.

[17:22](https://realalpha.app/v/xlSaoP0b90A/?t=1042) So it's like become, it's much, much more important to sort of overlap the computation of matrix modification and everything else. So how do you design abstractions that allow this kind of asynchronous execution, things like pipelines and synchronizations and so on? So I'd say that's where the abstractions are going to come from, either from the workload side or from the hardware side. I think it will become a lot clearer in maybe one or two years. Well, you've alluded to it a few times, so I have to ask. You talked about kind of making these abstractions suitable for LLMs, maybe, as well as kind of just using AI in these processes themselves.

[17:58](https://realalpha.app/v/xlSaoP0b90A/?t=1078) How much are you using AI itself in determining this stuff, and how do you kind of see that changing over the next few years? Yeah, yeah. I think models are starting to become useful for this stuff, actually very, very recently. This really surprised me. On one level, what people are after is like fully automatic GPU kernel writing. You describe the problem and the LM will just generate the kernel for you. This is kind of maybe we're there with some of the other areas like simple Python script or data analysis or web front end. You can do this. So could we do that for GPU kernel? Five code, some kernels.

[18:43](https://realalpha.app/v/xlSaoP0b90A/?t=1123) Right, right. I would say if that's what you want, then I think we're not, we're very, very early. So these models can generate some simple kernels, like element-wise, you know, you take in an array and you do some operation on each element, right? Or you do some kind of reduction, like summing and some normalization, things like that. So the models can do a reasonably good job. But once it gets a little bit more complicated, these models just don't generate correct code. I think it's just a function of we don't have enough training data. Training data is really, really tough for this stuff because if you scrape the internet for kernel code, you'll get, I don't know, class projects.

[19:25](https://realalpha.app/v/xlSaoP0b90A/?t=1165) You'll get documentations that were meant for GPUs maybe three generations ago that these are things you shouldn't be doing now kind of thing. so training data is really really difficult so I think the answer to that is you probably have to start with some expert level data and then you generate synthetic data out of that or hooking up to a tool like compiler and profiler so that you can get lots of training data or getting the right environment. I think it will be solved in a year or two but it's certainly a difficult problem Who has that data? I don't think, you know, this kind of data, I don't think is private.

[20:07](https://realalpha.app/v/xlSaoP0b90A/?t=1207) There are a couple of places where you have expert level code, but I think it's more about sort of the workflow. How do you start from a small amount of expert level data and generate lots of synthetic data, right? So some of the, I think the folks at this. Discord GPU mode, they've been really trying to do this. So they took compiler, the PyTorch compiler, which go from PyTorch code to Triton code, which is this lower level kernel code. And they could generate, I don't know, I think 15,000 pairs of these program of PyTorch and Triton. You have to be a little bit creative. I think there's just not that much data on the internet.

[20:50](https://realalpha.app/v/xlSaoP0b90A/?t=1250) So you have to be a little bit creative of how How are you going to generate this kind of data? So I'd say that's one angle if you want fully automatic kernel generation. I'd say we're super early there. The other side is, can they work alongside humans? Can models work alongside humans? And I've been pleasantly surprised that these models are actually quite useful. Yeah, was there a specific moment where you're like, whoa, these models have gotten good enough to be quite helpful to me? Yeah, yeah. I would say maybe there were two recent milestones. One was O3. O3 has gotten really good at reasoning.

[21:29](https://realalpha.app/v/xlSaoP0b90A/?t=1289) Some of the questions I was brainstorming with O3 and then GPT-5 was like, hey, I have this function. How would I optimize it? What are the things I would pay attention to? And it's surprisingly good at the high level. The other one is Cloud Code. Somehow it's actually pretty decent at writing Trident Carls, which is fantastic. As much as I love writing kernels, a lot of my time is thinking about the design, thinking about, oh, what kind of architecture should we design so that we can take advantage of the hardware? And so the implementation part of it is, design is really fun, but the implementation is usually quite heavy.

[22:07](https://realalpha.app/v/xlSaoP0b90A/?t=1327) And Cloud Code turned out to be quite helpful here.

[22:10](https://realalpha.app/v/xlSaoP0b90A/?t=1330) **Tri Dao:** I would say it makes me maybe 1.5x more productive.

[22:14](https://realalpha.app/v/xlSaoP0b90A/?t=1334) Wow, that's pretty good. Yeah, so I've been a heavy user of CloudCode. If you have these models working alongside with humans, maybe they are a lot more helpful rather than just relying on them fully automatically generating kernels. What are the next milestones you're waiting for? I guess when a new model comes out, are there things you test that you're like, God, if the models could just get to this stage, I'd go from 1.5 to 2x. Right. So I would say I think CloudCode is a good example of kind of a step change, where it's a lot more agentic, right? And somehow, you know, they post-train cloud to do really well there.

[22:51](https://realalpha.app/v/xlSaoP0b90A/?t=1371) And I'm sure, you know, other folks, OpenAI and Google will soon get to a very, very similar point. So agentic here just means it can use tools really well, and it knows when to use the tools. So it knows that, hey, oh, I'm probably not having the right API, so how do I look up the API? Or, oh, the program is not compiling, or the program's not fast, how do I get information from the profiler? That sort of thing, right? So I think I would say for new models, I would see how well they know whether they don't know. When do they need to seek out new information? And that's kind of a vague thing. I think people are starting to come out with benchmarks for this kind of agentic capabilities.

[23:43](https://realalpha.app/v/xlSaoP0b90A/?t=1423) But it was super early there. You've been such a seminal part of so many of the improvements in the AI inference market since the launch of ChatGPT and the broader usage of a lot of these models. So I figured maybe just for our listeners, it would be great to contextualize these last three years and kind of what's driven so much of the improvements on the kind of lowering costs and improving latency side. And I want to make sure to give you the opportunity to talk about a lot of the flash attention work as well. For sure, for sure. Yeah, I think in the last couple of years, inference costs have probably come down maybe 100x.

[24:13](https://realalpha.app/v/xlSaoP0b90A/?t=1453) Yeah, at least. Since ChatShippity debut, I think it's probably reflected in the API cost as well. So on one side, on the modeling, people have just trained much, much better models for the same sort of number of parameters, right? And part of it is much more data. Part of it is, I think, better architecture, right? MOE certainly helps. People invent new sorts of efficient attention and so on, right? So that's on the modeling side. Models are getting much, much better for the same number of parameters. The other side is on the inference optimization, and we've just been seeing like an explosion of techniques there, right?

[25:03](https://realalpha.app/v/xlSaoP0b90A/?t=1503) I think in the early days, as a whole, we didn't understand what are the bottlenecks of inference. And after a while, people realize, hey, it's a lot about data movement, moving the weights in and out of the memory, moving the KV cache, which is part of the attention operation that you need to store the history, entire history to sort of make the next prediction, right? So a lot of optimizations are around how do we reduce the data movement. So things like you could quantize the model, right? So you use, instead of typically, I think maybe two, three years ago, it was typical to use like 16 bits per parameter.

[25:49](https://realalpha.app/v/xlSaoP0b90A/?t=1549) But now people are doing, 8 bits is pretty common now, and some new models are using 4 bits. There's some work using like 1 or 2 bits, which is pretty crazy. But you see this really, this compelling tradeoff.

[26:05](https://realalpha.app/v/xlSaoP0b90A/?t=1565) **Tri Dao:** As you quantize the model, a lot of times you pretty much don't lose any quality.

[26:09](https://realalpha.app/v/xlSaoP0b90A/?t=1569) And that requires fairly sophisticated techniques, but that has worked amazingly well. So I think the most recent OpenAI release, GBD OSS, they released most of the layers are in 4-bits, which is crazy. They have, I think, total 120 billion parameters. But because each is using four bits, you could fit that in 60 gigabytes or something. And that has translated to really, really good inference performance. So quantization is one. The other one is this co-design of modern architecture and the hardware. As people understand much, much better, essentially people on both sides are talking to each other a lot more.

[26:56](https://realalpha.app/v/xlSaoP0b90A/?t=1616) I think Flash Attention was kind of like that, where there were people who understand the hardware really, really well. There were people who understand the algorithm and the model really, really well. But as you combine these ideas, you start to see, oh, I see exactly what the bottleneck on the hardware side is. So how do I change the algorithm? For Flash Attention, it was like we realized memory access was the main bottleneck. and we figure out sort of a new way to rewrite the attention algorithm to reduce memory access, right? And we're seeing that a lot for inference. So an example is this variant of attention from DeepSea called multi-head latent attention, right?

[27:38](https://realalpha.app/v/xlSaoP0b90A/?t=1658) Where they realize, hey, a lot of time is being spent on compressing, moving the KV cache, which is a summary of the history, right? And they realize, hey, we can make the KV cache much, much smaller by, they call it this latent projection where you project on a much smaller space, right? And that turns out to work really, really well. And DeepSeq, I think in the paper, they said they were able to serve this model very, very efficiently. Yeah. So that's one example. The other one is a mixture of experts where for each query, for each token, you don't use all of the parameters in the model. There's some sparsity.

[28:15](https://realalpha.app/v/xlSaoP0b90A/?t=1695) So you use some part of the model. And in the last couple of years, I think the trend has been making the models sparsely. sparser yeah right um I think for the first open source MOE model from Mistral was maybe a year, two years ago. They activate two experts out of eight experts per layer, right? So it's a ratio of 25%. But now for DeepSeq and OpenAI model, you activate, I think for OpenAI GPT-OSS, it was four out of 128 or something, right? It's a factor of 32. And we're getting sparser and sparser. So that's really, really good for if you serve lots and lots of users. So people are really understanding the workload.

[29:01](https://realalpha.app/v/xlSaoP0b90A/?t=1741) They're really co-designing the architecture with the inference. And I would say that's where a lot of improvement has come from, is this co-design between the model and the inference stack. And then looking forward, where do you think it's going to continue to come from? Right. So I think there's got to be another 10x, or so all right right i mean if you just seems to be the trend so far right extrapolating i just didn't know if we picked off the low-hanging fruit right or if they're still right uh i think it's uh you know we've we've done uh as a whole we've we've picked up a lot of low-hanging fruits for sure um but i think there's still lots to do um one is actually on the hardware side um which is um uh for a while uh because you couldn't really predict what the workload is going to be two years from now. So you can specialize very well.

[29:53](https://realalpha.app/v/xlSaoP0b90A/?t=1793) But as you as the architecture has gotten a little bit more stable, I think people designing chips are optimizing for inference now. So low precision get really good native hardware support. All the networking gets really good because as the model gets larger things like mixture of experts, the models get larger, but you don't activate all the parameters. You might need multiple GPUs or chips to store the model, and then networking becomes much more important. So I think on the hardware side, it would probably be 2, 3x just in one year. And on the software side, I think a couple of things. One is pushing on the model architecture.

[30:38](https://realalpha.app/v/xlSaoP0b90A/?t=1838) So I've worked on things like Mamba. and it's a way to, instead of storing the entire history as a KV cache, you could have the model compress that history into a smaller state vector. Of course, that's going to have certain trade-offs and so on, but we've seen pretty good success with this. And I think this is going to be especially important for large batch infants, which is what people are, some of the workloads are demanding these days, where things like test time compute and reasoning, like what you really, really want is you want the model to explore lots of trajectories or chains of thought at the same time.

[31:21](https://realalpha.app/v/xlSaoP0b90A/?t=1881) I think Google came up with this, Gemini DeepThink, I think, which that was the idea. I mean, they were winning IMO gold medals and so on, which is they explore multiple paths at the same time. And what that means is that you're doing model inference on, like, hundreds of sequences at the same time. And there, the KVCache becomes a much, much bigger problem. So you could try and get the model to sort of compress that KVCache. That was sort of the direction we were going with Mamba. And there's been a bunch of other variants coming out along that idea. So I think on the model side, it's going to be 2, 3x.

[32:01](https://realalpha.app/v/xlSaoP0b90A/?t=1921) Yeah. Right? And then on a kernel level, lots of people are getting really interested in the kernel side, and some of them are very, very talented. So we're getting very, very good kernels, and that's probably another 2x or so. So taken together, I think even in probably just one year, we would probably get another 10x. one thing I'm struck by is obviously with this broader like diversifying of use cases and how people are, you know, what they want to run inference on and the architecture of these models. It's, you know, it seems like it's kind of expanded into, you know, there's many different end use cases and the bottleneck of each of those or the optimization you want to make each of those are different depending on. Exactly. And so I guess what are the implications of that then, maybe to bring back to together as like an inference provider, obviously, you want to be the best at all of those things. Do you think that like the ecosystem, you know, remains with one vendor who is, you know, really good at all those things?

[32:54](https://realalpha.app/v/xlSaoP0b90A/?t=1974) Or do you see, like, specialization over time where it's like, oh, hey, cool, if you're, you know, trying to run, you know, deep research, like there's one inference provider that's amazing at that. And if you're trying to run, like, more of a chatbot use case, how do you see that kind of playing out? Right, yeah. I think there will probably be maybe three kinds of workload patterns. And I think all inference providers will understand this and they will optimize for it. But there's certain advantages to running at scale, right? So on the workload side, there's the traditional chatbot where you need a mix of interactivity.

[33:38](https://realalpha.app/v/xlSaoP0b90A/?t=2018) So you can't be too slow, but you also don't need to be super fast. Sometimes it's a little creepy if it comes right away. You want to feel like for the experience that there's someone at least doing a little bit of thinking on the other end. Right, right. So there's that kind of workload. there's the kind of like really low latency requirements to things like I spend a lot of time with cloud code. So I always wish, hey, if this is like 3x faster or 5x faster, I'm certainly willing to pay more. Yeah. Right? And so we'll see more of that where it's kind of like very interactive where if the model is 2, 3x, or if the inference is 2, 3x faster, the person working with the model is going to be 2x more.

[34:19](https://realalpha.app/v/xlSaoP0b90A/?t=2059) Yeah, the difference between like staying in flow state and not. Right, right, right. I mean, people are getting around this problem by running multiple of these models. So, you know, having like four cloud codes running at the same time, that kind of thing. But for someone who, I personally prefer sort of deep work. And when I work with the model, I usually just use one, which my partner yells at me for. She's like, you should be using four cloud codes at the same time. But for this kind of workload, people probably will be willing to pay more for this low latency. So that's the low latency sort of agentic kind of workload.

[34:58](https://realalpha.app/v/xlSaoP0b90A/?t=2098) And then there is the very large batch. I don't care so much about latency, but I just want as high throughput as possible. So this is important for things like generating synthetic data. So, as I mentioned, a lot of the way people are training models now is that they have a small amount of expert-level data or the human annotation data, right? I don't know. Let's say you're in airlines and you're trying to build an AI agent to resolve customer complaints or conflicts and so on. They have a small amount of really, really good data. And then you can generate tons of synthetic data out of that. So it's kind of crazy how good the models are at acting like humans.

[35:44](https://realalpha.app/v/xlSaoP0b90A/?t=2144) You can say, hey, can you act as if you're this customer from New York who is annoyed that their flight is delayed out of LaGuardia? I don't know. And models are surprisingly good at acting as humans. Yeah, I'm scared that we've taught them the capabilities to be angry New Yorkers at an airport. That's not like humanity at its finest. Right, yeah. Yeah, but somehow there's lots of that data on the internet where the model has learned that, right? And the model can then use that. I mean, they have this kind of world model internally that they can then generate lots of data that, you know, probably not as good as human data, but you can generate a massive amount, right?

[36:25](https://realalpha.app/v/xlSaoP0b90A/?t=2185) And for that kind of inference use case, you really only care about throughput. The other one is for this RL training kind of use case, where on one hand, you're training an agent to do something that changes policy. But the way part of the training loop is that as the model has some policy, you need to evaluate how good that policy is. So let's say I'm training an AI engineer. how would I know how good the current AI engineer is? And that requires me to sort of sample from the model. And it's called rollout. So you sample tons of completions from the model, and then evaluate how good that is.

[37:06](https://realalpha.app/v/xlSaoP0b90A/?t=2226) And so as part of this training, you really need very, very large batch, high throughput inference. So I would say that's the third use case, very large batch. And so for these three use cases, I think people are starting to recognize these patterns. And as instrument providers, we certainly do sort of different optimizations. How do you think about allocating your resources across the three? Because obviously, I'm sure there's different optimizations that are focused. Right. So I would say this is where maybe running at scale really helps. So we call it fleet level optimization, where if you're running inference on thousands of GPUs, you can sort of dynamically change the cluster allocation.

[37:51](https://realalpha.app/v/xlSaoP0b90A/?t=2271) So as an example, this very simple example is running batch inference, batch API. OpenAI has an option for that. We also have an option for that where if we see that the cluster is not so busy with these more interactive queries, we can just send in these batch queries that can sort of soak up the compute, right? And as a result, we can provide, I think we give like 50% discount on batch API. And I think OpenAI does the same, right? DeepSea probably does that too. Having it at scale really helps. Right, right. As you think about kind of like the evolution of the inference market, does it feel like there's endless optimizations to do over time?

[38:36](https://realalpha.app/v/xlSaoP0b90A/?t=2316) And so it's always possible to stay a little bit ahead of the rest of the players or at some point have the low hanging fruit been plucked on each of these? and it's actually about building a broader platform to do other things on top of these workloads. Early on, there were lots of low-hanging fruits, and if you write reasonable kernels, if you build a reasonable inference engine, you get much, much better results than what was out there. But now I think the open source tooling is getting very, very good. Things like VLM and SGLang, some of these projects are very, very popular, and they've gotten to production-level quality.

[39:12](https://realalpha.app/v/xlSaoP0b90A/?t=2352) And we certainly work with these folks and contribute and so on. So I think just the baseline has gotten so much better. But there's also just newer and newer use cases. So customers come to us and they say, oh, we really care about prefix caching. We really care about low latency because in our application we need this requirement. Or they're like, hey, we're actually not doing text. We're doing video. And that's sort of a different trade-off, much more throughput-oriented. And we work with some of those customers. So even as the open source tooling, the libraries are getting so much better, I think the workloads are evolving so fast that there's always sort of new stuff to do.

[39:59](https://realalpha.app/v/xlSaoP0b90A/?t=2399) And there's this kind of explosion of the models are getting so good now that there's so many ways to extract value out of these models. That's why we see so many startups building on these models. And as a result, the workload is going to evolve pretty rapidly. So you think obviously we have these three main categories of workloads today. Do you feel like fast-forwarding a year or two from now, it's like 27 or a ton of different ways, and each requiring its own kind of operation? I think it's still going to coalesce, right?

[40:29](https://realalpha.app/v/xlSaoP0b90A/?t=2429) **Tri Dao:** I think the kind of agentic workload might be a killer use case.

[40:34](https://realalpha.app/v/xlSaoP0b90A/?t=2434) I think it's maybe a step change from maybe ChatGPT was a step change in terms of application, right? That was sort of the first time users are exposed to this kind of language models they can talk to and maybe help them debug their code or look up information and analyze information and synthesize information. But I think the next set of application is going to be agentic, which is, hey, can AI, can these models sort of take actions and collect information by themselves, right? And that is going to require sort of different sets of optimizations, right? So now it's not just running the models really, really fast on GPUs.

[41:20](https://realalpha.app/v/xlSaoP0b90A/?t=2480) It's like how do you connect with the tools that humans usually do? Web search is an easy example. But as these workloads move to different verticals, let's say you're an engineer. I don't know. You're designing airplanes or something. You want the model to be able to access your design software. Or if you're a financial analyst, you have a certain database that you want the model to tap into. So I think this kind of workload will be one of the main workloads that we have in the next year or so. That's my prediction. And that systems-level workaround agents then obviously becomes a whole new set of problems to solve.

[42:08](https://realalpha.app/v/xlSaoP0b90A/?t=2528) And so it feels like even if the original set of workloads, you know, there's great open source tooling, there's now entirely new set of workloads that also require, you know, optimizations and getting into some of that systems work and accessing like, you know, external databases and other things is different than just optimizing inference. But it seems like a natural evolution of the product you guys are providing. Yeah, yeah. I think that's the sort of the main going to be the main use use case for more like professional level or enterprise level. I think on the consumer level, you know, one of the one of I think one of my bets is like we'll get real time video generation.

[42:42](https://realalpha.app/v/xlSaoP0b90A/?t=2562) Yeah. And we're starting to see some of that. And I think it's going to really change sort of the consumer landscape to the effect of like TikTok really changed that landscape. Right. You know, for better or for worse. I don't know. But it's very, very engaging. Right. And so on the consumer side, I think some of the companies we work with, like Pica Labs and Hydra, they're focusing on real-time video generation. That's the bet. There's a whole new set of problems to solve. Right, right. And so it's just a lot more compute. Video generation is very, very demanding on the compute side. So that might be fueling even more chips, even more inference optimization.

[43:28](https://realalpha.app/v/xlSaoP0b90A/?t=2608) Super interesting. I mean, obviously, you're, you know, conducting a lot of research and making these bets ahead of, you know, there's all these big outstanding questions where the space is headed. I'm curious if, like, if you could, you know, fast forward to the future three years from now and get the answer to, like, one question in the AI infrastructure world that would really help you shape your direction today. Like, what's that question that's outstanding that you're most curious to know or would most impact the direction of your work? The question I'm trying to answer for the next couple of years is how do we get AI to expert level?

[43:56](https://realalpha.app/v/xlSaoP0b90A/?t=2636) So right now, I think the models are at the sort of the median human level on some of the tasks, like front-end programming, they've gotten quite good. Actually, the models are much better than me at front-end programming, for sure. Or analyzing data, that kind of task where there's lots of data on the internet. Whenever there's lots of data on the internet, these models are going to just crush it, right? so They've gotten to sort of the median or maybe slightly above average level on some of these tasks. But I think the economically valuable tasks are still there, right? We pay lots of money for human experts in, I don't know, designing airplanes or designing hardware or, you know, doctors and lawyers and so on, right?

[44:46](https://realalpha.app/v/xlSaoP0b90A/?t=2686) Those people become experts because they've spent time working with specialized tools.

[44:52](https://realalpha.app/v/xlSaoP0b90A/?t=2692) **Tri Dao:** They don't have an internet worth of data that is why they're experts.

[44:56](https://realalpha.app/v/xlSaoP0b90A/?t=2696) Right. So how can we get models to get to that level, to work alongside with humans at that level? I think that's where a lot of the economic value is going to come from. And obviously then the hardware optimizations you have to do around whatever the way to do that is. You've worked on states-based models. You've spent a lot of time thinking about alternative architectures, transformers. I think your collaborator, Albert Gu, said that transformers are not going to be the final solution by themselves. Like, do you think we need, you know, architectural innovation to get us to that level? Right. I love Albert, right? But maybe this is where we disagree a little bit, right?

[45:34](https://realalpha.app/v/xlSaoP0b90A/?t=2734) So I think to get to, you know, AGI or ASI, it's possible that the current architecture we have is sufficient, right? But at what cost? Which is, hey, if you have a better architecture, maybe you get there, I don't know, one or two years sooner. I think that's probably worth it, or you get there with 10x less of the cost, right? Which ultimately flows to then the accessibility of that ASI when you get there. Right, right. And that's certainly crucial because we're spending, I don't know, $500 billion on AI infrastructure every year. Don't quote me on that, but I think that's sort of the right ballpark, right?

[46:13](https://realalpha.app/v/xlSaoP0b90A/?t=2773) So do we need to spend 10x that, which seems somewhat unrealistic, or with better architecture can we get there with the current amount of spending or maybe even less? So I think that's where the mod architecture is going to play a role, which is can we get to AGI with a better architecture? I think the current architectures sort of have all the right ingredients. And if you keep scaling, which people have been doing, you could get there, but maybe the cost is astronomical. What other architectures are you paying attention to? Right. So I'm pretty excited about a mixture of experts, especially getting sparser and sparser.

[46:57](https://realalpha.app/v/xlSaoP0b90A/?t=2817) We're trying to push that limit, like how sparse can you go? And we're working on that. I think it's been a compelling direction. Some really important work done by DeepSeek showing that you can make these things really, really sparse. There were even earlier work from DeepMind pushing in that direction as well. So I think that's one compelling way to sort of get more intelligence out for the same compute. Ultimately, I think we want to optimize inference per dollar, right? And that means it could be factored into inference per flop, floating point operation, and flops per dollar, which is inference per flop is more like architecture, design, data, algorithms.

[47:45](https://realalpha.app/v/xlSaoP0b90A/?t=2865) And then the other side, flops per dollar, is like hardware and kernel optimization. So on the architecture side, we're trying to extract as much information, sorry, as much intelligence out of the same computation. So, you know, mixture of expert is one. I think some of the state-space stuff done with Albert has been really, really fun. And, you know, people are picking that up, right? We've collaborated with a bunch of folks from NVIDIA, actually training models. They release several of these where they show, hey, they can get really, really high quality model using this kind of architecture.

[48:22](https://realalpha.app/v/xlSaoP0b90A/?t=2902) And, you know, it's a hybrid of Transformer and Mamba and so on. on, but with a much smaller cost or much higher inference performance, right? So I think architecture is very important for inference. I think that's the utility of architecture research. And nowadays, I think about very much, I call it inference-first architecture design, which is most of the fobs are being spent on inference anyway. So you really, really want to design architecture that make inference really, really good. Well, I'm struck by, I mean, obviously, you've pushed forward the inference side with Flash Tension, you know, with Mamba, you've been a pioneer in state-space models. I'm sure folks are curious, like, what research areas are interesting to you now? Like, where are you spending your time? What's the next big paper we should expect from you?

[49:07](https://realalpha.app/v/xlSaoP0b90A/?t=2947) Right. Yeah, I'm still certainly working in these areas. I'm still very much interested in these areas. But, you know, I'm exploring some new directions, some of which involve They're working with sort of what are the next set of really impactful applications. I think robotics is one of them, right? And robotics, like how far are we away from having really good humanoid robots that work in homes? Maybe five years? Maybe ten years? Yeah. I don't know, right? And that usually means a lot of interesting and exciting questions on the research side that we want to answer. So that's a direction, you know, on the research side.

[49:52](https://realalpha.app/v/xlSaoP0b90A/?t=2992) What's most interesting to you within the robotics research area? So robots, you know, we can initialize a model controlling a robot with some of the foundation models that we have already. You know, you can use a language model to do the planning. Like you say, if you ask a robot to, like, pick up a coffee cup, then the language model can say, you know, go walk over to that table and pick up the coffee and so on.

[50:15](https://realalpha.app/v/xlSaoP0b90A/?t=3015) **Tri Dao:** but what's missing I think is this kind of interacting and acting in the world because we just don't have data for that

[50:25](https://realalpha.app/v/xlSaoP0b90A/?t=3025) we have data we have language data some folks are trying to scale simulation data other folks are doing tell-off but clearly a data problem on the actual actuation side so that's certainly one the other one is I think have to process information in a sort of multi-resolution multi-tamscale way, so some of which is, you know, if you're controlling the joins, you have to act very, very, very rapidly. But if you're planning a route for the robot, you can do it much, much slower. So it's like different architectures you might want to use. I mean, that seems very analogous to some of the states-based model work you've done. Right, right. So explicitly taking you know, timescale into account?

[51:07](https://realalpha.app/v/xlSaoP0b90A/?t=3067) Do I want to do very lightweight computation to just control the joints? Or do I want to do much heavier weight sort of reasoning to plan the optimal route for the robot? So I think it's going to be this sort of composite system initialized from language models, vision model, audio model, world model. But how do you stitch them together? I think that's the big question. With some fascinating hardware questions for people to run this stuff locally and fast enough. Yeah, yeah. I feel like you could kind of probably work anywhere you want. And I think one really interesting thing is you're obviously chief scientist over together, but you've also gone the academic route as well.

[51:45](https://realalpha.app/v/xlSaoP0b90A/?t=3105) And you're a professor over at Princeton. How did you think about kind of staying within academia and then also like the set of problems that it makes sense, like in this robotics space, like you obviously, you could go work at physical intelligence or partner with some of these robotics companies or do the work from an academic setting. How do you think about what makes sense to work on within academia versus industry? Right, right. Yeah, that's a great question. And my answer is going to be personal, right? For every person, it's going to be different. So for me personally, I actually like being both in startup and being a professor.

[52:18](https://realalpha.app/v/xlSaoP0b90A/?t=3138) It sort of presents different modes of thinking and execution. On the startup side, it's very fun. is we move fast, right? Like, you know, if things we want to do, we could get it done in days or weeks or at most months. Like, that's the level of the horizon that we plan for, right? And it's very fun. Like, you get a team of really, really good people. They can execute very, very fast, and you accomplish great things. And I'm very, very proud of the work that the team has done at Together. So that's been very, very fun. On the academia side, it's a little bit longer time horizon and the kind of problems we think about are maybe more speculative.

[53:00](https://realalpha.app/v/xlSaoP0b90A/?t=3180) We don't solve the problem that we need solution in a month. We think about, oh, if the world is moving in that direction in two, three years, what are the interesting questions to ask and what are the challenges to solve in one or two years? And we think in that time scale. So working with students has been very fun and rewarding as well because we get to think about these questions that are interesting, sort of just intrinsically interesting. Obviously, there are certain tradeoffs, like the amount of compute in academia is much smaller. The way you evaluate it is, you know, are your ideas interesting rather than, oh, does it, you know, work and run really fast and so on?

[53:49](https://realalpha.app/v/xlSaoP0b90A/?t=3229) You know, that's a different set of evaluation, right? So I think in academia is you have some more freedom to think deeply about these longer horizon problems. And I happen to like both, both modes of operation. So that's why I'm still at Princeton as a professor. I'm still involved in the startup. And I think ultimately it's maybe a mix of kind of exploration and exploitation. Like if you think at a macro level, academia's role is more on exploration, right? The funding comes from usually the government. The government cares about can you explore tons and tons of ideas to see maybe 5% or 10% of those ideas will work out.

[54:34](https://realalpha.app/v/xlSaoP0b90A/?t=3274) I mean, as an investor, as a VC, that's kind of the mode you operate in as well, which is, hey, we're going to explore lots of ideas. Maybe 5% or 10% of these ideas will become incredibly important, right? You know, one example is attention, right? Attention, you know, even though it got famous with the Google paper, actually came out of the work at Mila with Dimitri and Yosha Benjo and other folks, right? It was kind of coming out of academia, right? And if you think of all the other sort of components in the current architecture, you know, the optimizer, the Atom optimizer, it was Jimmy Barr at Toronto and other folks, right?

[55:19](https://realalpha.app/v/xlSaoP0b90A/?t=3319) Leonorm, also Jimmy, and essentially lots of what we have now came out of academia because the role of academia is to explore lots and lots of ideas, and some of them will work. And then the role of big companies and startups is they take some of these ideas, they do innovate on them, they execute really, really fast, but they understand sort of what the market needs, right, what the product they should build, and they have this, they have a much, much bigger sort of financial power to make some of these bigger ideas happen. Right. The interesting thing about this funding environment is I feel like it's almost distorting some of that where there's plenty of venture funding available for folks to do kind of more research lab.

[56:05](https://realalpha.app/v/xlSaoP0b90A/?t=3365) Like, if you pitched, hey, you know, robotics, you know, is going to need different architectures and different hardware, you know, over the years, someone might say, okay, cool, you're not going to monetize for 10 years but like that's that's a really interesting idea and here's a bunch of venture money to go out yeah it's kind of crazy the the kind of funding that that folks are getting right like in ilia ssi he yeah he was It's like explicitly, we're not going to build any product, but yeah, people want to give him money because he's Ilya, for sure, right? And some of the folks, like you said, in robotics are doing that. So yeah, I think people are, in AI, it seems like some of these risks are starting to pay off. So people, you know, on the investing side, people are much, much more willing to put in money. Yeah, totally. Well, this has been a fascinating conversation. We always like to enter interviews with a quick fire round before we get your take on some questions. And so maybe to start, what's one thing you've changed your mind on in AI in the last year? These models are surprisingly useful, even for my daily work at the sort of the advanced and expert level. They're surprisingly

[57:08](https://realalpha.app/v/xlSaoP0b90A/?t=3428) good at the math and coding. 1.5x is way higher than I would have expected. That's pretty impressive. Do you think open source models are going to be closer or or further in quality from closed source models in the year? I would say closer. The scaling now is more on the RL side. And that relies actually more on tooling than just raw compute. So I think open source is going to do really well there. What development in kind of the broader AI space do you think people aren't paying enough attention to right now? Definitely data. I think data is always a little bit under hype. I think lots have happened on the data side, you know, synthetic data using models to rephrase.

[57:52](https://realalpha.app/v/xlSaoP0b90A/?t=3472) That has huge impact that maybe people have paid less attention to. Do you have a favorite application that you've seen built on together? Yeah, we worked with some of these video generation companies like Pika and Hydra. And they're generating like viral TikTok videos with the models they train on together and doing inference on together. So it's been amazing. Yeah, and that feels like poised for a lot of development. Well, amazing. This has been a fascinating conversation. I want to make sure to leave the last word to you. Where can folks go to learn more about you, either your work at Together, your academic work, anywhere you want to point, folks?

[58:21](https://realalpha.app/v/xlSaoP0b90A/?t=3501) The mic is yours. For sure. Yeah. So my work at Together, we put a blog post on Together.ai. I'm also on Twitter, Tree underscore Dow. And once in a while, I write blog posts on my website, so TreeDow.me. Amazing. Well, thanks so much, Tree. This was fascinating. Yeah, this has been really fun. Thanks. We'll see you next time.
