podcasts / No Priors: Artificial Intelligence | Technology | Startups / episode
No Priors: Artificial Intelligence | Technology | Startups cover art
podcast
📅 ⏱ 43 min episode · summary ~2 min read 📝 Transcript · 8,989 words 🎙 Jared Quincy Davis

Jared Quincy Davis: No Priors: Artificial Intelligence transcript

No Priors: Artificial Intelligence | Technology | Startups · Transcript & summary by WhipScribe

A GPU cloud founder explains why AI compute sits idle and how spot-style sharing and verified, multi-call systems could change who can build frontier results.

Read the transcript
🔔 Get every new No Priors: Artificial Intelligence transcript by emailOne email per new episode. Unsubscribe in every message.
One email per new episode, unsubscribe in every message. Not shared with the publisher.
In this episodeFoundryDeepMindOpenAINVIDIAAWSEthereumDropboxSnowflakeDatabricksLlama 3.1AlphaFold2Phi 3

▸Chapters

Tap a chapter to play it from that moment in the show's own player.

▸Key takeaways

01Jared Quincy Davis, founder of the AI cloud Foundry, argues that today's GPU rental is closer to co-location than the elastic cloud that began with AWS in 2006.
02Foundry's spot product lets short jobs run on GPUs that another customer has reserved but is not using, which Davis compares to parking in a reserved spot.
03Davis says many large pre-training runs stay under 80% utilization, partly because teams hold 10 to 20% of their GPUs as a healing buffer against failures.
04Davis says H100 utilization on many GPU clouds can fall to 20% to 25% or lower, based on data he has seen from sources he did not name.
05Davis says checking answers from many model calls lifted prime factorization accuracy from 3.7% to 36.6%, suggesting gains without giant training clusters.

▸Notable quotes

“verifiable means that it's kind of easier to check an answer than it is to generate an answer.” Jared Quincy Davis · at 37:52 — ▶ hear it from here
“The markets aren't mature enough that there's any analog.” Jared Quincy Davis · at 18:05 — ▶ hear it from here

▸What this episode covers

Jared Quincy Davis, founder and CEO of Foundry, argues that the cloud built for AI has drifted away from what cloud was meant to be. He starts from the idea that small teams at DeepMind and OpenAI pulled off landmark results mainly because they sat on huge compute and institutional leverage, and he wants that leverage available to far more people. Foundry rebuilds the cloud stack for AI workloads from first principles, which he says can improve economics 12 to 20 times over older GPU clouds.

Much of the conversation focuses on why GPUs sit idle. Davis says the newer H100 systems are closer to a whole data center compressed into one box, with tens of thousands of parts, so failures are routine. Teams commonly hold back 10 to 20 percent of their GPUs as a healing buffer, and even large pre-training runs often sit below 80 percent utilization. He contrasts today's multi-year reservations with the elastic model that made early cloud valuable, and compares GPU rental to parking: Foundry's spot product lets pay-as-you-go jobs use reserved capacity that is not in use, with the owner's workload moved out of the way.

The last stretch covers where the compute goes next. Davis points to Ethereum's mining peak as a rough measure of how much hardware exists, noting that most of it is neither interconnected nor accessible. He expects a shift toward compound systems that call one model many times, verify the answers and keep the best, which he says raised prime factorization accuracy from 3.7 to 36.6 percent. That points to more batch inference and less need for giant clusters.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸Jared Quincy Davis on No Priors: Artificial Intelligence: the answers

Who is Jared Quincy Davis?

Jared Quincy Davis is the founder and CEO of Foundry, a public cloud built specifically for AI workloads. He previously worked at DeepMind and did his PhD at Stanford.

What did Jared Quincy Davis say about Foundry?

Jared Quincy Davis said Foundry is a public cloud built specifically for AI, reimagining the cloud stack from first principles. He said this improves economics by 12 to 20 times over lower-tech GPU clouds and existing public clouds, and that customers use it for elastic, economically viable access to state-of-the-art systems.

“Yeah, so Foundry, we're essentially a public cloud built specifically for AI.”Jared Quincy Davis · 2:37

What did Jared Quincy Davis say about GPU utilization?

Jared Quincy Davis said that even large pre-training runs often run below 80% utilization, and sometimes under 50%. He attributed this partly to newer GPUs failing often, which leads teams to hold back 10 to 20 percent of their GPUs as a healing buffer.

“And for a lot of companies, utilization even during this phase, you know, is sub 80%.”Jared Quincy Davis · 4:36

What did Jared Quincy Davis say about Spot instances?

Jared Quincy Davis said Foundry's spot product lets pay-as-you-go users run on GPUs that others have reserved but are not using. He compared it to parking in someone else's reserved spot, with the owner's car moved by conveyor, and said it is much harder to do with GPUs than with typical cloud servers.

“It's a lot more challenging to do with GPUs for a few different reasons”Jared Quincy Davis · 22:44

What did Jared Quincy Davis say about Compound AI systems?

Jared Quincy Davis said compound AI systems call a model many times, generate many candidate answers and keep the best one. He said Microsoft's Phi 3 and Llama 3.1 show how smaller models trained on high-quality or synthetic data can rival much larger systems.

“I think myself and a number of my collaborators and Matei and others have kind of termed this compound AI systems.”Jared Quincy Davis · 32:07

What did Jared Quincy Davis say about Verifiable tasks?

Jared Quincy Davis said that problems where checking an answer is easier than generating one can be bootstrapped to high performance by generating many candidates and selecting the best. In his preliminary tests, prime factorization accuracy rose from 3.7% to 36.6%, and MMLU performance rose by about 3%.

“verifiable means that it's kind of easier to check an answer than it is to generate an answer.”Jared Quincy Davis · 37:52

What is Jared Quincy Davis's main argument on No Priors?

Jared Quincy Davis argues that today's AI cloud is closer to co-location than to true cloud, because customers must reserve GPUs for years up front. He says a more elastic, spot-style model and compound AI systems that verify many model outputs could bring frontier-level results to a much broader set of builders.

Mentioned in this episode

Episode facts

Released
August 22, 2024
Length
43 minutes

▸Questions this episode answers

