Gavin Uberti - Real-Time AI & The Future of AI Hardware - [Invest Like the Best, EP.356]

12 Dec 2023 · 1 h 24 min

Ask about this episode

Ask anything about it. ChatGPT or Claude reads this page and answers with the times it was said.

Connect VO and ask about every podcast you hear, including the moments you saved. Add to ChatGPT · Add to Claude

In short

Podcast Notes: Invest Like the Best with Patrick O'Shaughnessy

Episode Title

Gavin Uberti - Real-Time AI & The Future of AI Hardware - [Invest Like the Best, EP.356]

Overview In this episode, Patrick O'Shaughnessy interviews 21-year-old Gavin Uberti, a Harvard dropout and founder of Etched, a company focused on developing purpose-built AI chips. The discussion centers on the transformation of artificial intelligence (AI) and specifically the hardware that supports it. Gavin believes that a monumental shift towards specialized chips will drive down latency and costs for running advanced AI models like GPT-4.

---

Key Concepts and Insights

The Future of AI Hardware

  • Transition to Purpose-Built Chips: Current general-purpose AI chips, like Nvidia GPUs, will be replaced by chips specifically designed for various AI models.
  • Infrastructure Growth: Gavin asserts we are on the cusp of the "largest infrastructure build-out since the Industrial Revolution," driven by AI advancements.

Superintelligence and AI Models

  • Gradual Development: Gavin believes superintelligence will not emerge suddenly; instead, it will be a gradual evolution where models improve incrementally, requiring significant computational resources for each iteration.
  • Spectrum of Intelligence: Superintelligence is a spectrum, not a binary state. For instance, GPT-4 shows capabilities that exceed human performance in certain tasks.

Key Terminology

  • Transformers: A specific type of model architecture that has revolutionized how AI processes data, enabling a wide range of applications.
  • Inference vs. Training: Important distinctions in AI development, with inference being how models apply learned data and training being the process of teaching the model.

Implications of Latency

  • Real-Time AI: Lower latency is essential for effective AI applications, especially in real-time scenarios like speech recognition or autonomous systems.
  • Technological Challenges: Current models face challenges due to high computational requirements and memory bandwidth, which hinder real-time operational capabilities.

Robotics and AI

  • Application in Robotics: Gavin discusses the potential for AI to enhance robotics, emphasizing the need for fast and reliable processing that current systems struggle with.

Market Dynamics

  • Evolving Market Landscape: As AI models become more specialized, the market will likely concentrate around a few dominant players capable of sustaining massive data centers and infrastructure.

Data Utilization

  • Importance of Data: The role of data in training AI models is critical. As models mature, especially in their ability to generate their own training data through self-play, the reliance on vast datasets will increase.

Challenges Ahead

  • Training Costs: The rising costs associated with training advanced models necessitate significant investment in specialized hardware and infrastructure.
  • Competition: Gavin identifies the competitive landscape among companies, stressing that startups focusing on specialized solutions will have an edge over established players like Nvidia.

---

Notable Quotes from Gavin Uberti

  • "The transformer is not just a fad; it’s a building block."
  • "We are about to embark on the largest infrastructure build-out since the Industrial Revolution."
  • "The only techniques that will advance AI are those leveraging the cost of compute getting cheaper."

---

Conclusion This episode provides a deep dive into the future of AI, highlighting the pivotal role of specialized hardware and the ongoing shifts in infrastructure necessary to support the next generation of AI applications. Gavin's insights into the nature of intelligence, the importance of latency, and the evolving market landscape paint a picture of an exciting, albeit challenging, future in technology.