Q1What did Jared Quincy Davis say about AI cloud being co-location?

Jared Quincy Davis, founder and CEO of Foundry, said that the current AI cloud is basically co-location rather than the elastic cloud that early providers like AWS offered. Customers often must reserve GPU capacity for about three years up front, and he argued that markets for hedging that capacity, like the futures used for wheat or oil, do not yet exist.

Q2How underutilized are GPU clouds according to Jared Quincy Davis?

Jared Quincy Davis said that even the most intensive pre-training runs often reach less than 80% utilization, and sometimes under 50%. One reason is that newer GPUs fail often, so teams hold back 10 to 20 percent of their GPUs as a healing buffer. He also cited data he has seen suggesting H100 utilization is often 20% to 25% or lower.

Q3Why does Jared Quincy Davis compare GPU capacity to a parking lot?

Jared Quincy Davis compares GPU rental to a parking lot with pay-as-you-go spaces and reserved spaces. Foundry's spot product lets a pay-as-you-go user park in a reserved GPU spot that is not in use, and the owner's workload is moved by automated systems. He said this could give a lot up to 10 times the effective capacity, depending on how many reserved spots sit empty.

Q4How much GPU compute exists in the world, according to Jared Quincy Davis?

Jared Quincy Davis argued that there is far more GPU compute in the world than people assume, and used Ethereum's mining peak as a proxy. He estimated the network at about 10 to 20 million V100-equivalents, running around the clock. He noted that much of this compute is not useful, interconnected, accessible or secure.

Q5What is Jared Quincy Davis's view on compound AI systems and verifiable tasks?

Jared Quincy Davis said compound AI systems call a model many times, generate many candidate answers and keep the best one. He said this works best on verifiable problems, where checking an answer is easier than generating it, such as software and math tasks. In his preliminary tests, prime factorization accuracy rose from 3.7% to 36.6%, and MMLU performance rose by about 3%.

Q6Why does Jared Quincy Davis expect batch inference to grow?

Jared Quincy Davis said that teams are increasingly moving compute away from large pre-training and toward batch inference and synthetic data generation. Batch inference is horizontally scalable and does not need a tightly interconnected cluster, so he sees it opening up cutting-edge work beyond a few large labs. He pointed to Llama 3.1's 8B and 70B models, trained on synthetic data distilled from a larger model, as an example.

▸Transcript

Our own transcript of the public episode, with a timestamp about every 90 seconds. Tap a timestamp to play the episode from there in the show's own player; the link button on a paragraph copies a link that opens this page there.

0:00Opening: AlphaFold2 and why small teams matter

0:00Hi, listeners. Welcome to No Priors. Today, we're talking to Jared Quincy Davis, the founder and CEO of Foundry. Jared worked at DeepMind and was doing his PhD with Matej Zahari at Stanford before he began his mission to orchestrate compute with Foundry. We're excited to have him on to talk about GPUs and the future of the cloud. Welcome, Jared. Thanks, Sarah, and great to see you. Thanks a lot as well. Yeah, great seeing you. The mission at Foundry is directly related to some problems that you had seen in research and at DeepMind. Can you talk a little bit about the genesis? A couple of the most inspiring events I've witnessed in my career so far were the release of AlphaFold2 and also CheshirePT.

0:44I think that one of the things that was so remarkable to me about AlphaFold2 is initially it was a really small team, three and then later 18 people or so. And they solved what was kind of a 50-year grand challenge in biology, which is a pretty remarkable fact that every university, every pharma company hadn't solved. And similarly with Chachaputee, a pretty small team, open air was 400 people at the time, released a system that really shook up the entire global business landscape. That's a pretty remarkable thing and I think it's kind of intriguing to think about what would need to happen for those types of events to be a lot more common in the world. Although those events are really amazing because of the small numbers of people working on them,

1:21I think it's not quite the David and Goliath story, neither are quite the David and Goliath story that they appear to be when you double click. In OpenAI's case, there were only 400 people, but had $13 billion worth of compute, which is quite a bit of computational scale there. And in DeepMind's case, it was a small team, but obviously they were standing on the shoulders of giants in some sense with Google, right? And the leverage that they had via Google. And so one thing I think that we thought about is, you know, what can we do to make the type of computational leverage and tools that are currently exclusively the domain of OpenAI and DeepMind kind of available to a much broader class of people?

1:57Foundry as a public cloud built for AI

1:57And so that's a lot of what we worked on with Foundry, saying, can we build a public cloud? You know, build specifically for AI workloads, where we reimagine a lot of the components that constitute the cloud end-to-end from first principles. And in doing that, can we make things that currently cost a billion dollars cost $100 million, then $10 million over time? And that'd be a pretty massive contribution. I think it would increase the frequency of events like AlphaFold2 by 10x, 100x, or maybe even more super linearly. And we're already starting to see the early signs of that, but quite a lot of room left to push this agenda. So really exciting. So that's kind of maybe an initial introduction preamble to how

2:37we thought about it. And I can trace that line of reasoning a bit more, but that's kind of part of what we've done. Jared, for anybody who hasn't heard of Foundry yet, what is the product offering? Yeah, so Foundry, we're essentially a public cloud built specifically for AI. And what we've tried to do is really reimagine all of the systems undergirding what we call the cloud, end-to-end, from first principles for AI workloads. And we've tried to do this in a bit of a new way. I think the AI offerings from the existing major public clouds and kind of some new GPU clouds haven't really re-envisioned things. And by thinking about a lot of these things a bit anew, we've been able to improve the economics by, in many cases, 12 to 20x

3:20over lower tech GPU clouds and existing public clouds. And we'll partially base on some of these products that we'll talk about today that we're releasing and a lot of new things that we're working on. We think we can push that quite a bit further as well. And so our primary products are essentially infrastructure as a service, so our customers come to us for elastic and really economically viable access to state-of-the-art systems. And also a lot of tools to make leveraging those systems really seamless and easy. And we've invested quite a bit in things like reliability, security, elasticity, and just the core price performance. How underutilized are most GPU clouds today? And I think there's almost three versions of that.

4:00Why GPU utilization stays below 80 percent