For further insights and to access more episodes, visit [Join Colossus](https://www.joincolossus.com).

---

Listening Details

  • Listen to the full episode: [Invest Like the Best](https://www.joincolossus.com)
  • Episode Time: 1 hour, 30 minutes

Written by AI. May contain mistakes. Listen to the episode to check what was said.

Hear the part that matters, and keep it.Open this episode in VO. Double tap your headphones to save a moment as you listen.
Get VO free

Transcript

Automatic transcript. May contain errors.

0:00Something I speak about frequently on Invest like the best is the idea of life's work. A more fun way to think about it is that I'm looking for maniacs on a mission. This is the basis for our investment firm, Positive Sum, and it's the reason why I'm so enthusiastic about our presenting sponsor, Ramp. Not only are the founders, Kareem and Eric, life's work level founders, certainly maniacs on a mission. They have created a product that is effectively an unlock for founders and finance team to do more of their life's work by streamlining financial operations, saving everyone their most precious resource, time.

0:30Ramp has built a command and control system for corporate cards and expense management. You can issue cards, manage approvals, make vendor payments of all kinds, and even automate closing your books all in one place. Speaking from my own experience using Ramp for my business, the product is wildly intuitive, simplistic, and makes life so much easier that you'll feel bad for any company who hasn't yet made the switch. The Ramp team is relentless, and the product continues to evolve to save you time that you would never have dreamed of getting back. To me, there is nothing more interesting than technologies that reduce friction for other entrepreneurs to be able to build the thing that they want to.

1:05So much attention has gone to cloud computing, APIs, and other ways of making life easy for founders. What Ramp has done and is doing is build yet another set of tools in this category. To get started, go to ramp.com. Cards issued by Celtic Bank and Sutton Bank, member FDIC. Terms and conditions apply.

1:29Hello and welcome, everyone. I'm Patrick O'Shaughnessy, and this is Invest Like the Best. This show is an open-ended exploration of markets, ideas, stories, and strategies that will help you better invest both your time and your money. Invest Like the Best is part of the Colossus family of podcasts, and you can access all our podcasts, including edited transcripts, show notes, and other resources to keep learning at joincolossus.com. Patrick O'Shaughnessy is the CEO of Positive Sum. All opinions expressed by Patrick and podcast guests are solely their own opinions and do not reflect the opinion of Positive Sum.

2:05This podcast is for informational purposes only and should not be relied upon as a basis for investment decisions. Clients of Positive Sum may maintain positions in the securities discussed in this podcast. To learn more, visit p-s-u-m dot v-c. Last week, we heard from 99-year-old Charlie Munger on the show. Today, my guest is 21-year-old Gavin Uberti, who dropped out of Harvard to build Etched, which is one of the most fascinating companies I've seen recently. The topic of our conversation is the ongoing revolution in artificial intelligence, and more specifically, the chips and technology that powers these incredible models.

2:43To date, general-purpose AI chips like NVIDIA GPUs have powered the revolution. But Gavin's bet is that purpose-built chips, hard-coded for the underlying model architecture, will dramatically reduce the latency and cost of running models like GPT-4. Gavin thinks that we're about to embark on what he calls the largest infrastructure build-out since the Industrial Revolution, and I won't spoil what he thinks this will unlock for all of us. It is so uplifting to me that someone so young can be working on something so big. Please enjoy this great conversation with Gavin Uberti. Gavin, it's really hard to know how to tackle this enormous topic, but you've become one of my favorite people to learn about the future of artificial intelligence, models, hardware, software, data centers, a million things that affect tons of public equities, tons of soon to be applications.

3:35Maybe an appropriate place to begin would just be one of your early investors told me you said this interesting line to him, which was something like, you felt like you were born too late to explore the world, but too early to explore the stars. And you were sort of depressed by this, but then maybe this whole world of super intelligence and AI allowed something in between or even more interesting than the stars. I would love to hear the origin of that reflection of yours and what you think about it now. I strongly agree with this. One can't help but think that a hundred years ago, 200 years ago, there were so many mysteries left to be solved, That low-hanging fruit, so to speak.

4:11Somebody smart could go into their whatever they had instead of a garage, think for a couple of years and come up with optics or physics. You could go and explore continents. Then as technology developed, that became no longer feasible. That stuff had already been done. And yes, you could still do interesting and novel work, but it often required going to school for 10 years before you could learn all the mathematics you needed to go do new mathematics. Say, chemistry. You had to go study all that had come before. And someday, mankind will go to the stars. We'll be able to explore other planets.

4:45And that fruit will be low-hanging too. But that stuff is very expensive today. But I think AI is very unique. Because unlike mathematics and unlike chemistry, the field is so young that we haven't had 100 years to develop it. We haven't had 100 years to solve these low-hanging problems. a single person can make a major, major impact. And this got even better with the transformer. All this previous technology of convolutional networks and support vector machines was thrown away in 2020 when GPT-3 came out, showing that transformers really are the best way to do things. I am really emboldened by this transformer revolution.

5:25I think it is the most interesting problem of our time. And I think that it is very accessible because there's no hundred years of history built up around it. Can you give me your interpretation of the idea of superintelligence? I don't think superintelligence is some black and white thing. There are some people who say that one day the machine will be as smart as us and the next they'll be a hundred times smarter. I don't think that's true. And the reason I don't is because to go from GPT-2 to GPT-3 to GPT-4 requires spending exponentially more compute. So I don't think you get to this crazy godlike superintelligence just overnight.

6:05I think you have to go build an enormous data center to support a thing like that. Way, way bigger than anything on Earth today. I don't believe in this concept of fast takeoff. I think that we're going to spend two years building GPT-5, and then we're going to build new data centers for gpt-6 and that'll take three five years and then we'll keep iterating on that slowly building better and better and better ones and eventually they'll begin to seem human level they'll begin to show human level agenticness and then they'll become better than humans in some avenues gpt-4 already is a better lawyer than i am so i think the super intelligence is much more of a spectrum than it is a binary everything.

6:44And eventually we'll look and we'll say, well, GPT-12 is obviously super intelligent. This thing is way smarter than any human. It'll be clear in retrospect. But when you're in the middle of that curve, it looks flat. What role do you think humans will play at that stage? I mean, obviously, like safety and alignment and all these things are euphemisms for managing fear of something that is 100 times smarter than us, even if that takes much longer than we think there is no fast takeoff. I'm super excited. Yeah, what's the balance of excitement and fear that you have? It is very hard on the excitement side.

7:19I cannot wait to see what kind of books, what kind of movies, what kinds of video games a machine that's 10 times smarter than me can build. You look at the film, somebody like Spielberg, a great director, versus some Joe below like myself, you say, wow, that is incredible. Imagine what a director 10 times better than Spielberg could put together. Wouldn't you love to see that? So I think there's so much to be excited about. AI is making breakthroughs in science and technology, providing some sort of universal basic income. And yes, that stuff's probably more impactful. But like viscerally, I am most excited to see what kinds of art and games and movies and TV shows these things put together.

8:02In that world, is there a role for people? Of course. Are we going to do anything but be the ones that are entertained? Well, I think chess is a great analogy here. The machines have been superhuman at chess for 25 years. And back when Deep Blue first beat Garry Kasparov, people said chess is going to die, whether through lack of interest or through random cheating. And the opposite has happened. Chess has become more popular today than it was back then. Go as well. Machines became super intelligent at Go in 2016. And yet there was no death of all the human Go players. People just said these things are better at it than us, but there's still a lot of value to be extracted by humans playing other humans.

8:43And to even go a step back, machines have been fatter than humans for a long time. I can outrun a car, but yet I still go running. People still run marathons. There is so much value, so much fulfillment in doing a task against other humans, even if the machines are in some sense better. Can you explain a lot of the basic terminology to us I want to step back and think about this as an opportunity to really learn the basics of AI. It's the component technologies that make this possible so that we have those building blocks to talk about what they might do for us in the world. And you've got lots of really interesting ideas about what might happen.

9:25But let's start with the transformer. So what is a transformer? What does architecture mean in this context? If you're baking one of these things onto the silicon, start with the basic terminology of why the transformer is such a key piece of technology or a key idea that's driven so much of what's exploded in the last year. Well, at a high level, a transformer is a sequence-to-sequence model. You put in a sequence, you get out a sequence. And the way that you train it determines what conversion is done. But that's not a very satisfying answer. So let's go one level deeper. One of the other real breakthroughs for the transformer was realizing that it takes a lot of data to teach a machine how to be helpful, how to be honest, how to give these useful responses.

10:10But we don't have to train it on just helpful, honest, and useful responses. A trick they found is, imagine we take a machine, and we give it the first 100 words of a document, and we say, given these first 100 words, guess what the next word is? And then given those 101 words, guess what the next word is? And we play this game again and again and again, trillions of times. Now, at the end of that, you're going to get a machine that is bad at guessing the next word. Maybe it gets it right 18 % of the time. But to even get it right 18 % of the time, you have to have a huge number of concepts stored within that machine.

10:48So they take these transformer models. They feed them a huge amount of text playing this guess the next word game. And at the end, you get a model that is able to predict the next word in science papers by understanding some of science, the next word of internet stuff, having read a lot of web pages, and so on and so forth. And the second step on top of that is what they call RLHF. where you take the model that has been pre-trained with predicting the next word and has all these concepts stored somewhere inside of it. And then you ask it to, hey, mimic this text. That is helpful and honest. You give it some examples of debugging code and being helpful.

11:27And this second piece requires a lot more extensive data, takes much less computational time than that first step. So after you stack these two things, you get your GPT model that takes in a word I'll put the next word that I think this helpful, honest assistant would say. And I think a good analogy here is children going to grade school. We want to go teach kids how to be good investment bankers, how to be good computer programmers. But you can't really just throw a toddler into a computer programming course and expect them to get it right. That's too hard. You need to get them to have some baseline stuff.

12:05And this baseline stuff has to be easy to grade. it doesn't necessarily have to be super relevant so you put the kid in a grade school for 13 years having him do tasks that are not that related but easy to get feedback on much like the transformer goes to the pre-training step where it takes in a bunch of words predicts the next one it's not super relevant but it is easy to grade and after grade school or after pre-training you have a model to understand some core concepts. And then, and only then, can you send it to college or a RLHF where you can put these other concepts on top of this and make it into a helpful, honest assistant or a good computer programmer.

12:47It's pretty amazing how cogent and incredible some of the answers you get when you consider that what is going on is that it is predicting the next token or the next word over and over again, that it's not thinking ahead of that token. It's sort of constantly guessing just the next one. This seems like an extraordinary limitation. What other kinds of models? You've talked to me about tree search before. I'd love to hear your thoughts on that. I can't believe how powerful this thing is just by predicting a little bit ahead. Do you think we'll be able to get to a point where we predict a lot ahead and have yet more impressive answers?

13:21I do want to clarify a misconception a little bit. Just because the models output words, word by word, doesn't mean that they're not planning ahead. They have all these internal layers, and there's very strong evidence that there is a little bit of planning going on. Much like when you and I talk, I give one word at a time, but I'm able to make internal plans that you can't see about what I'm going to say after that. And as you would expect, if you have some internal plan about what words come next, it makes you better at guessing the next word. So this pre-training helps to develop this skill.

13:51Now, that said, I do think there is a lot of work to be done to make these models not as autoregressive as they are right now. Here's a good analogy. Imagine a chess engine, like a stockfish. The way these work, the neural ones that are the most advanced today, is not by just looking at a board and guessing the next position. Instead, you're going to try a huge number of possible sets of moves. You'll play hundreds, thousands, maybe millions of games against yourself and your simulated opponent. And at the end of all of those, you'll say, okay, this position I found myself in, how much do I like that?

14:31Then you can kind of backtrack, saying, okay, based on where I want to be, this was the best tree to get there. And I think that language modeling might go a similar direction. Where the model makes a couple hundred plans of, hey, here are the next hundred things I could say. I like this path the best, so I'm going to go pick that. However, this hasn't really caught on quite yet. There's a concept called a beam search in the literature that does some of this. Beam search, I think, is much more primitive. It usually has at most four beams, but they don't look very far ahead. But for some of the models, it can be kind of helpful.

15:04And beam search also requires four times more compute, which is a very large overhead to pay. So this beam search, tree search stuff has largely not caught on yet. although with the rumors of QSTAR learning from OpenAI, if you believe them, that does suggest that they are doing similar tree search stuff in there. That's where the star comes from. Maybe describe just for the uninitiated what QSTAR is, a rumor I should say around QSTAR. Allegedly, it is the combination of Q learning and ASTAR tree search. This Q learning being a way to do stuff on top of RLHF and the ASTAR being, hey, we're going to pick which of these paths is the best.

15:45That said, I don't want to put too much credence in this. It really is just a rumor. And there are so many ways a thing like this could work. Talk to me a little bit about how you see the future unfolding from where we sit with a handful of very impressive models. We'll just use GPT-4 as the main one that I think people know about and have used before. I'm using this 50, 100 times a day, like pretty much constantly. Lots of really great use cases, But for the most part, I'm in a chat window in their open AI's window. I'm putting something in, I'm taking something out. And that's kind of the extent of my use.

16:17It's super valuable. I'm happy to pay whatever it is, 20 bucks a month for it. But I think you see a world where these models get used in a lot more places. So I'd love you to just sort of open our minds to how you think the future might or should unfold and what the constellation of technologies will be that are required to get us there. Well, I think the right way to think about where this tech will go is to think about how this tech got here. And there are a number of innovations that have brought us to this point, but the biggest by far in my mind is scale. We have gone from a 1.5 billion parameter GPT-2 model to a 175 billion parameter GPT-3 model to a multi-trillion parameter GPT-4 model.

16:58And companies seem set to spend 10 times more cash training their next generation models as well. Making these models bigger makes them better. And now I want to call this out because this is not how AI used to work. Previously, if you took a stats class in like 2012, you'd hear about overfitting. If you put too many parameters in your model, it will fit the data too closely. And it will get worse results when you actually test it and use it in real world use cases. Imagine that you're sort of teaching the test. You give it the answers to the test, and that makes it do very well on the test, but it's not going to do very well in real life.

17:33but for whatever reason transformers seem to not fall into this trap quite so much they are to quote one of my teachers in college the first capitalist ais adding more money makes them better so based on that i think we are going to see gpt5 next-gen models from google and anthropic be smarter than gpt4 is today and that's going to unlock some interesting use cases Agents are a thing people have talked about for a long time. Imagine a GPT-4 thinking to itself and taking actions autonomously. And to date, people haven't had very much success here. And largely because GPT-4 is not quite smart enough to get out of loops and to go do the kind of planning needed to operating on its own.

18:20But I think we're almost there. I think when we scale up with GPT-5 and models beyond that, we will see agent use cases becoming more mainstreamed. And I also believe that this chatbot interface that I love as well is definitely not the end use case for these models. Any scenario where you are reading chat, the language model writes token by token by token, is not a use case that is expensive. The model is probably going to be cheaper than human eyeballs. Human time is very expensive. And the first thing you'd think to try. But there are real technological limitations that stop other use cases from becoming the standard.

19:01Take, for example, speech. This podcast we're doing right now. I'd love to be able to talk to GPT-4 much like I talk to a human. It makes such a difference at talking versus descending text. So much easier to be misinterpreted then. And while people have tried to build transformer speech-to-speech models, it's challenging because of latency. You talk to it, and there's this pause before you get your response back. And that really breaks the flow of a conversation. So I think we need tech that will enable stuff like TreeSearch by bringing the cost of running these models down by a factor of 100.

19:40I think we need tech that will bring the latency down by an order of magnitude so we can go have conversations with these models. I think we need tech, allow them to generate 1 ,000 tokens per second and make that code writing take two seconds instead of 20. So I think there are so many use cases beyond this chatbot interface that are waiting to be built. The tech's not quite there yet. Can you talk a bit about robotics? And by robotics, I mean like physical machinery, technology. I know you did some stuff with the robotics in high school. What's interesting to you about robotics vis-a-vis these models and performance and latency specifically?

20:19I think robotics is a very interesting use case that's currently kind of stuck in the before times. Robotics is a field that works very heavily on feedback loops, on hard coding algorithms, on having some while loop that says, okay, move the arm until it goes and welds and then do this again and old tech kind of stuff. People have tried to go and put some AI models into these robots, but it's very hard because of this lack of training data. For images, you can go feed it a million things from ImageNet, a million frames. For robotics, you can't have it break the robot a million times before it figures out how to walk.

20:58That's just not affordable. And while some people have tried to build simulations where the robot can go interact with the world, these don't work super well because of the differences between a simulation and the real world. You need the robot to understand the real world without actually having to break itself 100 ,000 times. But transformers, I think, are an interesting way to solve this problem. There was a great paper out at Google two years ago, I think, RP1, that proposed a robotics multimodal transformer. One of the other beauties of a transformer is that it can take in inputs in almost any modality.

21:36And the modality is a thing like text or images or video or, in this case, a robotic sensor input. And you can train a model on many different inputs. in this case. They pre-trained the model with a huge amount of text, let it build some understanding of the world from this guess the next word game. And then on top of that, added in this robotics encoder stuff. So I think that robotics is a super interesting use case for these models. I think that when transformers are put onto robots, they won't be trained just with the robotics inputs. They'll be pre-trained like today's, and you'll add those other sensors later.

22:14It's tough, though. You also need some very good response times for a robotics model. For text, it's okay if it takes a second to go off your machine, be processed, and then come back. A second is too long if you're about to follow. So latency is so, so critical for any kind of application here. It's not quite there yet. There's been some limited adoption. In the Tesla self-driving cars today, they use vision transformers. So much like a language model, but it takes images instead. The internals are almost the same. But they haven't hit the mainstream for robotics, largely because of this latency problem.

22:51It seems like latency is like the thing to focus on. I mean, there's two roadblocks, I guess, to more huge applications, companies, use cases being built on top of this technology. One is just how smart the thing is. That seems to be on a one-way trajectory. I'd love to hear what you think the limits to that are. Then the second seems to be just latency. Like so many of the things you've described, I would say we need real-time AI or something. That's conversation, translation, robotics. So many of the things you've described seem like real-time is the thing that's really missing here. So maybe describe how we can get over that hurdle.

23:27I strongly agree that real-time AI is the bottleneck here. And to go a step deeper, what do we mean when we say real-time AI? What do we mean when we say we need better latency? We measure it in two ways. First, the number of milliseconds between when you submit your response and when you get your first token back. So you're hitting enter when you're seeing the first answer from chat GPT. And then the time between subsequent tokens. Now, why does the first token take so much longer? In theory, it's only running the same model. Well, that's because it's running the model on the entire prompt. if you give it, say, 200 token prompt, and then it has to run all those 200 tokens before it can give you your answer back.

24:10And it's actually a little bit worse than this because imagine that you have some conversation, six messages long. It's very expensive to go store all that in RAM all that's waiting for you to write your response. It's usually cheaper to just recompute it. So if you hit enter and your chat's already six messages deep, you and chat GPT talking to each other, it's going to have to feed that entire message history back into the model before it gives you your next tokens back out. So instead of being 200 tokens, even if that was your last message, it has to go compute this model on 1 ,200 tokens. So if we want to bring this initial delay down, we're going to need chips that have way more compute and are able to use that really efficiently.

24:54And I think the best approach here is model-specific chips. Imagine a chip where you take the transformer model, this family and burn into the silica. Because there's no flexible ways to read memory, you can fit an order of magnitude more compute and use it more than 90 % utilization. This lets you solve this problem and get responses back in milliseconds instead of seconds. Talk a little bit more about the actual machinery of that way of doing things. This makes me think of ASICs from the Bitcoin era when those got so popular. Maybe describe what an ASIC is, but I remember these chips that became ever more specialized that literally just Bitcoin mining, just guessing hashes basically over and over again as fast as humanly possible.

Read the full transcript

25:40And anyone that had an ASIC outperformed someone that had a GPU, outperformed somebody that had a CPU. So maybe just talk us through, everyone's heard those three terms probably, but may not know what the differences are and what the trade-offs are. What are ASICs and how does this work. Well, let me give it to you in the context of Bitcoin. In the very old days, back when the Bitcoin algorithm was first devised, people ran it on CPUs. And to go mine a Bitcoin, like you're saying, you have to solve a very hard math problem. And the only way to solve this math problem is by guessing and checking answers very fast.

26:13A CPU can do many things. It can do this too, but it's not very fast about it. CPU mining was originally the standard. People then said, hey, let's run this thing on GPUs. A GPU has several hundred mini CPUs scattered across the silicon. And because of this, it's able to go do many things in parallel. Each one of these cores on a GPU can do all kinds of different tasks. Once people wrote GPU miners, CPU mining became so bad by comparison that you'd lose money running it. But then people said, well, what if we took this a step further? On a GPU, only a tiny fraction of that GPU is used for mining Bitcoin.

26:53We don't need the caches. We don't need the IOs. We don't need the crazy instruction processing and L0 caches. What if we specialize a chip, put every transistor on that chip, so it would just mine Bitcoin? And when Bitmain and MicroBT did this in the 2012-2013 era, we saw an explosion in how fast people were able to solve these problems. The Bitcoin algorithm made them much harder to compensate, and GPU mining became unprofitable overnight. Because of this, GPUs have not really been seen in Bitcoin mining for almost 10 years. That's not to go say that GPUs were scrapped overnight. They found other use cases.

27:33They're flexible. They went to mine Ethereum or went to go do AI or went to play games. But not Bitcoin. Once you have an ASIC for something, it is just not commercially viable to run on GPUs anymore. I think the same exact thing is going to happen for Transformers. Previously, in like the 2010 era of Bitcoin, there wasn't really enough volume to justify spending$100 million to build a custom chip. But once Bitcoin became popular, there totally was. Then the chips came out, and everything else becomes no longer feasible. For Transformers, even 18 months ago, there wasn't enough demand to justify spending$100 million to burn that algorithm into the system.

28:16But now, with ChatGPT, GitHub Copilot, with Character, with all these models from Google and Anthropic, it does make sense. The first Transformer Asics are coming. Can we talk about this progression? So I'm just going to use, I'll stop saying ChatGPT just to abstract away, but let's say we're at model level four right now and we're going to go to five and six and seven. You referred to the need to probably build things that don't yet exist, not just chips, which is obviously what you're working on. not just training the models, not just gathering data, but actually the infrastructure, the physical infrastructure to do this.

28:51What do you think happens to data centers and power sources and things like bandwidth? It just seems so interesting that we're going to have to build new stuff to enable each successive progression of new model. So describe how you think that iterative thing might play out. I think there's a great analogy here, actually, and that is a semiconductor fabrication, the buildings that make microchips. These incredibly advanced facilities have incredibly complex supply chains. Many have heard of TSMC and the machines they buy from ASML for$300 million, and the mirrors ASML buys from Carl Zeiss. Well, that's just the photography machines.

29:31A huge array of complexity goes into this stuff, and that means that building a new fab costs$10,$20 billion. and I think we're going to see a similar thing for models of level 5 and 6. This whole chain will have to be redone. If you want to go and scale from 4 to 5, have the same multiple of compute over a 3 to 4 or a 2 to 3, you have to have 10 hundred times more chips, and that means 10 hundred times more power. This is not going to be a 20 megawatt data center. That's a 2 gigawatt data center. It's a data center that consumes the entire energy output of a big power plant. And I think this is also going to be very centralized.

30:12If you compare, say, the bandwidth of an entire undersea submarine cable, the bandwidth between a couple of GPU racks right next to each other, the GPU racks have double the bandwidth of a literal undersea cable. So there is so much incentive to centralized data centers. So I think we're going to see a few very, very large facilities that do all this. Now, the same is true of semiconductors, for reference. TSMC's fabs are all very large, very self-contained buildings. But so much else has to happen, too. You need way more power. You also need way more redundancy. If you have 10 GPUs, then sure, none of them are going to fail.

30:55If you have 10 ,000 GPUs, then okay, maybe one fails sometimes, and then you reset to a previous checkpoint, you try again. If you have 10 million GPUs or 10 million transformer ASICs, then you're going to have one failing every couple of hours. You're going to have to figure out how do I deal with one of these things crapping out without having to stall the whole thing. No one's solved that problem yet. Or heat. We've been able to go cool data centers in the 200, 300 megawatt range. What happens when the two gigawatts that go into that building are all turned into heat. How does that get pumped out?

31:31Is that just dumped into the atmosphere? What happens next? I really think the whole set of industries are going to evolve around building these massive, massive AI models. We've only seen the beginning of it. All that, which sounds so remarkable, that heat, that heat dissipation, the power, the bandwidth, number of chips, all of that, I think, if I understand correctly, is especially needed in training. Each marginal inference is less of a centralized, crazy power-intensive thing, although collectively, obviously, inference will get quite big too. We haven't really talked about training. And I know you're working on chips for inference to allow you to do orders of magnitude faster and cheaper inference, which will power the apps.

32:14But what about training? What is actually going on in training of one of these models for those that don't understand that process? Well, so first I want to go talk about inference for a second, and then we'll build into training. Because I believe that inference is going to be run in similarly large, power-hungry data centers too. And here's the reason why. When we run a transformer model, we have this huge number of parameters. And each one of these parameters is a number. And to use that number, we take in a number from our input, we multiply them together, and we add them to a running total.

32:47So every one of those parameters, in the case of GPT-3, 175 billion, is loaded from memory once and then used in a math operation once. It turns out that loading a thing from memory is way more expensive than doing the math. So how do we solve this problem? Well, we say that these weights are the same across one user or two users or four users or eight users. So we batch together a huge number of queries. Then we load in that weight once and we use it 16, 32, 64 times. And that's one of the really interesting things that a transformer ASIC can do. You can have a much, much larger batch, not 64, but 2 ,500.

33:30So we're able to go load that weight in once, pay the expensive price, and then amortize that expensive price over a huge number of users, making inference much, much cheaper. And now while this sounds good in theory, this does mean that you have to run that model in a place where you can have a huge number of users all kind of grouped together. So I think that means inference will be centralized in much of the same way as training. To go to training specifically, why are these machines so power hungry? Well, in inference, you have to run the model forwards. But for training, you have to compute how much each one of those little weights contributed to the final error.

34:07Do that, you have to run the model backwards, which takes about double the compute. Additionally, running forwards and backwards requires different kinds of network primitives, different kinds of connectivity than just running forwards does. So training is a more challenging problem. But the economics that make a transformer-specific inference chip make sense, I think will also apply to training. If you're spending, say,$100 million on an AI model, and it costs$100 million to build a new custom ASIC, then no matter how good the custom ASIC is, you're not going to make your money back. But if it costs a billion dollars to train your model, a custom basic costs a hundred million, and it makes you 20 % better, then yes, it does make economic sense to build that custom chip.

34:53If you're spending not$1 billion, but$10 billion, it is a no-brainer. You have to do it. Now, building that custom training chip is not an easy thing to do. Right now, going from conception to mass production of a microchip can take four or five years. And we can't wait that long for training our new models. So I believe that to support this demand, support these custom ASICs for training that we will eventually need, there has to be a whole redesign of the way semiconductors are designed. I'd love to understand a little bit about how the cycle time for new chip ideation design and then delivery has happened in the past.

35:37because from everything you're saying, it sounds like the iteration speed of chips themselves will need to go a lot faster than it has in the past in order for us to have all this great stuff that we've been talking about. And that that is a vector of innovation that's as critical, but certainly like extremely critical alongside everything else we've talked about. So how has that worked in the past? If I'm NVIDIA or something, I'm whatever company designing some new chip. talk us through like the major stages of chip design, maybe even starting with the thing trying to be solved, how you arrive at the problem to be solved in the first place.

36:13So that's step one. And step X is the chips are in a data center somewhere being used. And how long does each of those steps take? Like I'm sort of a novice on semis. And so I'd love to learn how it's done in the past. Then we could talk about how we might innovate to change that in the future. Well, there are a few steps involved in bringing a new chip to market. No matter what year you're building in, First, you have to say, okay, what's the problem we're trying to solve? And then from there, you'll devise an architecture and a microarchitecture, just sort of a more detailed variant of the architecture, of how your chip works at a high level to solve this problem.

36:47And as part of this architecture work, you're going to get a number of blocks. You'll say, okay, in order for me to do this giant matrix multiplication, I'll need a matrix multiplication block. And that matrix multiplication block will be made up of many sub-blocks that each do a multiply-add operation. It'll be made up of a control block that sends a signal to the full matrix block, and so on. Then you'll take these blocks, the number of blocks of chip has varies widely, but it can be as high as hundreds, and you'll give it to an RTL engineer who will write code in a hardware description language, kind of like a programming language, that tells the block how to behave.

37:25Then this block is verified. Because it costs so much to manufacture semiconductors, you have to make sure there is not a mistake in that RTL block for you to pull the trigger and tell a TSMC or whoever it is to begin cranking out wafers off their line. So a verification engineer will very carefully write a test bench to check that that block behaves the way that it should. And they'll also check that their test bench actually runs every single line in that Verilog file. They call that line coverage. And they'll go a step further. That Verilog, that code, will be compiled to a netlist. This is how each group of transistors talks to each other.

38:06And then you'll run toggle coverage on this. You make sure every one of those transistors will flip to either state. So that's what they call the front end of the chip. Now you have a netlist that comes out of that, instead of all the transistors and how they connect to each other. But now you have to put them on an actual silicon wafer and lay them out. That's a hard problem. So you'll give it to a backend engineer who will make sure that while both beyond the logic being correct, there's no issue where, hey, this block takes too long and it's not going to be done by the time this other block has to take its results.

38:37They call that timing closure. And they'll make sure that on a chip, especially a large chip, process issues, manufacturing problems in the TSMC line can make it so that one part of the chip behaves differently than another part of the chip, even things moving at different speeds. So they'll make sure that it works no matter what kind of wafer is made, whether it's fast or slow, what temperature it is. They call this getting all the corners closed. And a number of other checks, too. There's not going to be some weird radio frequency interference thing. There's not going to be some pool, some vacuum in the chip where other photoresist will flow in.

39:13They check a huge number of problems. And eventually, after this back-end process is all finished, they'll give it to a masked house, masked shop, who will take these designs of where your transistor goes and they'll say, all right, to make these transistors, we need to go and have silicon in these parts of the chip, but not these parts of the chip. If you ever heard of screen printing, the process kind of works like that. From this file, this GDS2 file, which says where there should be and where there shouldn't be a transistor, they make a photo mask that will shine light on the parts where there are a transistor and not on the parts where there aren't.

39:50And then those photo masks are sent to a fab that actually makes the chip, who then uses them to project an image onto those silicon wafers after coating them with a chemical called photoresist that hardens when exposed to light. So that means that after all this is said and done, you have parts of the wafer that are hardened in just the right pattern for you to put your transistors down on them. So this is a very long process, real production samples coming off an assembly line for modern semiconductors. And if we want to build the next generation of transformer-specific ASICs for training and for inference, this has to shrink.

40:30Now, there's been a huge amount of progress to make this faster, especially on older nodes. Google in particular has driven a lot of this. they have a series of open source efforts to automate parts of this backend process because really it's not that hard it's just checking rules and it should be done by a computer and if you're building on a node like those from it if you're building for old technology old semiconductor tech in like 2005 you can have the backend done automatically in a day instead of nine months by using one of these automated tools and we haven't gotten to this point with enormous modern-scale chips yet.

41:12It's possible in theory, and I'm very hopeful that more smart folks will begin working on this problem. And same thing for actually writing the chips, doing this RTL coding. Today, it's all done by hand. But for example, C and Python, we have seen language models themselves begin to help out with it. GPT-4 is very good at both those languages, as is GitHub Copilot because there's so much code in C and in Python available online. So having access to these AI tools can make a developer much faster. For a Verilog in these hardware languages, that's not true yet. While software loves open source, hardware really doesn't.

41:53So it's very, very hard to get all this code into your model as training data because it's all proprietary. and I'm very optimistic that somebody will be able to go to Synopsys and go to all the old chip vendors and say, hey, your code for CPU is from like 2005. That's probably not very useful to you anymore. Can I use that to train my AI model? And if enough companies are convinced to say yes, ideally to open source it, but probably not, maybe just to go train that model, then you can get a language model that was good at Verilog, as good at Verilog as it is at, say, C and Python, and use that to speed up writing some of this RTL development.

42:35What do you think the outside limits are on how fast this could happen? Where you said four, five, six years might be the start to finish time now. Where do you hope it is 10 years from now? What do you think the upper limit is of how fast this iteration time could be? I really want to go call out a lot of the Google-led Silicon ecosystem. I want to call out Global Foundry's, the Skywater Foundry, for open sourcing their PDKs to help make this process fast. Now, if you're a hobbyist who wants to build a chip on one of these older technologies, you can do it. From conception to putting it together, a few transistors, taping it out, weeks, months, even if you're starting from absolute scratch.

43:21That is so cool. They're able to do it for pretty cheap because they take all the hobbyist projects and put them together on one mask set. You make one photo mask that has all the chips on it. And I'm really optimistic that this can be scaled up. Now, it's definitely not easy. These hobbyist chips on old nodes have, you know, hundreds of thousands of transistors on them. And the amount of effort it takes to a computer to decide where to put these things is super linear in the number of transistors. Going from 100 ,000 to 80 billion, like you have on the NVIDIA GPUs, is more than 80 billion, over 100 ,000 times harder.

44:00So instead of being able to do it on one beefy server, you suddenly have a huge, huge data center working on this optimization problem to get it working. So I am optimistic there's a future where just like for a hobbyist building a chip on an old node today, we'll be able to get companies building chips on new nodes by spinning up huge data centers to do this back-end process and training these language models to help them write the front end. I think the upper limit really is a couple of months instead of the four or five years of today. A lot of work is going to have to happen to bring that down.

44:36And it's also a problem where the first chips that are made with some faster process probably aren't going to work. People don't like rocking the boat because of how expensive it is to build the chip only for it to come back dead. and once a few people do it, it'll be the obvious solution. But nobody wants to be first. Why do you want to try? I mean, why? Because it has to be done. Someone's got to do it. Someone's got to do it. That's the only way that we get to our$10 billion training runs. That's the only way that we get to GPT-6. That's the only way that we get these AI-generated books and movies and TV shows that would make the artists of today be impressed.

45:19Someone has to do it and might as well be me. It's interesting to think about in this future world now, the existing landscape of companies and stakeholders and how they'll start to interact with this technology as it becomes available. So when I went and looked up the top buyers of H100s or something from NVIDIA, you see kind of exact ones you would expect. You see, I think, Meta and Microsoft are the two top purchasers. Amazon's a big purchaser. So these hyper-scaling, hyper-large technology companies that are either providing cloud services in the case of Azure or AWS, or they're meta, training their own models, open source models, buying all these H100s.

45:59Who do you think are the customers in this different world where data centers are different, ASICs are the predominant chip, Fortune 500 companies are all trying to find their version of applied generative AI? do you think that the market map and market structure looks a lot different in terms of like, is it the same buyers buying these chips as buying the H100s? Again, there's a great analogy in the world of chip making. Well, the world of chip making used to be pretty cheap. Anyone designing their chips probably had their own little chip fab because it cost a couple million dollars. And as these things became more and more expensive, all but the biggest players became priced out.

46:38Now, only two or three firms, TSMC, Samsung, and maybe Intel, are able to make the world's state-of-the-art chips. I think the same thing will happen for a generative AI and these mega-scale data centers. Today, many companies are trying to explore probing the waters because it is so cheap to do so. But as having a state-of-the-art model becomes a$100 million, billion,$10 billion endeavor, However, it'll be much more common to outsource that to one of the few firms who will have one of these mega scale data centers. And don't get me wrong, you'll still be able to fine tune on top of these models these companies build.

47:16But they'll be much more like TSMC, the pure play AI generating house, and they will be some full stack integrator. I just think the world cannot support 100 different$10 billion models, but it can support three. So I see a world where you have these few enormous leading-edge state-of-the-art development houses, possibly at the current hyperscalers, possibly at some new company that specializes on just this kind of thing. And there'll be a tale, much like there are for semiconductors. Not every application needs leading-edge chips. For example, the U.S. government and U.S. military care much more about chips being produced in a reliable American factory than the chips being state-of-the-art.

48:01So fabs like Global Foundries have accepted they're not going to be as good as TSMC, but there's still a market for them to push by being American. I think we'll see a similar thing for these AIs. You'll have a few smaller data centers that don't try to compete on being as purely smart as the big megaliths, but they'll find some niche. Obviously, TSMC is one of the most interesting and intriguing geopolitical assets that we talk a lot about in the news. It's even a political issue. Do you think that these data centers and the control over the specific models becomes like the central political issue?

48:41Like there's a presidential campaign where the candidates on the stage are mostly just talking about who has the best models and where are they located and what's the security around them and nationalistic type issues. It's all seems almost like the start of a sci-fi novel or something. If I said that we were going to have threats of war over a chip fab 10 years ago, that sounded like a sci-fi novel too. This has to be the conclusion here. Some countries are going to have these hyperscale data centers. And if you don't have one, it's going to be really hard to catch up. China is famously trying to catch up on semiconductor development.

49:16They realize how critical that is for AI, but they did not get on the EUV train when it was leaving the station. They're now on this older immersion technology, and it's really holding them back. And while they have produced some great, quote unquote, seven nanometer chips, I do think they'll continue getting better technology. China is not state of the art for semiconductors today and does not seem like it's on a path to be either. And I think for data centers as well, the United States is very lucky to have all the big hyperscalers, very lucky to have the big AI companies too. But we cannot be passive about this.

49:55We're in a good state now, but that could change. So I think that export bans for state-of-the-art AI chips are really in the national interest here. Can you explain the essay, The Bitter Lesson, and then talk about the implications of the upper limit of how good these things could get based just on the available data in the world? These things have been trained on insane amounts of data, but there is a finite amount of data in the world. There's more being created every day. But talk about the bitter lesson and the importance of data and the sort of upper limits of how good these things could get.

50:29So the bitter lesson is an essay put out by Rich Sutton, great pioneer AI in 2019, before the whole transformer craze. Rich looked at the field and saw that what would happen all the time is somebody would take a model that worked, and they'd hard code some knowledge and do it. For example, somebody would say, hey, here's a great image recognition model, but it gets this one weird case wrong on occasion. I'm going to hard code a hacky fix on it. And inevitably, doing this whack-a-mole fix strategy works in the short term. You get a little bit better performance. You can go publish your paper all as well, but it never scales.

51:09The only techniques that have routinely worked are those that leverage the fact that compute is getting cheaper. For example, I mentioned chess engines before. In the very old days, people would write chess engines by saying, well, a rook is worth five points, a bishop is worth three. I'm going to add a rule to my machine that says, hey, if you can go trade a bishop for a rook, that's a good trade to make. So you should go make that move. And again, that works a little bit, but it doesn't really generalize. So the strategy that eventually worked for chess that enabled Deep Blue to become the world chess champion was not encoding human knowledge, not hard-coding rules, but by just leveraging a massive amount of computation.

51:54Deep Blue did search, much like this tree search we were talking about earlier. It would test hundreds of thousands of positions, find the one that it liked best, and then play moves to get there. And the same thing is happening for artificial intelligence. In the very old days, the image recognition, people would say, hey, there's a block of white pixels in this kind of shape. It might be a bird. It might be a light bulb. They had these big trees of fixes for it. And that didn't really work, didn't scale up. But the thing that did scale up is making neural networks very big and feeding them huge amounts of data.

52:29So the lesson of the bitter lesson is that the only techniques that will really advance the field of artificial intelligence are those that are able to leverage the cost of compute getting cheaper, that are able to leverage these enormous data centers that must be built. And you mentioned data as well. A key part of the learning algorithms is data. There's only so much data available in the world. Some people have raised the alarm that we're about to run out. The models aren't going to be able to go and get the next trillion tokens. It doesn't exist. And yes, I do think that'll be a problem eventually.

53:06But we haven't even begun to tap into the most valuable source of data, the video. I don't know about you, Patrick, but when I learned to walk, I learned to pick up objects. I didn't do it from a book. I did it by looking with my own eyes and seeing, hey, does this behave the way that I think it does? And we've begun to kind of dip our toes into it. People have built vision transformer models. And usually what they do is they train a model on text. And then at the very end, they add in the image part. It just adds a little side feature. And I think that's wrong. I think Transformers tomorrow will be trained from day one with enormous amounts of video data.

53:45So that solves the problem in the medium term. But eventually, these models will get 100 times bigger. They'll require 100 times more data. They will exhaust all that is available right now. But I think that self-play and generating your own training data is the final frontier here. One good analogy is the machines that played Go. They tried training AIs on human games to make them better than humans at the game of Go, and it worked, but you ran out of those games very fast. So what Google did with AlphaGo is they made the model play against itself and learned from those games. And the same trick has begun to show some promise in natural language processing, where you have an AI that writes out some output, then you ask it to analyze that output and say, was this good?

54:32Was this bad? As a human, you can do that. You can get better. That's why I revise the things that I write. And I think that technique of the models generating their own training data will allow us to scale even once we run out of all the images and video available on the web. When we get to that stage though, what's the objective function? In Go and chess, we know what winning is. We know what good and bad is. We can define it. I suppose we could define the rules of physics or something in an open-ended play-yourself game that these crazy models might do with themselves. These are goal-seeking things.

55:08How do we define good objective functions in that case? Well, one of the beauties of language models, I think, is that they learn these concepts themselves. You can test this. You can go ask GPT-4, here's a scenario. Is the human behaving ethically in this scenario? So the AI knows what is good, what is ethical, and it got the understanding by reading all the text we've generated as a species. So when we ask it to go say, hey, pick the response that is more ethical, pick the response that's better, it is using that concept that developed from reading all there is to read. Can you walk me through the most important big companies of today and just riff on each a little bit?

55:51There's the obvious ones. There's the hyperscalers. There's OpenAI. There's Anthropic. There's NVIDIA. There's all of these different key players. I'd love you to pick the ones that you think are most important, really just through the lens of your own strategic thinking. You're building a business. There's been enormous scale benefits in this last cycle of technology companies. It's staggering how big the big technology companies are. How do you think strategically about the role that they'll play? How, as a young upstart business, you might position yourself strategically or counter position yourself against these incumbents?

56:24Why won't those same five companies just win everything? Like this whole strategy game is really, really interesting to me. And I'm curious how you think about it or if you have certain lenses to approach it. I know that it lurks from afar, like Microsoft and Google and Amazon are dominating everything, and they do dominate, but at one layer of this enormously complex supply chain. Let's think about it from the top. At the very top here, we have the state-of-the-art AI models being trained by folks like OpenAI and Anthropic. These folks have enormously good talent. I think that's the big moat.

57:00But they don't really run the compute themselves. they get it from one of the hyperscalers. So we have the models at the top. Below this, we have the hyperscale tech giants. Those are the ones people are scared of. Google, Microsoft, and Amazon are the big three in this domain. Buying those chips, racking and stacking them, supplying data with power, and then selling that to these companies on top. Where do those companies get their chips from? Right now, it is almost entirely NVIDIA, but I think that's going to change. AMD is coming out with their new Mi300X next year. I think it's going to be a viable competitor to the H100.

57:42And companies like us are trying to replace this idea of general-purpose AI chips entirely. And they'll specialize ones just for the Transformers. So I think that us, along with some of the general-purpose guys, become this layer underneath it. But us, NVIDIA, and AMD cannot make the chips ourselves. We have to go to a fat house. TSMC is the one of choice. But the chip is just one piece here. On a chip like the MF300 or on the H100, the memory actually costs more than the silicon itself by more than a factor or two. Now, these memory modules are made by only two or three companies as well. Samsung, SK Hynix, and maybe Micron.

58:25Two of those are in South Korea, and Micron is American. So these people are other really, really critical folks in that supply chain. And folks talk all the time about NVIDIA, TSMC, ASML relationship. They don't talk enough about NVIDIA to Samsung, NVIDIA to Eskehynes relationship, because these memory modules are so critical for building the state-of-the-art GPUs. But then these companies themselves, where do they get their machines from? And now we get to a little bit of the diminishing returns. ASML is a much smaller company than TSMC. And there are so many others that help make these chips as well.

59:06But I think that this supply chain of model provider on top, then Hyperscale data center below that, then chip designer below that, and chip fab below this. This is the fundamental stack of the future. And now what I did not mention here is the end application. What does the user see? I don't think this will be built by OpenAI and by Anthropic and by these model companies. It'll be folks building on top here, this fifth level of a stack. And some of those folks will be incumbents, big established firms that want to build some new AI product. A lot of it will be startups who say, hey, chatbots are boring.

59:44I have this new interface, speech-to-speech. I have this new interface, enormous amounts of document ingestion and querying. I have this new interface, AI-powered search of the whole internet. So I think there's the most opportunity. Well, I think there's opportunity at all these levels, building new AI products, innovating AI models, building new kinds of data centers that are designed to operate these crazy high scales, building specialized chips and building them fast for running these models and fabricating those chips in a way that is much faster than today's processes. given that the application developers at the top of the stack have kind of an open green field which is really cool i'm sure we'll see amazing things the way they build competitive advantage and succeed seems kind of clear just like it has been in the past you're operating at a much deeper part of the stack how do you think about building a better product but also doing so in a way that three years from now nvidia doesn't just get one of them and look at it and say okay well we're the scale player here, we sort of have the right to win in ASICs, just like we did in GPUs.

1:00:50How do you think about that strategically? And I know the world needs all these things, and it's a big world, and there's a big and growing pie. I don't mean to suggest anything different, but how do you think about competing at a deeper part of the stack where there's more supply chain, more interdependency, huge giants that move fast, and so on? Let's be clear, NVIDIA is a fantastic company, and I believe they will eventually build specialized transformer chips, much like we're doing. It just makes sense. But right now, they're stuck in the innovator's dilemma. The H100 is selling hotcakes and has an enormous margin on it.

1:01:23And if they were to build, not even a transfer of specific ASIC, but say H100 for inference, or H100 with a little bit of the graphic stuff ripped out, that would reduce the margin they have on the H100 and would be bad for them entirely. They can't innovate or the advantage goes away. And this is especially for specialized chips. One of the biggest moats for NVIDIA is CUDA, their software stack that is very, very flexible. It's able to run graphics, able to run AI, crypto. That is a great moat in the world where general-purpose chips, general-purpose AI chips are dominant. But specialized chips like ours are much easier to program.

1:02:04In a world where you burn the transformer architecture into the silicon, you don't need CUDA in the same way. If the world goes to specialized chips, NVIDIA kind of loses that moat. So while I do believe they will compete, they're not going to be first. The only people who can really innovate are startups like ourselves. So I see a world where we get to market first, and NVIDIA gets to market a year later or so. Now, what happens in that year? I think, again, going to the crypto analogy makes a lot of sense. A lot of companies, 30 I think, tried to build Bitcoin mining ASICs. They're much simpler than GPUs.

1:02:41You can tape them out much faster. But the companies that got to the space first ended up winning. There's now this duopoly between MicroBT and Bitmain. Bitmain, when they were testing the waters for an IPO a couple years back, was valued at more than$50 billion. So because when a specialization moves into a space, general purpose devices become no longer competitive, the person who gets there first is almost guaranteed to win. I think that to go back to us, this means we have to move as fast as possible. Back when we began this company last year, before transformers were big, before this was obvious, then yes, we could afford to be a little more relaxed.

1:03:22But today, when people are saying, why is there no transformer ASIC? We must move as fast as possible, ship on time, and ship silicon that works for us to win. You mentioned the importance of CUDA for NVIDIA. we haven't talked about the software that you have to build at the same time as you're building hardware. What role does that software play for a company like yours? And the way that the chip itself can be programmed or tapped or accessed by other developers. Say a bit about those two parts of this story. Let's get some of the question of why did other AI companies fail? People have tried to build general purpose AI chips in the past and have generally lost out to GPUs.

1:04:03Graphcore, Sabinova, Cerebris, and Grok have had some modest success, have not taken over the world in the way that folks thought they would. And I think this is for two reasons. First, the software, and second, the chips generally weren't better. We'll do software first. It is extremely hard to do what NVIDIA does. CUDA has been developed over, I think it came out in 2007, more than 15 years. And because it is so old, it has become stable, reliable, the workhorse people can depend upon. A startup trying to get into the space won't have that. They'll be putting out something a little bit more raw that's much harder to use.

1:04:43And if you look at, say, the ease of compiling code for NVIDIA versus even, say, AMD, it's no contest. Huda is great because it is production great. And the only way to solve this problem, besides being old, I think, is to be less ambitious. If you're doing a simpler thing, you can get to real production, great quality, much faster. And luckily for us and for specialized chips, because there is so much less programmability on the thing, because you're only taking transformers to transformer compiled code, the software stack is much, much easier. Now, that's not to say I want to be complacent about it.

1:05:23We already have a prototype of this running internally, running with our chip and simulation. and because of this we can begin iterating on that software getting it stable reliable production grade so that when the chips come back the software works the way that you expect it to but the second piece of why these companies didn't succeed is that they weren't better if you look at say the amount of memory bandwidth that they have versus the gpus they computed against it's the same if not worse if you look at the amount of flops compute they have again It's the same, if not worse. And that, I think, is a much bigger problem than just the software itself.

1:06:04If you think about the performance improvement that you want to drive, you just said, look, these things didn't work because they weren't better. How much better do you want to be? Is it five times, 10 times? It's got to be more than 10 times. I don't want to share exact numbers right now. We got to have some secret sauce. But because we're able to specialize, you can get a huge amount more compute on these chips. And let me just give a concrete example here. It takes about 10 ,000 transistors to build a fuse multiply add unit. That's the building block of any matrix multiplier. And NVIDIA has not that many on their chip.

1:06:43Only about 4 % of the chip is the matrix multipliers because to feed them requires so much more circuitry. That's the cost of being so flexible. Whereas us, we will have more than an order of magnitude, more of these multipliers, the order of magnitude, more raw flops. And of course, turning that into a useful throughput, that is still not trivial. You need a very good memory bandwidth there as well. But the reason I can confidently say that we will not fall into this trap and that we will be better is that I already know the metrics on our chip. I already have PPA figures. we will just have so much more raw compute substantially more than an order of magnitude that's not just for compute but also for latency people talk a big game about hey if the cost of compute goes down you can do so much more stuff and I do think that's true but it's not what gets me excited with chips that have 20 times the better latencies than the state-of-the-art GPUs because they're able to run a huge prompt in total parallel that lets you build products you could not otherwise build.

1:07:49Let's you build this real speech-to-speech machine. Let's you build a machine that ingests the whole internet in a second instead of hours. And that, that is what gets me excited. One of the things that's so clear to me is the role of strategic leadership in making things like this happen. And by that, I mean, usually in a person, a single person. Obviously, like on the software side, Sam Altman seems to be a or the person that's really driven a lot of this forward. He clearly early recognized an opportunity and galvanized talent and a team around it and has managed them to build something really spectacular.

1:08:28I sort of think of you like the hardware person potentially that could do this. How do you think about strategic leadership? How do you lead a technical staff? I don't know how technical Sam is, but my sense is that he is more of a traditional leader, not in the deep, deep weeds. How would you characterize yourself? And what do you think are the key components of a good strategic leader in the hardware side of this equation, given that we're already familiar with some of the leaders in the software side? Let me tell you a bit of the story of how we got here. And then I'll bring that into what I think a good leader has to do.

1:09:05When I was on my gap year working for OctoML, living as a digital nomad, versus off in his dorm room, we had this idea for, hey, let's build a transformer specialized ASIC and that we get a huge amount of performance improvement. We went to a big industry vet who told us that, nope, not going to work. But also he said that despite being a veteran industry vet, he wasn't the guy to know for sure, but he knew just the guy to tell us why our chip would not work. Mark Ross, his resident dower. Mark Ross is a seriously legit guy, kind of person who makes you a little bit scared. He was a CTO of Cypress Semiconductor for a time, which sold for$9 billion in 2019.

1:09:49And Mark has shipped, I think, five chips that have done more than a billion in revenue. So we go to Mark. We show him our tech. And he says, well, it looks like this isn't going to work, but it's too early to tell. You guys should go build a functional simulation. You guys should go write a white paper. and then he'd come back to me and we can talk about, hey, here's the problem that you're going to hit. Here's why this isn't going to work and you guys are going to learn a lot by doing it. And then maybe from that we can figure out how to pivot and build a chip that is viable. So over a lot of long nights, Chris and I do just that.

1:10:22We write our technical white paper. We do the original architecture for the chip. We build our functional simulation and we go back to Mark. And Mark says, shit, this works. But you guys are college students, he says. This is semiconductors. Just to get started, you're going to need$2 to$3 million and a hell of a lot more after that. This isn't data caps. You guys have never built a chip before. And then we raised$5.5 million. We went back to Mark and asked if he knew anybody to be the chip architect. And after a series of conversations, he used to be a chip architect. And we talked him out of retirement.

1:10:57So Mark Ross is now our chief hardware architect. And from there, kind of the rest of the dominoes fell. we got ajat our vp of engineering fantastic chip guy intel vp before this who was known for building these very large chips on advanced nodes with teams it's like a dozen people that is not how that normally happens one of the few good men there who can still build the chip on a budget that we got a sap the deep co-founder oradine we got reynolds the first chip guy at cruise and dozens of other vets from Google, Microsoft, Amazon, you name it. What does a good leader do? Kind of tie this all back.

1:11:34It looks from afar like Sam Altman himself is pulling all the strings open at eye and masterminding the whole thing. But I think it's the folks under him who are doing the magic and the folks under them who are making that into a real product. The role of a good leader to set the vision, get the right people in those chairs, and not running out of money. That's it. I've heard stories, though, about you in meetings where you go to the one inch or one centimeter level on some very technical part of what's being designed. And I'm curious how much you'll miss that if you give it up and you just do those other things and or whether or not there might be a world where you being in the technical details, I think about like an Elon or something that apparently can walk the SpaceX floor, the factory floor and know every freaking detail somehow.

1:12:21Now, what do you think is the prospect of being a more technical, hands-on leader for you? I think there's a lot of value in a leader being technical. Understanding your team's problems, understanding why they're doing the things that they're doing is a requirement for bringing in the right people. There aren't that many levers you can push at the top. It's very coarse things. To figure out the right guy to bring in, you have to understand that problem. And that's what being technical gets you. So this is why Greg Brockman at OpenAI, despite being the CTO, you still see that guy coding. He can't understand how far along the model is unless he himself has seen the internals.

1:13:03Even though I love the folks who work here and I trust them completely, I can't understand how far along is design verification. How far along is this block on our chip as I'm talking to that guy and I understand why he's doing what he's doing. And also, to be quite frank, it's fun. Any closing thoughts about things in this world that would be most surprising to investors, to end customers out there, to CEOs of other businesses that aren't technology or aren't AI related? You've gotten so deep in the weeds on what's going on and trying to drive a certain future. Is there anything that would surprise people most that we haven't talked about yet?

1:13:44Let's take it back to this idea of transformer is becoming the way neural networks are, where it's not going to be replaced. It's going to be a building block. You're going to build, say, retrieval augmented generation on top of that to make the model smarter. If you read Microsoft paper where they have agents living in a simulation, you're going to build memories on top of these transformers to let them remember things. So a real key storage cache. I think that folks have talked and talked and talked about how the Transformers are going away. A much more productive line of reasoning is how do I build on top of this?

1:14:19And when I look out at what's happening in this landscape, it is the folks who are building on top of it who are building the most successful, coolest products, AI games based on having this memory, real conversational things, speech-to-speech, although with a higher latency than I would like today, or a primitive AI lawyers of the future. So again, the transformer is not just the next fad. This is a building block. What makes you most confident in that? When I asked around, I heard lots of people that agreed, but why that architecture, which obviously has led to all the stuff we're talking about.

1:14:57So obviously it's incredibly powerful, but why doesn't it tap out in two years, three years, four years, five years? Why might there not be a different architecture sure that just totally takes over if the world was fair there could be but the world is not fair the transformer by virtue of being the dominant architecture is suddenly the thing that has way way more humans thinking about trying to improve trying to optimize and after people hardware too nvidia is building a little bit of hardware support for the transformer to optimize certain kinds of memory loads into their next gpus that is going to preferentially favor the transformer over any replacement that comes out.

1:15:38For software, NVIDIA has three very highly optimized transformer libraries. That means if you want to run a transformer model, it'll be super easy. If you want to run it, say, some other kind of thing, state-space diffusion, you have to make the model so much better that it outweighs the fact of a 2-3 performance improvement you get by optimizing it so heavily. So for a new architecture to go and beat the transformer, it has to be so incredibly good. That it will outweigh the hardware disadvantage it will have because transformers are favored. It will outweigh the software advantage it has because transformer libraries are so common.

1:16:15It will outweigh the end-user application because end-users are used to working with these transformer models. That is just such a heavy lift. And again, to go back to this neural networks analogy, random forests or SVNs could have been the dominant AI paradigm, I think. But now to go cash that up to the state of neural networks, it's just totally infeasible. One thing we haven't talked about is in the world where there's a GPTX and maybe a Lama Y and an Anthropic Z, what about building models that are specialists that rely on access to a very proprietary data store? So there's companies out there or people out there that have closed access to really valuable data that could make these models better.

1:17:05What happens there? Do they train their own model? Do they just somehow add their data to one of the big existing models? What do you think about a proliferation of models beyond the top three, four of them? I think this data is very, very valuable, but it can be learned later. And the reason I'm so confident that it's okay to learn this stuff later, because humans do it all the time. If you go to work for, say, say, Bloomberg, a company that has valuable financial data, you come in there having a good understanding of the world around you, but not having the Bloomberg secrets, and you're able to get caught up pretty fast.

1:17:40I think the same thing will happen for these AI models. OpenAI will train GPT-X. It'll cost$10 billion. And then on top of that, Bloomberg will say, hey, I'm going to fine-tune that with my Bloomberg proprietary data. I'm going to pay OpenAI$10 million for this. and I'm going to use that fine-tuned version. Other companies, say a semiconductor company that wants to build a semiconductor-based AI for coding chips or some investment bank, you name it, they will fine-tune on top. And the second piece of why I believe this is going to be the future is that there's not a whole lot of advantage training your own thing from scratch.

1:18:19Remember how we talked earlier about the pre-training phase where you do things that are tangentially related but easy to grade? Then you do the RLHF on top of that to really make those capabilities come out. Pre-training phase is way more expensive than the RLHF stuff on top. The pre-training is going to look the same, regardless of whether you're an AI for finance, an AI for law, an AI for therapy. There's no sense in a large company doing their own thing from scratch, doing the expensive thing again when it's going to look the same. You just fine tune. Is there anything else to talk about in hardware, edge computing, or other things in the hardware world that we haven't talked about that you think are going to be important beyond just the chips and training and inference?

1:19:03Is there a market for smaller models? I think absolutely. I don't think there's a market for medium-sized models, though. I think there's a lot of demand for a thing that's super, super low latency. Going to the server and then going back is so slow that it causes problems. Much like, for example, speech recognition today. It used to be the case that when you said, hello, Google, and then asked a question, it would send the audio to the data center, it would transcribe it, and it would come back. And the latency there was annoying. So Google built a speech recognition model on the device for better latency.

1:19:37Now, that model is very small. And I do think we're going to see other very small transformers for tasks, like selecting the next autocomplete word, doing a little bit of drafting to help with your texts. These things are not going to be the crazy smart agents we're going to have in data centers. However, I don't think there's a future for medium-sized models, things in 100 billion parameter range. That's just too big to run on a device. And if you're going to run in a data center, you might as well use a smarter model. And you might say, well, 100 billion is going to be cheaper. But I think there are enormous economies of scale here.

1:20:11Because the cost of loading in those weights is so much higher than the cost of doing marginal extra computation. it is really easy to kind of get added to that batch. So I think we're going to see a promising future for Edge and a promising future for the biggest of the big and these hyperscale data centers and nothing in between. Kevin, I look forward to, I don't know, hopefully decades of learning from you about all the stuff that's happening in this world. It does seem to just be the most, certainly for me, the most interesting, entertaining, impactful, incredible explosion of technology that I've come across.

1:20:45And it's so cool that you're going to be driving the hardware side forward as folks like Sam and others drive the software side forward. Always ask the same traditional closing question at the end of my interviews. What is the kindest thing that anyone's ever done for you? The kindest thing anyone's ever done for me, this guy Gunnar Mein. When I was a kid in the middle of high school, I was very interested in engineering. But yeah, I'm young. It's hard to go turn that into impactful results. Gunnar dropped out of college in Germany, went to work for Microsoft for a couple of decades, and then decided that instead of working for Microsoft, he wanted to go teach high school, which is quite a pivot.

1:21:22He went and taught programming classes at my high school, which I tokened they were good. But really, he stayed very, very late to run the robotics program to run Xenia stuff. Gunnar thought that a bunch of high schoolers could build a nuclear fuser to go turn a deuterium into a helium, real nuclear fusion. It wouldn't generate power. These things have been built before, but the thought that much of high schoolers could do it was a little bit crazy. Gunnar Main decided that my school needed an electron microscope, and we didn't have the money to buy one. But he saw a$1 ,000 broken Joel 87 machine that was a user for parts being sold in Everett.

1:22:06he and some of my friends and myself drove over in a u-haul picked up the machine which weighed several thousand pounds drove it back to the school and spent the next year and a half fixing it we got it working actually it was a very old microscope it had a polarite camera if you can believe that it would flash pixels one at a time as it scanned across the image because each pixel would be exposed they'd slowly be turned into the full image and we ripped that out placed it with an Arduino. We tried to go and rip out the high-voltage box replaced with a newer one because it kind of broke sometimes.

1:22:38We got that working. We never figured out how to keep it from leaking, but that's what we had. The whole microscope would take about 30 minutes to get running. You'd have to go to the room, turn the machine on, wait for the vacuum to be drawn, turn the diffusion pump on, wait for that to be pumped out. It had to be done totally manually because the automated box had been broken. Gunnar would go sit there and supervise us when we messed around with that thing until like 9 p.m. at night, almost every night. And that got me interested in engineering, got me to Harvard in some ways, and got me to where I am right now.

1:23:14What an awesome story. So incredibly unique. What a cool guy. So many stories like this of someone taking an interest in teaching and sharing the world with someone so young. Amazing closing story. Gavin, thank you so much for your time. My pleasure. If you enjoyed this episode, check out joincolossus.com. There you'll find every episode of this podcast complete with transcripts, show notes, and resources to keep learning. You can also sign up for our newsletter, Colossus Weekly, where we condense episodes to the big ideas, quotations, and more, as well as share the best content we find on the internet every week.

1:24:02Thank you.

From the publisher

Today, my guest is 21-year-old Gavin Uberti, who dropped out of Harvard to build Etched, which is one of the most fascinating companies I’ve seen. The topic of our conversation is the ongoing revolution in artificial intelligence, and more specifically the chips and technology that powers these incredible models. To date, general-purpose AI chips like Nvidia GPUs have powered the revolution, but Gavin’s bet is that purpose-built chips, hard-coded for the underlying model architecture, will dramatically reduce the latency and cost of running models like GPT4. We’re about to embark on what Gavin calls the “largest infrastructure buildout since the industrial revolution”, and I won’t spoil what he thinks this will unlock for all of us. It is so uplifting to me that someone so young can be working on something so big. Please enjoy this great conversation with Gavin Uberti.

Check out Etched.AI
Listen to Founders Podcast

For the full show notes, transcript, and links to mentioned content, check out the episode page here.

-----
This episode is brought to you by Tegus. Tegus is the modern research platform for leading investors, and provider of Canalyst. Tired of calculating fully diluted shares outstanding? Access every publicly-reported data point and industry-specific KPI through their database of over 4,000 drivable global models hand-built by a team of sector-focused analysts, 35+ industry comp sheets, and Excel add-ins that let you use their industry-leading data in your own spreadsheets. Tegus’ models automatically update each quarter, including hard-to-calculate KPIs like stock-based compensation and organic growth rates, empowering investors to bypass the friction of sourcing, building, and updating models. Make efficiency your competitive advantage and take back your time today. As a listener, you can trial Canalyst by Tegus for free by visiting tegus.co/patrick.
-----

Invest Like the Best is a property of Colossus, LLC. For more episodes of Invest Like the Best, visit joincolossus.com/episodes. 

Past guests include Tobi Lutke, Kevin Systrom, Mike Krieger, John Collison, Kat Cole, Marc Andreessen, Matthew Ball, Bill Gurley, Anu Hariharan, Ben Thompson, and many more.
Stay up to date on all our podcasts by signing up to Colossus Weekly, our quick dive every Sunday highlighting the top business and investing concepts from our podcasts and the best of what we read that week. Sign up here.

Follow us on Twitter: @patrick_oshag | @JoinColossus

Show Notes:
(00:03:41) - (first question) - Born too late to explore the world, too early to explore the stars
(00:05:59) - Interpreting and defining superintelligence
(00:07:20) - Excitement we can have for an AI driven future 
(00:09:25) - Overview and basic terminology of the transformers that power AI 
(00:15:53) - What Q* is and the rumors around it 
(00:20:41) - Robotics, machinery, and what’s interesting about them 
(00:23:18) - The problem of latency and computing power 
(00:8:55) - Needing to build physical infrastructure that doesn’t exist
(00:32:18) - Inference and training AI models 
(00:36:00) - Major stages of chip design and the upper limits of speed 
(00:45:56) - Customers for billion dollar generative AI models
(00:48:56) - A sci-fi-esque reality and the politicization of AI
(00:50:38) - The Bitter Lesson and the implications of powerful AI models 
(00:56:27) - The most important companies in the AI space today 
(00:61:52) - Strategically building a defensible AI product 
(01:04:07) - Software development and why other AI companies fail 
(01:06:51) - Specialization and chip performance improvement 
(01:15:34) - Why the transformer remains the leading architecture 
(01:17:26) - A proliferation of models beyond the major players and data access
(01:21:19) - The kindest thing anyone has ever done for Gavin 

More from Invest Like the Best with Patrick O'Shaughnessy

All 200 episodes
Gavin Uberti - Real-Time AI & The Future of AI Hardware - [Invest Like the Best, EP.356]Invest Like the Best with Patrick O'Shaughnessy · 1 h 24 min
Listen in VO