4:00There's things on hyperscalers like AWS or Azure. There's large clusters or clouds that people who are doing large scale model training or inference run for themselves. And then there's more just like everything else. It could be a hobbyist. It could be a research lab. It could be somebody with just some GPUs that they're messing around with. I'm sort of curious for each one of those types of or categories of users, like what is the likely utilization rate and how much more do you think think could be optimized? Is it 10%? Is it 50%? Like I'm just very curious. One of the most, I'd say positive cases with the highest utilization, which is the case where you're running kind of an end-to-end pre-training job.

4:36Right. And so that's a case where you've done a lot of work up front. You've designated a time that you're going to run this pre-training workload for. And you're really trying to get the most utilization out of it. And for a lot of companies, utilization even during this phase, you know, is sub 80%. So why? One reason is actually that these GPUs, particularly the newer ones, actually do fail a lot, as, you know, black practitioners would know. And so one of the consequences of that is that it's very common now to hold aside 10 to 20 percent minimum of the GPUs that a team has as buffer, as healing buffer in case of a failure. So you can slot something else in to keep the training workload running.

5:15Right. And so even for a lot of the more sophisticated orgs running large pre-trainings at scale, the utilization sub 80 percent, sometimes less than 50 percent, actually, depending on how bad of a batch they have and the frequency of failure in the cluster. And so even in that case, now, there are often, though, also large gaps and intermissions between training workloads, even if you have the GPUs are dedicated to a specific entity. And so even in those most conservative cases, which all come back to the less conservative extreme cases, utilization can be really quite a bit lower than people would imagine. So we can pull on that case a bit more because I think it's actually quite counterintuitive and really interesting. I think

5:52H100s as whole systems, and their failures

5:52there's a really fundamental disconnect between people's mental image of what GPUs are today and what they actually are. I think that in most people's minds, you know, GPUs are chips, right? And we talk about them as chips, but actually the H100 systems are truly systems. You know, there are 70 to 80 pounds, 35,000 plus individual components. They're really kind of monstrosities in some sense. And the remarkable thing that I think Jensen and NVIDIA have done, one of many, is they've basically taken an entire data center's worth of infrastructure and compressed it down into a single box. And so when you look at it from that perspective, the fact that it's 70 pounds isn't quite as alarming, but it is, these are really gnarly systems. And when you end up

6:35composing these individual systems, these DGXs or HCXs into large supercomputers, what you're often doing is you're interconnecting thousands, tens of thousands, hundreds of thousands of them. And so the failure probability kind of multiplies. And so because you have millions, perhaps, of individual components in this supercomputer, the probability that it will run for weeks on end, and this is basically a verbatim quote from Jensen's keynote, is basically zero. That's a little bit of a challenge. And funnily enough, I think the AI infrastructure world is still somewhat incoherent. And so it doesn't have perfect tooling, broadly speaking, to deal with these types of things. And so one of the compensatory measures I think people take is

7:14reserving this healing buffer, for example. I think that disconnect maybe helps explain why these things fail. And it's actually, funnily enough, the newer, more advanced systems anecdotally fail a lot more than historical systems that were worse in some ways. And do you think that's just like a quality control issue for those systems? Or do you think it's just some form of complexity with some failure rate per component that's rising? What do you think is sort of the driver of that? I think it's more of the complexity has grown, right? And we're in a different regime now. I think that it's fair to say, so maybe stepping back again to definitions, we throw the term large around a lot in the ecosystem. I guess one question is what does

7:55Defining the large model regime for GPU clusters

7:55large mean? And one useful definition of large that I think roughly corresponds to what people mean when they invoke the term is that a large language model, you enter the large regime when essentially the amount of compute necessary to contain even just the model weights starts to exceed the capacity of even a state-of-the-art single GPU or single node. I think it's fair to say you're in the large regime when you need multiple, you know, state-of-the-art servers from NVIDIA or from someone else to even just contain the model, you know, just basically run the e-training or definitely even just to contain the model. That's definitely the large regime. And so the key characteristic of the large regime is that you have to somehow orchestrate a cluster of GPUs to perform a single synchronized

8:46calculation, right? And so it becomes a bit of a distributed systems problem. I think that's one way of characterizing the large regime. Now, a consequence of that is that you have many components that are all kind of collaborating to perform a single calculation. And so any one of these components failing can actually potentially, you know, lead to some degradation or challenge downstream and stop the entire workload, right? You know, you've probably heard, people have talked a lot about InfiniBand and the fact that NVIDIA, part of NVIDIA's advantage comes from the fact that they do build systems that are also state-of-the-art from a networking perspective, right? And their acquisition of Mellanox was one of the better of all time, arguably, from a market cap creation perspective.

9:27And the reason they did this is because they realized that it would be really valuable to connect many, many machines into a single, almost contiguous supercomputer that almost acts as one unit. Yeah, and the challenge of that, though, is that there now are many, many more components and many more points of failure. And these things kind of, you know, the point of failure kind of multiplies, so to speak. You implied that like GPUs, well, you described GPUs as this unique asset that is more CapEx than OpEx and that the hyperscalers like an Amazon are making a certain assumption about what that depreciation cycle is. Where do you think the assumptions for Foundry versus those hyperscalers or versus, let's say, a CoreWeave are different?

10:12Cloud history from AWS to today's GPU clouds

10:12This opens up a pretty interesting conversation around what is cloud. I think we've kind of forgotten in this current moment what cloud was originally supposed to be and what its value proposition was intended to be. I think current AI cloud is not cloud in the originally intended sense by any means. So we should pull on that thread. But I'd say right now it's basically co-location. Yeah, it's basically co-location, right? It's not really cloud. Yeah. Maybe. Yeah, it'll be. It's definitely worth pulling on that thread a little bit. Do you want to break that down for sort of our listeners in terms of what you'd use the differences? First, I guess, as a little bit of context for people, the cloud as we currently know it is arguably one of the, you know,

10:47most important business categories in the world. That's, I think, pretty clear. The biggest companies in the world are either clouds, they're Azure, AWS, GCP, you know, core component of the biggest companies in the world, or NVIDIA, who sells to the clouds, obviously. So it's a clearly important category. AWS is arguably a trillion dollars plus of market cap if you break it out from Amazon. So, you know, at one point, relatively recently, it was all of Amazon's profit and more. So it's an important category, to say the least. And they worked on this for three years with an Amazon, launched in 2006 in March with S3. Later that year in September, they launched EC2. And that kind of was the beginning of the cloud.

11:36It took quite a while for this model to catch on, and people were not quite clear on why this would be useful, even until quite recently. And so in 2009, 2010, Matei, Sarah, who you mentioned, wrote this paper called Above the Clouds with some collaborators at Berkeley, a Berkeley-based cloud computing. And they talked about why cloud would be a big deal, and I think it was not, to say the least, not appreciated that the points they were making were valid at the time. I think it was kind of not clear to people, to say the least. You know, fast forward a few years, Bezos in 2015 said AWS was, for all intents and purposes, market size unconstrained. And he was kind of laughed at by many. That was seen as a really ludicrous statement to make.

12:08You know, fast forward, no one's laughing. In 2019, I remember people saying, like, it's not clear if cloud would be a big deal. Snowflake hadn't yet scaled, you know, Databricks hadn't yet scaled. I wonder if it's worth making a distinction on these things, because, you know, I agree with parts of what you're saying, but, you know, I was building startups in that era. And at the time, there was a pretty strong belief that at least for startups, these clouds were incredibly useful because it used to be you'd spend a lot of money and effort on setting up your server racks and wiring everything up and all the rest. And then the emergence of things like AWS, and nobody expected it to be Amazon, right?

12:46It just didn't fit what people thought of as basically an e-commerce marketplace company, right? They were suddenly building infrastructure and providing it. It felt very natural for somebody like Google to provide that. But I think for startups, because I was doing a startup in 2007, we thought that it was magic, right? Because suddenly, and not all the services were there yet and everything else, but suddenly you could, you didn't have to deal with all the infra. And there was a number of companies that started before that, like Twitter and others, who kind of ended up having to continue to build and maintain their own clouds. And it was really brutal. And then to your point, I think the big transition was degree to which enterprises, particularly

13:17in regulated services or financial industries, kind of fought it initially. And then they started opting it. So I agree with the law here saying, I wouldn't say that it was one of those things that nobody believed in, though, you know, like actually felt there was a lot of buy-in and a lot of belief and, you know, adoption. Definitely not nobody. I think, you know, prescient people and a lot of builders really saw the value really early, particularly startups in the VC community. You know, I think Berkeley and some of the researchers there really got it early, like 2009 and earlier. You know, by 2015, I think it was already around 3 billion run rate. So it was not small. It was very far from what it is today, but it was not small.

13:51They didn't break it out yet, but it was, you know, not small at all. It was a meaningful thing. I think that people didn't recognize it would become anything like it is today. And it still wasn't clear to people what the value proposition was. You may recall that there was, you know, Dropbox, for example, famously exited the cloud and went back on-prem. And that story, they published why they did that and the economics of it. And that caught a lot of attention. And people were saying, I'm not sure if cloud actually makes sense anymore, et cetera. And I think people kind of lost track of that. Yeah, I think one of the insightful things that some of the early cloud systems companies like Databricks and Snowflake recognized was one of the value propositions of

14:25Fast is free: the elasticity AI cloud lacks

14:25the cloud that was really special. I'll actually use one of the quotes from, well, Snowflake Saunders to kind of illustrate this, was the thing, they were trying to think about what was unique about the cloud, what you could do in the cloud that you couldn't do anywhere else. And the killer idea that they converged on, fundamentally, the cloud made fast free, quote unquote, fast was free in the cloud, is how they put it explicitly. And the idea was if you have a workload that was designed to run for 10 days on 10 machines, in the cloud, you could theoretically run it on 100 machines for one day or 10,000 machines for 15 minutes. And that would cost the exact same. And so you could run it 1,000 times faster

15:01for the same cost theoretically. And it's like, well, that's kind of a big deal, right? You can run something 1,000 times faster for the same cost theoretically and it's like well that's kind of a big deal right you can run something a thousand times faster for the same cost you know and then give the compute back now what that would require though a number of things to make that actually work one being that you'd have to be able to kind of reshape a workload that was designed to run on 10 machines to run on 10,000 machines not trivial another is that you actually have to have the 10,000 machines worth of capacity in the cloud and make sure that was utilized to make the economics kind of work.

15:26You know, but yeah, if you could do those two things, it'd be a really, really big deal. That has to be free in the cloud. And so one of the key ideas was this elasticity, right? And I think that's one of the things that's really absent in AI cloud today. In AI cloud today, you're kind of forced to get really long-term reservations, often three years for a fixed amount of capacity. No one really wants 64 GPUs for three years or 1,000 GPU, often three years for a fixed amount of capacity. No one really wants 64 GPUs for three years or a thousand GPUs for three years. You want 10,000 for a couple of months, maybe nothing for a little while. Maybe you don't know how much you need because you're launching

15:56a new product and you're not sure how much demand there will be for it, how much inference capacity you'll need, et cetera. It's very, very challenging if you have to reserve the total amount that you may need up front for a long duration. I want to go back to this idea of like, it's actually hard for a lot of engineering teams, especially younger ones, to picture like a pre-cloud world because their experience with it is like, I have virtual machines on amazon they're limitless like maybe it's serverless and like if you go all the way back to what a lot was talking about you gave us a great historical view but if you look at like functionally like i had you know i had my servers in my closet on prem right and then i had co-location which is like

16:43i have my servers they're still my servers I control them and I manage them. But they physically live in somebody's data center where they're offering me like real estate, like cooling and power. Right. And then you had hosting, which is like, I'm buying a machine in a data center, like reservations for a long time, essentially, or for the life cycle of the machine. And then you had virtualization and containerization and all of these services that came out of this, like, you know, separation into cloud services where you have higher level functions with scheduling orchestration. And, you know, serverless is like, I'm just going to write like the logic, you deal with it and place that workload. And like that, you know,

17:25we haven't obviously gotten to an endpoint in non-AI computing, but I feel like the engineering world is so used to being over here, whereas the AI hardware resource world, it's like we're somewhere between colo and, you know, colo and hosting still. That's right. Yeah, and that's challenging. That means that you have to raise all the capital you may need upfront, you know, means that, you know, that's a challenging model. And perpetuity means also that, you know, you can't quite grow the product elastically as demand and interest in it grows. So you're kind of bottlenecked by the supply chains in a way that I think developers haven't experienced in quite a while. So it's a pretty challenging state, I think, for fares. And

18:05Hedging GPU capacity and the missing markets

18:05it's also a very challenging from a pretty challenging state, I think, of affairs. And it's also very challenging from a risk management perspective for these companies because they're making these big commitments that are potentially, if they don't work out, are pretty catastrophic for them on this hardware, paying all up front, paying for these long-duration contracts, et cetera. It's a pretty challenging thing. And there's no analog yet. The markets aren't mature enough that there's any analog. So what we have in other domains, like in commodities markets like wheat, oil, et cetera, where you can buy options and futures and hedge and sell back and things like that. It's kind of, we're pretty, still pretty incoherent in terms of where the

18:37market's at. And yeah, I think that's leading to a challenged state of affairs that's going to, you know, continue to bring a lot of pain for people. And so, you know, there are several things I think we've employed to do this better. Some are mixed as kind of business model innovations and technical innovations at the same time. But I think we're making a pretty substantial dent in this, but also in a way that's really viable economically for us. And does it involve buying all GPUs and taking undue risks on them per se? And so that's kind of a lot of what we've tried to do is can we do something a lot more efficient? Can we find some leverage, some points of leverage to address this problem?

19:12Foundry's parking lot analogy for spot GPUs

19:12You guys have some new releases as of, I think, a day or two ago. Can you describe what's just come out from Foundry? So I think right now, the cloud is, the AI cloud business is very much like a parking lot business. And that sounds really funny because cloud is supposed to be high tech and you can hardly conceive of a less sophisticated business, at least on the surface, than parking lots. And what do I mean by that? Well, there's fundamentally, there are two models in the parking lot business. One is pay-as-you-go. For pay-as-you-go, the race of Egerius, you know, you may or may not find a space. I'm sure many of us have the experience of driving through SF and seeing a lot full sign, you know, for lot after lot as we drive around trying to park. And if you do get a spot,

19:57you might pay, you know, the $12 an hour, you know, rate or something like that. I'm choosing that rate because it's the rate of AWS, you know, for on-demand. On the other hand, if you want to kind of guarantee that you'll have a spot and also have a better rate, you can basically buy a spot reserved. And so you can have your own reserved parking spot in your building. Maybe you pay, you know, $4 an hour. So you're getting a massive discount, but it's 3K a month effectively, right? Which is actually pretty substantial. And if you're only using it 40 hours a week when you're in the office as a typical worker, it actually might be effectively $16 an hour as opposed to 12. So it's actually worse. And so I think one kind of funny analogy

20:34for one of the things that we want to do with a couple of these products is kind of create the, enable the equivalent of allowing people to park pay as you-you-go in someone else's reserved spot. And that sounds kind of funny, but you can imagine that, okay, that'd be actually an interesting thing. And if you could do that, then depending on how much, how the percentage of the spots that are typically reserved, you might have 10x the effective capacity in a lot. You know, and then also it can kind of be a win-win. Instead of the pay-as-you-go person paying 12, you know, they can pay something much lower. In this case, I'll say seven. I'm going to actually be a lot lower. The person who owns the spot,

21:08instead of paying four, can make five equivalent. And then the lot can also make a couple of bucks. And so it was kind of a win-win-win for everyone. And you're kind of double-picking the lot and it's really, really efficient. Now, that sounds great, but it wouldn't quite work if you showed up to your reserve spot and there was someone parked there. That might be a little bit aggravating. It also might not work if you're forced to call two hours in advance and say, hey, I'm coming. And then the person who was parked in your spot had to leave their dinner reservation to move their car. That wouldn't be a fun model. And so I think one thing that we had to do was kind of create the analog of a system to make this all really convenient.

21:42And so maybe the V1 of this system was you came into the lot and a sensor was triggered saying, you know, you're here to pick up to go to your reserved spot. And then some valet ran to the car that was parked there and moved it. And they maybe moved it from the second floor to the tenth floor. And then the person who had parked there previously now comes to the counter, asks the valet where their car is, and gets some ticket saying it's on the tenth floor. But there are no stairs, so they have to walk up the stairs and get it. I'm stretching this analogy, but you get the idea. It would be kind of inconvenient, and so part of what we did was added more and more convenience features, which we broadly call spot

22:13usability, and these are a lot of things that we're continuing to add, and so the scenario that we're now at is basically you letting someone else use your spot show up, the sensor kind of knows, okay, you're here, and then the car in your spot is automatically moved via conveyor to another spot. We're managing the spaces to ensure we can move it somewhere. And then when the person comes to pick up their car, it's kind of brought to them. Now, yeah, so it's all really convenient. It's kind of seamless for everyone involved. It creates a ton more effective space, allows us to get much better economics out of the machines, and is really, really helpful for companies. That's one really powerful, I think, thing that we've done.

22:44And this is kind of offered in the context of a spot product. or economic side of the machines, and it's really, really helpful for companies. That's one really powerful, I think, thing that we've done. And this is kind of offered in the context of a spot product. I think people are somewhat familiar with spot usage in the typical cloud context. It's a lot more challenging to do with GPUs for a few different reasons, which is why there are not very many GPUs available on spot, definitely not at scale, and definitely not with interconnect. And so one of the things we want to do is enable this. And it makes a lot of other things possible that are pretty neat. And so it's a things we want to do is enable this. And it makes a lot of other things possible

23:05that are pretty neat. And so it's a mechanism we're employing in a few different ways. So that's, I think, one thing. And I'll give some more analogies to explain why that's powerful. Well, we found that companies are using this type of mechanism quite a bit for everything from training, which is classically seen as a workload that's difficult for Spot, but also especially for things like inference, batch inference especially. And that actually opens up another interesting conversation about the different classes of workloads and what each workload needs and cares about and how this might evolve over time. Actually, that ties a little bit to the compound AI systems concept. And also to the Lama 3.1 release in a funny tangential way.

23:41But yeah, that's kind of one analogy for the product that we launched on the Foundry Cloud platform around Spot. Yeah, I think that, you know, Spot usability, increasingly deep and flexible and automated is like a really powerful primitive. Changing tax a little bit to just something I think the entire industry, like the tech industry is very interested in. We did a little bit of work together a while back, just understanding like where, you know, where is the GPU capacity in the world today, right? Of all of the different types, how much is it? Or like how consolidated is it? And obviously this is near and dear to your business. Can you just describe a little bit, like where you think we are

24:22How much GPU compute exists, and Ethereum's peak

24:22and then like what caused the shortage sort of last year? One kind of funny bit of trivia that I've posed to a few people that I think, you know, reveals how off base a lot of our priors are is kind of what percentage of the world's GPU petaflop capacity or exaflop capacity is kind of owned by the major public clouds. And I've asked this to many people and I typically have gotten guesses, you know, in the high tens of percents. And the only time I got a lower guess was from Satya at Microsoft, who guessed basis points, which actually is correct. You know, it's a very small, small amount. And maybe as one anecdote to maybe illustrate how this looked at least a couple of years ago, this is an evolving thing, but how it's looked,

25:03you know, the example of GPT-3 and its training is kind of an interesting one. It's a bit dated, but I'll use it just because the numbers of the types of machines and numbers there are public, as is not the case for some of these other systems. And so GPT-3 was trained on 10,000 v100 GPUs in an interconnected cluster in Azure for about 14.6 days. To put that in perspective, it was a state-of-the-art system. It was kind of, by many estimates, eight figures for a single run at the time. So it's a pretty substantial investment by OpenAI. And that tells you that 10,000 V100s running continuously for 14.6 days is quite a bit of compute. I think one interesting kind of maybe trivia question then is how many equivalent GPUs

25:46normalized in terms of the number of flops, you know, they weren't fully interconnected, but just interesting measure anyway, were there in the Ethereum network at the peak of Ethereum? And so I kind of asked people this question, and it's fun to see people guess. Can I solicit a guess actually, Elad? Can you give me a guess there? You might know. We have this conversation, so I'm not allowed to guess what you want. Yeah. So Elad, do you know by chance? For Ethereum? Yeah, for Ethereum. And don't think too hard. Just make a guess based on priors. When? So when it first launched or? The very peak, the tippy top of Ethereum. How many V100 equivalents were there given there were 10,000 for two weeks for GPT-3?

26:23How many were there in Ethereum? Noting, by the way, that these were running 24-7 in Ethereum, so you can modulate your guess based on that. I would guess a few hundred thousand, a few million. That's an aggressive guess. Yeah, that's an aggressive guess, and you're actually very correct. It was about 10 to 20 million. Yeah. Which is quite a substantial scale. You can, by the way, subtract this really easily by looking at basically the hash power in Ethereum at the peak, which was around 900 teraflops per second, I believe, about a petahash per second, so quite a bit of peak power. And a typical V100 will give you between I believe 45 to 120 mega hashes per second if you really know what you're doing.

26:59So that's kind of one guess. There are tens of millions of GPUs. Yeah, because it's funny, I remember Bitcoin even years ago, all the CPU dedicated to it at the time was like larger than all of Google's data centers. Yeah, Bitcoin though used a lot of ASICs in particular. Ethereum actually had a higher relative ratio of GPUs. And some of the larger GPU, sorry, Ethereum mining providers like Hive, for example, had about, you know, had less than 1% of global hash power. And so you can actually start to extrapolate. They had had quite a few GPUs, like tens of thousands of GPUs. It starts to give you a number of the scale, and then a lot of other mining equipment for way less than 1% of the total hash power, about 0.1%.

27:43So quite a bit of hash power in Ethereum. And I think that's kind of one proxy, but to give you one more anecdotal on that line, equipment for way less than 1% of the total hash power, about 0.1%. So quite a bit of hash power in Ethereum. And I think that's kind of one proxy, but to give you one more anecdotal on that line, actually an iPhone 15 Pro now is actually stronger than a V100 as a funny example. It has about 35 teraflops in FB16, I believe, where a V100 is around 30. And so there's actually quite a bit of compute in the world, broadly speaking. So I guess that's the point I'm making. Now, it's not all useful. It's not all interconnected. It's not all accessible. It's not all secure. But this is one point to make, that there's a bit of compute in the world, broadly speaking. So I guess the point I'm making. Now, it's not all useful.

28:05It's not all interconnected. It's not all accessible. It's not all secure. But this is one point to make, that there's a lot of compute in the world. And even for the high-end GPUs, there's a lot more than people think. By many measures, utilization of these even H100 systems, the most valuable, the most precious, et cetera, is in many cases 20%, 25% or lower, according to some pretty high-quality data I've seen from some great sources here. Yeah, so quite low. And as I mentioned, even during these pre-training rounds, it's often 80% or lower because of the healing buffer partially. That actually ties to another product that we've launched, which is this product that we built actually largely for ourselves

28:38called Mars. It's kind of a funny name, but it's monitoring, alerting, resiliency, and security. It's basically a suite of tools that we've invested a lot of IP in to really boost and magnify the availability and uptime of GPUs for our own platform. It was actually something that we planned to make available to other people just to use in their own clusters as well. Actually, one of the reasons why we invested in Spot is because we reserve very aggressively healing buff for ourselves so that if there's GPU failure, we can automatically swap in another GPU and a user won't perceive a disruption. And so we actually maintain buffer for that reason. And so actually being able to pack that buffer with preemptible nodes

29:16is actually a really useful thing. But now we're allowing other people to do this, including third-party partners who want to, for example, make their healing buffer available to others through Foundry is really offsetting their economics and the cost of their cluster for them. So it's a really, really powerful thing. And so between Mars and Spot, you can kind of see how these things are really interconnected and in a nice way. But yeah, the number of GPUs available, there's quite a few, particularly if you look at it more broadly in terms of total AI compute capacity. The percentage that's accessible, useful, and used is a pretty de minimis fraction of the total. How did the GPU market dynamics and your prediction of them factor into

29:54Foundry's strategy going forward, right? Because there are, especially for anybody doing large scale training jobs, there is definitely a, you know, a significant effort to be at the leading edge, right? Access to B100s and beyond is at a premium and then access and, you know, the largest possible interconnected cluster with sufficient power is also a fight now. It sounds like you, you know, see the opportunity differently or you feel like there are resources that like can be used that don't require just building new data centers? I think it's a little bit of all of the above, to be clear. I think two things can be true at once, and that's definitely the case here. I think there'll be many workloads and use cases for which having state-of-the-art, extremely

30:36large interconnected clusters is a really valuable thing. You know, part of something, though, that we're noticing and also trying to promulgate further is, are basically paradigms that don't require this, though, as well. And so here's why I'd say two things can be true at once. And so I think there is a massive shortage of both power, space, and interconnect for the kind of largest of clusters. It's actually very hard to come by and to construct or to find a really large interconnected cluster. You know, it kind of starts to vanish the larger the cluster gets. Like, there are a lot more 1K clusters than 10K clusters and 20K clusters, and you can keep going. Now, I think one thing that, and it'll get harder and harder

31:14to keep the scaling going from there. You know, I think there's one question, which is, how will we continue to push the scaling laws? You know, one fact about the scaling law curves is that they're all plotted on logarithmic or house. And, you know, things get better predictably, but it requires a continued 2x-ing or 10x-ing to get that next bump in performance. But it's quite a bit harder to get the next 10x-ing. And so it starts to come kind of intractable pretty quickly. And so it's already prompted, I think, a lot of innovation. So Google, for example, has been doing a lot with training across facilities, for example, across data centers, interconnecting them for these models like Palm 2, something that previously would have seemed a bit inconceivable or things like Deepako or Deloco, these models they released that have trained across facilities. more radical thing is we're starting to see a shift towards a pretty different paradigm.

32:07Compound AI systems and smaller trained models

32:07I think myself and a number of my collaborators and Matei and others have kind of termed this compound AI systems. I think you actually see it with these most recent models like alpha geometry, alpha code, and Lama3. And so I think this actually points the way towards like what the AI infrastructure future might look like. And I think it looks a lot less like everything requiring these big clusters. And it's a little bit more interesting. And so maybe I'll use Phi 3 as an example. With Phi 3, they took a little bit of a different approach where they trained a really high, Microsoft trained a really high quality small model on high quality data. You know, and the small model did not need the kind of big interconnected

32:45cluster. You can train it on a pretty small cluster. However, it was still, you know, a non-trivial endeavor because they had to curate and get and obtain this kind of high quality data. And so one of the things I think you're seeing is for these models, like some of the, like the LAMA 3.1 8B and 70B variants, those models are really small, but they're extremely smart. They're smarter than, you know, much, much larger systems, you know, like the prior generation for OpenAI. And the way that they trained LAMA 8B and 70B looks a little bit different. So what they did was they did, they generate a ton of synthetic data. It seems with LAMA 3.1, 4.5B. And they distilled that larger model into the 70B and 8B variant.

33:26And so they got a very, very high quality small variant. Another example is with AlphaCode2 was able to achieve extremely high code proficiency and win competitions with really, really small language models. But what they did was they called the model a million times for every question. That's an embarrassingly parallelizable workload. You can scale it horizontally infinitely. They called it a million times per query and then had a nice kind of pretty elegant regime to filter down to the top 10 responses, which they then tried one by one. And so this is basically what they did. They generated a million candidate responses and basically filtered down to the best one as a way to solve coding,

34:05so to speak. So that's pretty interesting. And you're seeing that type of regime a bit more and more. You know, same with alpha geometry. Really, a powerful system was just announced recently, you know, won the silver medal level in the IMO, and broadly, not just geometry, for a broader class of problems. And, you know, these are kind of compound systems with major kind of synthetic data generation pieces. And so I think you're seeing people kind of move computation around, interpolate between training and inference, for example, to make the best use of the info they have. And this is actually a kind of a funny, I think, reframing of the scaling laws that we hold near and dear as an ecosystem.

34:39I think that, you know, the chinchilla paper scaling laws that DeepMind uncovered have fueled a lot of the scaling effort. But actually one kind of funny way of looking at those results is they show that if you want to make a monolithic model as smart as possible, there is an ideal way to distribute parameters, compute, and basically train iterations. One of the funny things I think some people have done, like Mistral, is actually choose to maybe inefficiently train a small model to be smarter than it should be, wasting money. But then that small model is actually really cheap to inference because it's small and it's way smarter than it should be for its size. And so I think people are getting more sophisticated at thinking about cost in a

35:22more of a lifecycle way. And that's actually leading to the workload shifting from large pre-training more and more towards things like batch inference, which is actually a really, really horizontally scalable workflow that you can parallelize. You don't need interconnection the same way. You don't even need to save their systems in the same way. And I think you're seeing that type of workload maybe grow in prominence. And so just to give one, just to unpack one more statement on that, one thing you can do that people are doing sometimes is you unroll the current state of the art model many, many times, basically doing chain of thought on the current state of the art model. And then you take what required six steps with the previous state of the art,

36:00and that becomes your training data for the next state of the art. Right? That type of approach to generating data, and then filtering that down to high-quality examples and then training models on it looks very different than just throwing more poor-quality data into a massive supercomputer to get the next generation. Yeah, it seems like that bootstrap up is really sort of under-discussed relative to as you hit a certain threshold of model, the rate at which you can increase for the next model just kind of accelerates. One other thing that'd be great to cover, I know we only have a couple of minutes left of your time, is the recent paper that you authored, which I thought was super interesting around compound AI system design and sort of

36:41related topics to that. So would you mind telling us a little bit about that paper and sort of what you all showed? So I think it's kind of in this regime that we're just talking about, where more and more often to go beyond the capabilities on Frontier accessible to today's state-of-the-art models and kind of get GPT-5 or GPT-6 early, practitioners are starting to do these things, oftentimes implicitly, where they'll call the current state-of-the-art model many, many times. There may be scenarios where maybe you're willing to expend a bit of a higher budget. Maybe it's code or something. And if I said that I can give you a 10% better model for code, many developers might pay 10x for that, access to that.

37:19Instead of $20 a month, they might be very willing to pay $200 a month, right, for obvious reasons. And so there's a question of what do you do in that setting? And so people are, you know, if you're willing to call the model many times, you can compose those many calls into almost a network of network calls, right? And, you know, I guess one of the questions is how then should you compose these networks of networks? What principles should guide their architecture? We kind of know how to construct neural networks, but we haven't yet elucidated the principles for how to construct networks of networks, so to speak. These compound AI systems, so to speak, where you have many, many calls, maybe external components. And so one principle

37:52Verifiable problems and bootstrapped performance

37:52that we started to explore was maybe one thing you can probe to figure out how to compose these calls or whether composing many calls will help you is you can look at how verifiable the problem is. And if it's verifiable, you can actually bootstrap your way to really high performance. So what does this mean? Well, verifiable means that it's kind of easier to check an answer than it is to generate an answer. And there are a lot of cases where this is true. Most software engineering computing tasks kind of classically have this property. You know, we looked at things like time factorization or a lot of math tasks. Classically, it can take someone years of suffering to write a proof, and you can read the proof in a couple of hours.

38:28I think we've all had that experience with some training. So there are many examples like this. And so one thing you can do is you can have models, you can embarrassingly parallel, you can horizontally scale out and generate many, many candidate responses, and then relatively cheaply check those candidate responses and kind of do a best of K type of approach. And it turns out the judge model or the verifier choosing the best candidate response might actually have a lot higher accuracy at selecting the best candidate response from the set. It's easy to kind of repeat this as a procedure to actually bootstrap your way to really with a high performance in many cases. And so, you know, we did kind of some preliminary investigations here and we were able to,

39:09in one case of prime factorization, you know, kind of 10x the performance, go from 3.7% to 36.6% on prime factorization, which is pretty hard, kind of factor, you know, taking a number that's a composite of two primes, two three-digit primes and factorizing it, factoring it into the constituent primes. It's kind of a classic problem that pops up a lot in cryptography. And then also we looked at subjects in the MMLU and found that for kind of the subjects you would expect, math, physics, electrical engineering, this type of approach was really helpful. Now we use language models. It doesn't have to be a language model. It could be a simulator. These could be unit tests as your verifier, et cetera. But we think this type of approach

39:47kind of points towards maybe a very different paradigm for getting better performance than just kind of scaling the models and doing a whole new pre-training from scratch. The MMLU performance bump was about 3%. And to put that in perspective, the gap between some of the previous best models is often less than 1% between, for example, Gemini 1.5 and Lama 3.1 and things like that. So actually 2.8% or 3% is actually a pretty major gap on MMLU. So pretty intriguing. And yeah, I think a lot of practitioners are hopefully going to explore this setting a lot more. It's a super cool paper. Do you have any creative ideas about how you could apply some of the ideas here to improve performance on more open-ended tasks?

40:27Open-ended tasks and networks of model calls

40:27In many ways, we're not originating these. I think some of these are baked largely into systems like alpha code, alpha geometry already. You know, I was pretty inspired to see the alpha geometry results recently as well. Yeah, I think that what we'll see people doing is kind of composing, this sounds funny, but massive networks where maybe each stage in the network will basically be maybe some best of K component with many, many calls to different language models, you know, Claude, Gemini, GPT-4, each with their own, you know, spikes in terms of capabilities. And you'll kind of throw multiple of them at questions in many cases and then kind of choose the best response. You might also ensemble that with other components like classical heuristic-based systems and simulators, etc.

41:17And kind of compose large networks that may make millions of calls to answer a question. And I think that type of approach, it sounds kind of farcical right now, but I think it'll seem common sense pretty soon. We think it's a fairly interesting approach. We've seen a lot of interesting evidence that we'll speak more about pretty soon for things like code generation and agentic tasks in the code regime, for things like design, chip design, for things like actual neural network design or network of network design, even, funny enough, in recursive ways. So it's actually a really good, it turns out a lot of these problems that we care about have that property that was verifiable, and you can compose these systems and bootstrap your way

41:52to much higher performance than people might have imagined. So it seems pretty applicable downstream, but there's a lot of open questions, a lot of work to do further, and I think part of our hope is that the community will explore this more, and that these types of workloads that are a bit more paralyzable will become more and more common. There'll be a lot more batch inference, a lot more synthetic data generation. And you won't necessarily need the big interconnected cluster that maybe only open AI can afford to do kind of cutting edge work in the future. Yeah, really cool set of ideas. And overall, a great conversation. Thanks so much for doing this, Jared. No, thank you, Sarah. And thank you a lot.

42:23Great to see you. Yeah, great to see you too. Find us on Twitter at NoPriorsPod. Subscribe to our YouTube channel if you want to see our faces. Follow the show on Apple Podcasts, Spotify, or wherever you listen. That way you get a new episode every week. And sign up for emails or find transcripts for every episode at no-priors.com.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸More from No Priors: Artificial Intelligence | Technology | Startups

No Priors: Artificial Intelligence | Technology | Startups cover art
Cloud Strategy in the AI Era with Matt Garman, CEO of AWS2024-08-29 · 42 min
No Priors: Artificial Intelligence | Technology | Startups cover art
How AI can help build smarter systems for every team with Eric Glyman and Karim Atiyeh of Ramp2024-08-15 · 48 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Building toward a bright post-AGI future with Eric Steinberger from Magic.dev2024-08-30 · 37 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Innovating Spend Management through AI with Pedro Franceschi from Brex2024-08-08 · 33 min
No Priors: Artificial Intelligence | Technology | Startups cover art
The Road to Autonomous Intelligence with Andrej Karpathy2024-09-05 · 44 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Google DeepMind's Vision for AI, Search and Gemini with Oriol Vinyals from Google DeepMind2024-08-01 · 46 min
New No Priors: Artificial Intelligence | Technology | Startups transcripts by email
One email per new episode, unsubscribe in every message. Not shared with the publisher.