In short
Latent Space Podcast Episode Summary
Episode Title
NVIDIA's AI Engineers
Agent Inference at Planetary Scale and "Speed of Light"
Episode Description In this episode, Nader Khalil and Kyle Kranen from NVIDIA discuss the advancements in AI engineering, focusing on tools like NVIDIA Brev and Dynamo, and delve into the implications of agent inference at a planetary scale. They also share experiences from their time in the industry and discuss the upcoming NVIDIA GTC event.
Key Participants
- Nader Khalil: Open source agent marketing, Brev, developer tools at NVIDIA.
- Kyle Kranen: Engineering leader and architect of NVIDIA Dynamo.
- Vibhu: Guest host.
- Swyx (Host): Episode facilitator.
Episode Highlights
- The Context of AI Engineering
- NVIDIA's Growth: NVIDIA has become a significant player in AI, evolving from a hardware company to a pivotal engineering entity in AI development.
- NVIDIA GTC: The episode is recorded in anticipation of the NVIDIA GTC, showcasing the excitement surrounding new AI technologies.
- Introduction of Brev
- Developer Tool: Brev simplifies GPU access for developers, allowing for quick provisioning and deployment of GPUs without complex forms.
- User-Centric Design: Emphasizes user experience by making the most requested GPU types readily accessible.
- Insights into Dynamo
- Inference Engine: Dynamo optimizes data center-scale inference by managing resources efficiently between prefill and decode phases.
- Scaling Techniques: Discussion on the limitations of scaling up vs. scaling out for inference, emphasizing the importance of disaggregation for efficiency.
- Jensen's "Speed of Light" (SOL)
- Concept Explanation: SOL represents the urgency and practical limits of delivering AI capabilities. It encourages teams to understand the fundamental limits of performance before layering complexity on top.
- Creating Urgency: A cultural initiative within NVIDIA to ensure timely project delivery while maintaining clarity in expectations.
- Agent Inference and Security
- Capabilities of Agents:
- Access to files
- Internet connectivity
- Ability to write and execute custom code
- Security Considerations: Emphasizes the importance of limiting an agent's capabilities to mitigate vulnerabilities.
- Future of AI and Agents
- Long-Running Agents: Exploration of the potential for agents to run longer tasks with greater efficiency, especially in specialized domains like medical applications.
- Multi-Agent Systems: Discussion on the future of agents as systems that can utilize multiple models and techniques to perform complex tasks effectively.
- Community and Collaboration
- Hackathons and Developer Engagement: The importance of hackathons in fostering innovation and collaboration within the developer community.
- Experiences at NVIDIA: Personal anecdotes reflecting the supportive culture within NVIDIA and its encouragement for experimentation and creativity among employees.
- Conclusion
- The episode reflects on the rapid advancements in AI and the implications for developers, emphasizing the need for efficient tools and collaborative environments to fully leverage the potential of AI technologies.
Key Takeaways
- NVIDIA's Role: NVIDIA is at the forefront of AI engineering, focusing on developer experience and community-building.
- Innovation through Collaboration: Hackathons and engaging products like Brev and Dynamo are essential for driving innovation in AI.
- Security and Ethics: As AI capabilities expand, maintaining robust security measures is crucial to prevent vulnerabilities associated with agent capabilities.
- Future Trends: Expect further developments in agent inference, multi-agent systems, and the growing importance of user experience in AI tools.
---
For more insights and full show notes, visit [Latent Space](https://latent.space).
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Chapters
Tap a time to open that second in VOUnderstanding Agent Capabilities
0:00 to 0:30
Learn about the three main functions of AI agents and their implications.
“They can access your files, they can access the internet, and then now they can write custom code and execute it.”
Creative Marketing at GTC
1:24 to 2:21
Explore memorable marketing strategies used by Brev at GTC.
“One of my favorite memories for Nader, like you always do like marketing stunts.”
The Surfboard Acquisition Story
2:21 to 3:35
Hear the story behind Brev's marketing stunts and their unique branding.
“Because we so we signed up really last minute.”
Brev's Developer Tool Explained
3:35 to 4:58
Discover how Brev simplifies GPU access for developers.
“So we connect a bunch of different GPU sources.”
NVIDIA's Acquisition Experience
4:58 to 7:35
Insights into what it's like to be acquired by NVIDIA and its benefits.
“Speaking of marketing stunts though, he actually used those SVGs or kind of use those SVGs to make these cards.”
Evolving Developer Experience at NVIDIA
7:35 to 14:01
Understand the changing landscape of developer experience in AI.
“I think, you know, the thing that was the most exciting for us was our goal was just to make it easier for developers.”
Understanding the Speed of Light (SOL) Concept
14:01 to 14:57
Learn how the SOL concept helps in organizational urgency and problem-solving.
“You know, in your startup, everything's existential, right?”
Breaking Down the SOL Framework
14:58 to 18:06
Discover how to practically apply the SOL framework to project management.
“There's an infinite - Great impelling events, right?”
Dynamo and Data Science Evolution
18:07 to 22:28
Explore the evolution of data science roles and applications at NVIDIA.
“But there's the SOL to get you to the starting line.”
The Role of Passion in Innovation at NVIDIA
22:29 to 26:10
Understand how passion drives innovation and project selection at NVIDIA.
“So there's like two things I think that Envita does, which are quite interesting.”
Show all 39 chapters
Introduction to Dynamo: Data Center Scale Inference
26:11 to 28:00
Learn about Dynamo and its role in enhancing inference scalability and performance.
“I'm like, Oh, my God, I've supplanted what I was working on.”
Introduction to Dynamo's Inference Engine
28:00 to 28:46
Learn about Dynamo, a data center scale inference engine designed for efficiency.
“So Dynamo is this data center scale inference engine that sits on top of the frameworks like VLM, SGLing, and TensorGLM and just makes things go faster because you can leverage the economy of scale.”
Understanding Scaling: Scale Up vs Scale Out
28:46 to 29:23
Discover the differences between scaling up and scaling out in machine learning.
“By the way, Kyle and I became friends on my first day to NVIDIA, and I always love because he always teaches me new things.”
Hardware Constraints in Model Scaling
29:23 to 30:28
Explore the hardware constraints affecting model scaling and communication speeds.
“you know, there are sort of hardware bounds and algorithmic bounds on that type of scaling.”
Challenges in Multi-GPU and Multi-Node Deployments
30:28 to 33:19
Identify the challenges companies face when deploying large AI models on multiple GPUs.
“You can have multiple H100 nodes, but you know, is that like, how do you do that efficiently?”
Navigating Model Quality, Cost, and Performance
33:19 to 34:29
Understand the three key axes affecting AI model deployment: quality, cost, and latency.
“Can you serve the model or serve your workflow?”
The Importance of Experimentation in AI Inference
34:29 to 35:56
Learn about the necessity of experimentation in optimizing AI inference workflows.
“Yes, it's like a multi-step design process.”
Insights into Recent Developments in Inference Techniques
35:56 to 37:59
Gain insights into recent advancements in model inference and training techniques.
“There's like a big inference reading group.”
Dynamo's Role in Inference Optimization
37:59 to 38:41
Explore how Dynamo helps optimize inference through its unique features.
“What I'd love is you mentioned the three axes, like break it down of like, you know, what's pre-fill decode and like, what are the optimizations that we can get with Dynamo?”
Decoupling Pre-fill and Decode for Efficiency
38:41 to 42:00
Learn how separating pre-fill from decode can improve inference efficiency.
“And one thing that we use a lot in contemporary inference and is starting to pick up from, in general knowledge, is this concept of disaggregation.”
Scaling Challenges in Prefill and Decode
42:00 to 43:00
Explore the complexities of scaling in AI systems, particularly in prefill and decode processes.
“Let's say you start getting insanely long queries.”
Hybrid Architectures and Attention Mechanisms
43:00 to 44:30
Discuss the implications of hybrid architectures and attention models on context lengths in AI.
“I feel a little embarrassed for being proud of my SVG function earlier.”
The Evolution of AI Model Design Choices
44:30 to 47:00
Delve into the design choices behind AI models like Kimmy and their impact on performance.
“And I believe a slightly smaller attention dimension, but I need to check that.”
Scaling Laws and Future Predictions
47:00 to 49:50
Examine the challenges of scaling AI systems and the potential breakthroughs needed for future advancements.
“I mean, or just like a easy proof, right?”
Unhovlers: Drivers of AI Progress
49:50 to 51:40
Understand the concept of unhovlers and their role in driving significant advancements in AI.
“Like a good example of this might be that like we see like a lot of models that are, and this is probably a very tiny on Hobbler, but is important for the performance perspective.”
Innovative Approaches to Prefill and Decode
51:40 to 54:10
Explore innovative strategies for prefill and decode processes in AI models.
“But I would be really excited to see a model that does prefill and decode differently.”
The Impact of Agents in AI Deployment
55:10 to 56:00
Discuss the significance of AI agents in modern deployments and their structured approach.
“on how we accelerate agents and where we see specific optimizations for agents going in Dynamo and in inference in general.”
The Impact of Codex on Work Efficiency
56:00 to 57:10
Discover how Codex is transforming email management and communication at NVIDIA.
“And if it's making people's lives easier, it'll spread like wildfire.”
Security Considerations for AI Agents
57:10 to 58:40
Learn about the security measures involved when using AI agents for sensitive tasks.
“Yeah, my escalator is highest on FaceTime.”
Building and Hosting AI Models
58:40 to 1:00:00
Explore the process of deploying various AI models within NVIDIA's ecosystem.
“And is there any directive of like, hey, we have a company account or company agreement with OpenAI, we use OpenAI models here, or like choose whatever?”
Evolving AI Tools and Hackathons
1:00:00 to 1:02:00
Understand how hackathons are driving innovation in AI tools at NVIDIA.
“It was originally called NVIDIA AI Playground.”
The Future of Autonomous Driving Models
1:02:00 to 1:04:00
Discuss the potential of open-sourcing autonomous driving technologies.
“Will you open source an autonomous driving model?”
The Role of Command Line Interfaces
1:04:00 to 1:06:10
Delve into the importance of command line interfaces in modern development.
“I left it outside the hacker house when we moved out.”
Agent Access and Compute Resources
1:06:10 to 1:10:01
Examine how AI agents leverage compute resources for enhanced performance.
“Alec is redoing the entire Brev CLI so that you can fetch all the different compute types that are available.”
The Challenges of Agent Management
1:10:01 to 1:11:12
Explore the complexities of managing AI agents and resource allocation.
“But I think the best part is only the agent can book me, you know?”
Wide Parallelism and Model Optimization
1:11:55 to 1:13:26
Discuss the importance of wide parallelism in AI model inference.
Sub-agents and Command Structures
1:13:27 to 1:14:27
Investigate the concept of sub-agents and their command hierarchy.
“is also the year at the sub-agent where you have the main agent, but then that also kicks off tools which are in themselves agents that have limited ages.”
The Future of Long-Running AI Agents
1:14:28 to 1:17:19
Speculate on the operational duration and capabilities of AI agents.
“It's use the best of everything that's available to you.”
Insights from the San Francisco AI Community
1:17:20 to 1:20:53
Gain insights into the vibrant San Francisco AI community and collaboration.
“So like, I think it will be somewhat domain-specific because you also really need to train that in, right?”
Transcript
Automatic transcript. May contain errors.0:00Nader Khalil:Agents can do three things. They can access your files, they can access the internet, and then now they can write custom code and execute it. You really only let an agent do two of those three things. If you can access your files and you can write custom code, you don't want internet access because that's one is safe vulnerability, right? If you have access to internet and your file system, you should know the full scope of what that agent's capable of doing. Otherwise, now we're thinking to inject it or something that can happen. And so that's a lot of what we've been thinking about is like, you know, how do we both enable this because it's clearly the future, but then And also, you know, what are these enforcement points that we can start to like protect?
0:38All right.
0:39Nader Khalil:Welcome to the Lean Space podcast in the Chrome Studio. Welcome to all the guests here. We're back with our guest host, Vibu. Welcome. Good to have you back. And our friends, Netter and Kyle from NVIDIA. Welcome.
0:50Kyle Kranen:Yeah, thanks for having us.
0:51Nader Khalil:Yeah, thank you. Actually, I don't even know your titles. I know you're like architect something of Dynamo.
0:57Kyle Kranen:Yeah, I'm one of the engineering leaders and architects of Dynamo.
1:01Nader Khalil:And you're director of something in developers. You're the developers, developers, developers guy at NVIDIA. Open source, agent marketing, brev, and dev tools and stuff. Yeah. And we're recording this ahead of NVIDIA GTC, which is coming to town again. Taking over town, which we'll all be at. And we'll talk a little bit about your sessions and stuff. Yeah, we're super excited for it. One of my favorite memories for Nader, like you always do like marketing stunts. And like while you were Brev, you like had this surfboard that you like went down to GTC with. And like NVIDIA apparently liked it so much that they bought you.
1:39Nader Khalil:What was that like? Yeah, yeah. Our logo was a shocker. We were always just kind of like trying to keep true to who we were. I think, you know, so much of startups, you're like trying to pretend that you're a bigger, more mature company than you are. and it was actually evan conrad sf compute who was just like you guys are just guest yeah oh really amazing yeah he was just like guys you're two dudes in the room why are you pretending that you're not uh and so then we were like okay let's make the logo a shaka we brought surfboards to our booth to gtc and the energy was great um some palm trees too they actually poked out over like
2:11Kyle Kranen:the the walls so you could you could see the bread booth and no one else just from very far away oh so you remember it back yeah i remember it pre-acquisition i was like oh those guys are
2:20Nader Khalil:cool. Dude, that makes sense. Because we so we signed up really last minute. And so we had the last booth, it was all the way in the corner. And so I was I was worried that no one was going to come. So that's why we had like the palm trees, we really came in with the surfboards. We even had one of our investors bring her dog. And then she was just like walking the dog around to try to like bring energy towards our booth. Yeah, Steph. Yeah, yeah, she's the best. You know, as a conference organizer, I love that, right? Like, it's like everyone who sponsors a conference comes does their booth they're like we are changing the future of ai or something some generic bullshit and like no like actually try to stand out make it fun right and people still remember it after three years yeah yeah yeah you know what's so funny i'll give you this clip if you want to if you want to add it in but uh my wife was at the time fiance she was in medical school and she came to help us because it was like a big moment for us and so we we bought this cricket it's like a vine like a vinyl uh printer because like how else are we going to label the surfboard so we got a surfboard luckily was able to purchase that on the company card we got a cricket and it was just like fine-tuning for enterprises or something like that that we put on the on the surfboard and it's 1 a.m the day before we go to gtc she's helping me put these like vinyl stickers on and she goes you son of she's like if you pull this off you son of a bitch and so uh right pretty much after the acquisition i stitched that within the news of the acquisition i sent it to our family group chat oh yeah no well she made a good choice there was that like basically the origin story for launchables is that we and maybe we should explain what brevet is yeah uh i mean brevet is a developer tool that makes it really easy to get a GPU.
3:48Nader Khalil:So we connect a bunch of different GPU sources. So the basics of it is like, how quickly can we SSH you into a GPU? And whenever we would talk to users, they wanted a GPU, they wanted an A100. And if you go to like any cloud provisioning page, usually it's like three pages of forms or in the form somewhere, there's a dropdown. And in the dropdown, there's some weird code that you know to translate to an A100. And I remember just thinking like, every time someone says they want an A100, like the piece of text that they're telling me that they want is like stuffed away in the corner and so we're like what if the biggest piece of text was what the user is asking for and so when you go to brev it's just big gpu chips with the type with beautiful animations that you worked on pre like pre you can be like now you can just prompt it but back in the day handcrafted artisanal code i was actually really proud of that because uh it was an i made it in figma yeah and then i found i was like really struggling to figure out how to turn it from like figma to react so what it actually is is just an svg and i have all the styles.
4:42Nader Khalil:And so when you change the chip, whether it's like active or not, it changes the SVG code. And that somehow like rendered, like looks like it's animating, but it would, we just have the transition slow, but it's just like the JavaScript function to change the like underlying SVG. And that was how I ended up like figuring out how to move it from, from Figma. But yeah, that's art artisan.
5:00Kyle Kranen:Speaking of marketing stunts though, he actually used those SVGs or kind of use those SVGs to make these cards. Oh, yeah. Like a GPU gift card. Yes. He handed out everywhere. That was actually my first impression of that. Yeah. Yeah.
5:15Nader Khalil:I think I still have one of them.
5:16Kyle Kranen:They look great. Yeah.
5:17Nader Khalil:I have a ton of them still actually in our garage, but just they don't have labels. We should honestly like bring them back. But I found this old printing press here actually just around the corner on Venice. And it's a third generation San Francisco shop. And so I come in an excited startup founder trying to like and they just have this crazy old machinery. And I'm in awe because the whole building is so physical. Like you're seeing these machines, they have like pedals to like move these saws and whatever. I don't know what this machinery is. But I saw all three generations, like there's like the grandpa, the father and the son, and the son was like around my age.
5:48Nader Khalil:It's like a holy, holy trinity. Yeah. So I just took the same SVG and we just like printed it and it's foil printing. So they make a mold that's like an inverse of like the A100. And then they put the foil on it and then they press it into the paper. And I remember once we got them, he was like, hey, don't forget about us. You know, I guess like early Apple and Cisco's first business cards were all made there. And so he was like, yeah, we get like the startup businesses, but then as they mature, they kind of go somewhere else. And so I actually, I think we were talking with marketing about like using them.
6:16Nader Khalil:We should go back and make some cards. Yeah, yeah, yeah. Yeah, you know, I remember, you know, as a very, very small Brev investor, I was like, why are we spending time like doing these like stunts for GPUs? Like, you know, I think like as a, you know, typical like cloud hardware person, you go into an AWS, you pick like T5, XXL or whatever and just like from a list and you look at the specs like why animate this GP and and I do think like it just shows the level of care that goes throughout Rev and yeah and now and also Dynamo and NVIDIA I think that's what the the thing that struck me most when we first came in was like the amount of passion that everyone has like I think um you know you talk to you talk to Kyle you talk to like every VP that I've met at NVIDIA goes so close to the metal like I remember it was almost a year ago and like my VP asked me he's like hey what's cursor and like are you using it and if so why i'm just like surprised at this and he downloaded cursor and he was asking me to help him like use it and i thought that was or like just show him what you know why we were using it and so the amount of care that i think everyone has and the passion and appreciation for the moment right this is a very unique time so it's really cool to see everyone really like uh appreciate that yeah one thing i wanted to do before we move over to sort of like research topics and the stuff that kyle's working on is just tell the story of the acquisition right like not many people have been through an acquisition with NVIDIA.
7:31Nader Khalil:What's it like? Yeah, just anything you'd like to say. It's a crazy experience. I think, you know, the thing that was the most exciting for us was our goal was just to make it easier for developers. We wanted to find access to GPUs, make it easier to do that. And then all, oh, actually your question about launchables. So launchables was just make one click deploys for any software on top of the GPU. And so what we really liked about NVIDIA was that it felt like we just got a lot more resources to do all of that. I think, you know, NVIDIA's goal is to make things as easy for developers as possible.
8:02Nader Khalil:So there was a really nice like synergy there. I think that, you know, when it comes to like an acquisition, I think the amount that the soul of the products align, I think is going to be, is going to speak to the success of the acquisition. Yeah. So in many ways feels like we're home. This is a really great outcome for us. Like we, you know, I love brev.nvidia.com. Like you should, you should use it. It's a front page for GPUs. Yeah. If you want GPUs, you go there and go. I guess like internally is growing very quickly. I don't remember. You said some stats there. Yeah, yeah, yeah. I wish I had the exact numbers, but like internally, externally, it's been growing really quickly.
8:33Nader Khalil:We've been working with a bunch of partners with a bunch of different customers and ISVs. If you have a solution that you want someone that runs on a GPU and you want people to use it quickly, we can bundle it up in a launchable and make it a one-click run. If you're doing things and you want just like a sandbox or something to run on, right? Like OpenClaw, huge moment, super exciting. And we'll talk into it more, but internally, people want to run this. And we know we have to be really careful from the security implications. Do we let this run on the corporate network? Security's guidance was, hey, run this on Brev.
9:00Nader Khalil:It's in, you know, it's a VM. It's sitting in the cloud. It's off the corporate network. It's isolated. And so that's been our stance internally and externally about how to even run something like OpenClaw while we figure out how to run these things securely. But yeah. I think there's also like you almost like we're the right team at the right time when And NVIDIA is starting to invest a lot more in developer experience or whatever you call it. UX or I don't know what you call it. Like software. Like obviously NVIDIA is always invested in software, but like this is like a different audience. It's a wider developer base.
9:33Nader Khalil:Yeah. Right. Yeah. You know, it's funny. It's like it's not. So what is it called internally? What is this that people should be aware that it's going on there? Like developer experience? Yeah. Is it called just developer experience? Or is there like a broader strategy here? NVIDIA always wants to make a good developer experience. The thing is, a lot of the technology is just really complicated. Like it's not, it's, you know, I think the thing that's been really growing or AI is growing is having a huge moment. Not because like, let's say data scientists in 2018 were quiet then and are much louder now.
10:04Nader Khalil:The pie is, right? There's a whole bunch of new audiences. My mom's wondering what she's doing. My sister's learned, like taught herself how to code. Like the, you know, I actually think just generally AI is a big equalizer and you're seeing a more like technologically literate society, I guess. Like everyone's, everyone's learning how to code. There isn't really an excuse for that. And so building a good UX means that you really understand who your end user is. And when your end user becomes such a wide variety of people, then you have to almost like reinvent the practice, right?
10:30Kyle Kranen:You have to actually build more developer UX, right? Because there are tiers of developer base that were added, you know, the hackers that are building on top of OpenClaw, right? For example, have never used GPU. They don't know what CUDA is. They just want to run something. You need new UX that is not just, hey, how do you program something in CUDA and run it? And then we built, like when deep learning was getting big, we built Torch. But recently, the amount of layers that are added to that developer stack has just exploded because AI has become ubiquitous. Everyone's using it in different ways.
11:05Nader Khalil:Yeah, it's moving fast in every direction, vertical, horizontal. You guys, you even take it down to hardware, like the DGX Spark. It's basically the same system as just throwing it up on big GPU clusters. Yeah, it's a Grace Blackwell. Yeah, we saw the preview at the last year's GCC, and that was one of the better performing videos of our NVIDIA coverage so far. Awesome. This will beat it. That was actually fun. Fingers crossed. Yeah, even when DGX Spark was first coming out, getting to be involved in that from the beginning of the developer experience, and it just comes back to like... You were involved?
11:37Nader Khalil:Yeah. Very directly. Same more, same more. Yeah, I mean, it was just like I got an email, we just got thrown into the loop, And suddenly, yeah, it was actually really funny because I'm still pretty fresh from the acquisition. And I'm getting an email from a bunch of the engineering VPs about like the new hardware GPU chip, or not chip, but just GPU system that we're putting out. And I'm like, okay, cool. Natter is now involved with this for the UX. I'm like, what am I going to do here? So I remember the first meeting, I was just like kind of quiet as I was hearing engineering VPs talk about what this box could be, what it could do, how we should use it.
12:07Nader Khalil:And I remember one of the first ideas that people were IDing was like, oh, the first thing that it was like, I think a quote was like, the first thing someone's going to want to do with this is get two of them and run a Kubernetes cluster on top of them. And I was like, oh, I think I know why I'm here. I was like, the first thing we're doing is easy SSH into the machine. And then, and, you know, just kind of like scoping it down of like, once you can do that, everything, like the person who wants to run a Kubernetes cluster on two Sparks has a higher propensity for pain than, you know, someone who buys it and wants to run open claw right now.
12:37Nader Khalil:Right. If you can make sure that that's as effortless as possible, then the rest becomes easy. So there's a tool called NVIDIA Sync. It just makes the SSH connection really simple. So if you think about it, if you have a Mac or a PC or whatever, if you have a laptop and you buy this GPU and you want to use it, you should be able to use it like it's a GPU in the cloud, right? But there's all this friction of how do you actually get into that. That's part of Brev's value proposition is just there's a CLI that wraps SSH and makes it simple. And so our goal is just get you into that machine really easily.
13:06Nader Khalil:And one thing we just launched at CES, it's still in early access. We're ironing out some kinks, but it should be ready by GTC. You can register your Spark on Brev. And so now if you... Like remote managed local hardware. Single pane of glass. Yeah. Because Brev can already manage other clouds anyway, right? And you use the Spark on Brev as well, right? Yeah, exactly. So you set it up at home. You can run the command on it and then it gets... It's essentially it'll appear in your Brev account. And then you can take your laptop to a Starbucks or to a cafe and you can continue to use your Spark just like any other cloud node on Brev.
13:40Nader Khalil:It's just like a pre-provisioned data center in your home. Yeah, exactly. Tiny little data center. One more thing before we move on to Kyle. I just have so many Jensen stories and I just love mining Jensen stories. My favorite so far is SOL. What is SOL? SOL is actually, I think, of all the lessons I've learned, that one's definitely my favorite. It'll always stick with you. Yeah. Yeah. Yeah. You know, in your startup, everything's existential, right? Like we've we've run out of money. We were like on the risk of losing payroll. We've had to contract our team because we ran out of money. And so like, because of that, you're really always forcing yourself to like, understand the root cause of everything.
14:20Nader Khalil:If you get a date, if you get a timeline, you know exactly why that date or timeline is there. You're pushing every boundary. And like, you're not just say you're not just accepting like a no, just because. And so as you start to introduce more layers, as you start to become a much larger organization, SOL is essentially like, what is the physics, right? The speed of light moves at a certain speed. So if light's moving slower, then you know something's in the way. So before trying to like layer reality back in of like, why can't this be delivered at some date? Let's just understand the physics.
14:48Nader Khalil:What is the theoretical limit to like how fast this can go? And then start to tell me why. Because otherwise people will start telling you why something can't be done. But actually I think any great leader's goal is just to create urgency. There's an infinite - Great impelling events, right?
15:01Kyle Kranen:Yeah, yeah. Yeah, SOL is a term that NVIDIA is used to instigate a compelling event. You say, this is done. How do we get there? What is the minimum, as much as necessary, as little as possible thing that it takes for us to get exactly here? And it helps you just break through a bunch of noise.
15:19Nader Khalil:Yeah. One thing I'm unclear about is, can only Jensen use the SOL card? Oh, no, no, no. Get the bullshit out. Because obviously it's Jensen. But can someone else be like, no? Frontline engineers use it. Okay. I think it's not so much about like get the bullshit out. It's like give me the root understanding, right? Like if you tell me something takes three weeks. First principles. Yeah, the first principles. It's like what's the – like why is it three weeks? What is the actual – yeah, what's the actual limit of why this is going to take three weeks? If you're going to – if let's say you wanted to buy a new computer and someone told you it's going to be here in five days, what's the SOL?
15:50Nader Khalil:Well, like the SOL is like I could walk into a Best Buy and pick it up for you, right? So then anything that's like beyond that is – and is that practical? Is that how we're going to, you know, let's say give everyone in the company a laptop? up like obviously not so then like that's the sol and then it's like okay well if we have to get more than 10 suddenly there might be some right and so now we can kind of piece the reality back so so this is the paul graham do things that don't scale yeah and this is also the what people would now call be high agency yeah yeah it's actually really interesting because there's a there's a
16:18Kyle Kranen:second hardware angle to sol that like doesn't come up for all the org so sol is used like
16:23Nader Khalil:culturally at a media for everything i'm also reminding for like i think that can be annoying sometimes when like someone keeps going so as i saw you and you're like guys like we have to be stable we have to we have to fucking plan like it's interesting balance yeah i encountered that with like actually just with alec right because we have a new conference so we need to launch we have we have goals of what we want to launch but uh by the conference and like yeah at the end of the day is this gtc um well this is like so we i mean we did it for ccs we did it for gtc dc before that we're doing it for gtc san jose so i mean like every you know we have a new moment and we want to launch something and we want to do so at SOL.
16:56Nader Khalil:And that does mean that some, there's some level of prioritization that needs to happen. And so it is difficult, right? I think you have to be careful with what you're pushing, you know, stability is important and that should be factored into SOL. SOL isn't just like build everything and let it break, you know, that's part of the conversation. So as you're laying, layering in all the details, one of them might be, hey, we could build this, but then it's not going to be stable for X, Y, Z reasons. And so that was like one of our conversations for CES was, you know, hey, like we can get this into early access, registering your Spark with Brev, but there are a lot of things that we need to do in order to feel really comfortable from a security perspective, right?
17:32Nader Khalil:There's a lot of networking involved before we deliver that to users. So it's like, okay, let's get this to a point where we can at least let people experiment with it. We had it in a booth, we had it in Jensen's keynote, and then let's go iron out all the networking kinks. And that's not easy. And so that can come later. And And so that was the way that we layered that back in.
Read the full transcript
17:50Kyle Kranen:It's not really about saying like you don't have to do the maintenance or operational work. It's more about saying, you know, it's kind of like highlights how progress is incremental, right? Like what is the minimum thing that we can get to? And then there's SOL for like every component after that. But there's the SOL to get you to the starting line. And that's usually how it's asked. On the other side, you know, like SOL came out of like hardware at NVIDIA, right? So SOL is like literally if we ran the accelerator or the GPU with like at basically full speed with like no other constraints, like how fast we'd be able to make a program go.
18:26Nader Khalil:Yeah, yeah.
18:26Kyle Kranen:Right.
18:27Nader Khalil:So in training that like, you know, then you work back to like some percentage of like MFU, for example.
18:32Kyle Kranen:Yeah, that's a great example. So like there's an there's an SOL MFU and then there's like, you know, what's practically achievable.
18:38Nader Khalil:Cool. Should we move on to sort of Kyle's side? Kyle, you're coming more from the data science world. And I mean, I always, whenever I meet someone who's done work in tabular stuff, graph neural networks, time series, these are basically, when I go to NeurIPS, I go to ICML, I walk the back halls. There's always like a small group of graph people, small group of tabular people. And like, there's no one there. And like, it's very, like, you know what I mean? Like, it's important, interesting work if you care about solving the problems that they solve.
19:11Kyle Kranen:Yeah.
19:11Nader Khalil:But everyone else is just LLMs all the time.
19:13Kyle Kranen:Yeah. I mean, it's like the black hole, right? Has the event horizon reached this yet in Nerov's? But like, you know, those are transformers too.
19:22Nader Khalil:And those are also like interesting things. Anyway, I just want to spend a little bit of time on that background before we go into Dynamo proper.
19:29Kyle Kranen:Yeah, sure. I took a different path to NVIDIA than Adder. I joined six years ago, seven if you count when I was an intern. So I joined NVIDIA like right out of college. And the first thing I jumped into was not what I'd done during internship, which was like, you know, like some stuff for autonomous vehicles, like heavyweight object detection. I jumped into like, you know, something I'm like, recommenders. This is popular. And yeah, you did Rexxus. Yeah, Rexxus. Yeah. I mean, that was the tabular data at the time, right? You have tables of like audience qualities and item qualities. And you're trying to figure out like which member of the audience matches which item or more practically, which item matches which member of the audience.
20:04Kyle Kranen:and at the time really it was like we were trying to enable uh recommenders which had historically been like a little bit of a cpu-based workflow into something that like ran really well on gpus and it's since been done like there are a bunch of libraries for access that run on gpus uh the common models like deep learning recommendation model which came out of meta and the wide and deep model which was used or was released by google were very accelerated by gpus using you know, the fast HBM on the chips, especially to do, you know, vector lookups. But it was very interesting at the time and super, super relevant, because like, we were starting to get like, this explosion of feeds and things that required recommenders to just actively be on all the time.
20:46Kyle Kranen:And sort of transition that a little bit towards graph neural networks, when I discovered them, because I was like, okay, you can actually use graph neural networks to represent like relationships between people, items, concepts. And that that interested me. So I jumped into that at nvidia and and got really involved for like two-ish years yeah and something i learned
21:04Nader Khalil:from brian canazaro yeah is that you can just kind of choose your own path in nvidia oh my god yeah which is not a normal big corp thing yeah like you you have a lane you stay in your lane i think probably the reason why i enjoy being in a big company from a startup guy yeah the mission is the boss yeah uh it feels like a big game of pickup basketball like you know if you play one if you want to play basketball you just go up to the court and you're like hey we're gonna play this game and we need three and you just like find your three that's honestly for every new initiative that's what it feels like yeah yeah it also like shows right like nvidia is just releasing state-of-the-art stuff in every domain yeah like okay you expect foundation models with nemotron voice just randomly like top tier parakeet just comes out another one uh voice team has always been producing there's always just every other domain of paper that comes out data set that comes out it's like i mean it also stems back to what nvidia has to do right you have to make chips years before they're actually produced, right?
21:58Nader Khalil:So you need to know, you need to really focus on.
22:00Kyle Kranen:The design process starts like three to five years before the chip gets to the market.
22:05Nader Khalil:Yeah. I'm curious more about what that's like, right? So like you have specialist teams, is it just like, you know, people find an interest, you go in, you go deep on whatever, and that kind of feeds back into, you know, okay, we expect predictions. Like the internals at NVIDIA must be crazy, right? You know, you must not even without selling to people, you have your own predictions of where things are going. And they're very based, very grounded, right?
22:29Kyle Kranen:Yeah, it's really interesting. So there's like two things I think that Envita does, which are quite interesting. One is like, we really index into passion. There's a big sort of organizational top sound push to like ensure that people are working on the things that they're passionate about. So if someone proposes something that's interesting, many times they can just email someone like way up the chain that they would find this relevant and say like, hey, can I go work on this?
22:51Nader Khalil:Actually, like I worked at a big company for a couple of years before starting on my startup journey. And like it felt very weird if you were to like email out of chain, if that makes sense. Yeah. The emails at NVIDIA are like mosh pits. It's just like 60 people, just whatever. And like there's something messy, like reply all. Oh, it's insane. It's insane. Agents help, you know, manage the context. But that's actually like I've actually. So this is a weird thing where I used to be like, why would we send emails? We have Slack. I am the entire I'm the exact opposite. it i feel so bad for anyone who's like messaging me on slack because i'm so unresponsive you're email maxing email is a different email is perfect oh man we can't work together email is great because important threads get bumped back up right yeah um and so slack doesn't do that so i just have like this casino going off on the right or on the left and like i don't know which thread was from where or what but like the threads get and then also just like the subject so you can have like working threads i think what's difficult is like when you're small if it's not 40 ,000 people, I think Slack will work fine.
23:50Nader Khalil:But there's I don't know what the inflection point is, there is going to be a point where that becomes really messy. And you'll actually prefer having email because you can have working threads, you can CC more than nine people in a thread, you can fork stuff, you can fork stuff, which is super nice. And just like, yeah. And so but that is part of where you can propose a plan. You can also just like, start, honestly, momentum is the only authority, right? So like, if you can just start to make a little bit of progress and show someone something, and then they can try it. That's I think what's been, you know, I think the most effective way to push anything forward.
24:17Nader Khalil:And that's both at NVIDIA and I think just generally.
24:20Kyle Kranen:There's the other concept that like is explored a lot at NVIDIA, which is this idea of a$0 billion business. Like market creation is a big thing at NVIDIA. Like you want to go and start a$0 billion business? Jensen says we're completely happy investing in$0 billion markets. We don't care if this creates revenue. It's important for us to know about this market. We think it will be important in the future. It can be$0 billion for a while. I'm probably mangling his words here. But like, you know, like I'll give an example. NVIDIA has been working on autonomous driving for a long time. Like an NVIDIA car?
24:53Nader Khalil:No. They've used the Mercedes, right? They're on the HQ. And I think it finally just got licensed out. Now they're starting to be used quite a bit. But for 10 years, you've been seeing Mercedes with NVIDIA logos. Oh, yeah.
25:05Kyle Kranen:If you're in like the South Bay near Santa Clara, it's actually a pretty common thing. Oh, exactly. Yeah. So$0 billion markets are a thing. Like, you know, Jensen. I mean, okay, look, cars are not a$0 billion market. But yeah, that's a bad example.
25:20Nader Khalil:I think he's messaging. Zero today. Or even like internally, right? Like it's like an org doesn't have to ruthlessly find revenue very quickly to justify their existence, right? Like a lot of the important research, a lot of the important technology being developed. That's kind of where.
25:35Kyle Kranen:Research is very ideologically free at NVIDIA. Yeah. Like they can pursue things that they. Were you research? I was never in research officially. I was always in engineering. I'm in an org called deep warning algorithms, which is basically just how do we make things that are relevant to deep learning go fast. That sounds freaking cool.
25:51Nader Khalil:And I think a lot of that is underappreciated, right? Like time series this week, Google put out TimeFa, a new time series paper. Rexxus, semantic ID started applying transformers, LLMs to Rexxus. And when you think the scale of companies deploying these, right? Amazon recommendations, Google Web Search, it's huge scale and you want fast. Yeah,
26:12Kyle Kranen:actually, there's a fun moment that brought me like full circle, like Amazon ads recently gave a talk where they talked about using Dynamo for generative recommendation, which was like, super, like weirdly cathartic for me. I'm like, Oh, my God, I've supplanted what I was working on. Like, I think you're using LLMs now to do what I was doing five years ago. Yeah, amazing.
26:33Nader Khalil:Let's go right into Dynamo, maybe introduce sort of top down.
26:37Kyle Kranen:And yeah, I think at this point, a lot of people are familiar with the term of inference. Like funnily enough, like I went from, you know, inference being like a really niche topic to being something that's like discussed on like normal people's Twitter feeds. It's on billboards here. Yeah, very, very strange. Driving, driving, seeing just an inference ad on one on one inference at scale is becoming a lot more important. We have these moments like, you know, open claw where you have these agents that take lots and lots of tokens, but produce incredible results. there are many different aspects of test time scaling so that you know you can use more inference to generate a better result than if you were to use like a short amount of inference there's reasoning there's requering there's adding agency to the model allowing it to call tools and use skills dyno sort of came about at nvidia because myself and a couple others were sort of talking about these concepts that like you know you have inference engines like vlm sqleng tensor tlm and And they have like one single copy.
27:34Kyle Kranen:They sort of think about like things as like one single copy, like one replica, right? Like one version of the model. But when you're actually serving things at scale, you can't just scale up that replica because you end up with like performance problems. There's a scaling limit to scaling up replicas. So you actually have to scale out to use maybe some Kubernetes terminology. We kind of realized that there was like a lot of potential optimization that we could do in scaling out and building systems for data center scale inference. So Dynamo is this data center scale inference engine that sits on top of the frameworks like VLM, SGLing, and TensorGLM and just makes things go faster because you can leverage the economy of scale.
28:13Kyle Kranen:The fact that you have KV cache, which we can define a little bit later in all of these machines that is like unique and you want to figure out like the ways to maximize your cache hits, or you want to employ new techniques in inference like disaggregation, which Dynamo had introduced to the world in March, not introduced, it was an academic topic beforehand, but we're one of the first frameworks to start supporting it. And we want to like sort of combine all these techniques into sort of a modular framework that allows you to accelerate your inference at scale.
28:47Nader Khalil:By the way, Kyle and I became friends on my first day to NVIDIA, and I always love because he always teaches me new things. By the way, this is why I wanted to put two of you together. I was like, yeah, this is going to be good.
28:57Kyle Kranen:It's very different. We've talked to each other a bunch. Actually, you asked why can't we scale up?
29:02Nader Khalil:Yeah, you said model replicas.
29:03Kyle Kranen:Yeah, so scale up means assigning more. Heavier. Yeah, heavier, like making things heavier, adding more GPUs, adding more CPUs. Scale out is just like having a barrier saying, I'm going to duplicate my representation of the model or a representation of this microservice or something. And I'm going to like replicate it many times to handle the load. And the reason that you can't scale up past some points is like, you know, there are sort of hardware bounds and algorithmic bounds on that type of scaling. So I'll give you a good example that's like very trivial. Let's say you're on an H100. The maximum NVLink domain for H100 for most DGX H100s is HGPUs, right?
29:42Kyle Kranen:So if you scaled up past that, you're going to have to figure out ways to handle the fact that now for the GPUs to communicate, you have to do it over InfiniBand, which is still very fast, but is not as fast as NvLink.
29:54Nader Khalil:Is it like one order of magnitude, like hundreds?
29:56Kyle Kranen:It's about an order of magnitude.
29:58Nader Khalil:Not terrible.
29:59Kyle Kranen:Yeah. I need to remember the data sheet here. I think it's about 500 gigabytes a second unidirectional for NVLink and about 50 gigabytes a second unidirectional for InfiniBand. It depends on the generation.
30:17Nader Khalil:I just want to set this up for people who are not familiar with these kinds of layers and the transfer speeds. Also, maybe even just going a few steps back before that, most people are very familiar with, you can use on your laptop, whatever these, sdlang vlm you can just run inference there's all you can run it on that laptop you can run on laptop then you get to okay uh models got pretty big right glm5 they doubled the size so uh what do you do when you have to go from okay i can get 128 gigs of memory i can run it on a spark then you have to go multi gpu okay multi gpu there's some support there now if i'm a company and i don't have like i'm not hiring the best researchers for this right but i need to go multi-node, right?
31:00Nader Khalil:I have a lot of servers. Okay. Now there's efficiency problems, right? You can have multiple H100 nodes, but you know, is that like, how do you do that efficiently?
31:09Kyle Kranen:How do you like represent them? How do you choose how to represent the model? That's like a hard question everyone asks. How do you size? Oh, I want to run GLM5, which just came out, new model. There've been like four of them in the past week, by the way, like a bunch of new models. You know why, right? Deep sequence. No comment. Yeah, but GLM-5, right? We have this new model. It's of like a large size. And you have to figure out how to both scale up and scale out, right? Because you have to find the right representation that you care about. Everyone does this differently. Let's be very clear.
31:38Kyle Kranen:Everyone figures this out in their own path. I feel like a lot of AI or ML even is like this.
31:43Nader Khalil:I think people think, you know, there was some tweet a few months ago that was like, why hasn't fine-tuning as a service taken off? And, you know, that might be me. It might have been you. Yeah, but people want it to be such an easy recipe to follow. But even like if you look at an MLE model. It's specific to you.
31:59Kyle Kranen:Yeah, yeah. And the model and the situation.
32:01Nader Khalil:There's so much tinkering. Like when you see a model that has however many experts in the MLE model, it's like, why that many experts? I don't know. You know, they tried a bunch of things and that one seemed to do better. And I think when it comes to how you're serving inference, you know, you have a bunch of decisions to make and you can always argue that you can take something and make it more optimal. But I think there's this internal calibration and appetite for continued calibration. Yeah. Yeah. And that doesn't mean like, you know, people aren't taking a shot at this, like tinker from thinking machines, you know, RL as a service.
32:26Nader Khalil:It also gets even harder when you try to do big model training, right? We're not the best at training MOEs when they're pre-trained. Like we saw this with Llama 3, right? They're trained in such a sparse way that meta knows there's going to be a bunch of inference done on these, right? They'll open source it, but it's very trained for what meta infrastructure wants, right? They want to inference it a lot. Now, the question to basically think about is, okay, say you want to serve a chat application, a coding copilot, right? You're doing a layer of RL. You're serving a model for X amount of people.
32:57Nader Khalil:Is it a chat model, a coding model, Dynamo, you know, back to that. Yeah, sorry.
33:00Kyle Kranen:So we sort of like jumped off of, you know, jumped on that topic. Everyone has like their own journey. And I like to think of it as defined by like, what is the model you need? What is the accuracy you need? Actually, I talked to Nanara about this earlier. There's three axes you care about. what is the quality that you're able to produce? So like, are you accurate enough or can you complete the task with enough? Performance. High enough performance, yeah. There's cost. Can you serve the model or serve your workflow? Because it's not just the model anymore. It's the workflow. It's the multi-turn with an agent cheaply enough.
33:32Kyle Kranen:And then can you serve it fast enough? And we're seeing all three of these like play out. Like we saw new models from OpenAI that are faster. You have like these new fast versions of models. You can change the amount of thinking to change the amount of quality, right? Produce more tokens, but at a higher cost and a higher latency. And really like when you start this journey of like trying to figure out how you want to host a model, you think about three things. What is the model I need to serve? How many times do I need to call it? What is the input sequence link? What does the workflow look like on top of it?
34:02Kyle Kranen:What is the SLA? What is the latency SLA that I need to achieve? Because there's usually some, this is usually like a constant, you know, the SLA that you need to hit. And then like you try and find the lowest cost version that hits all these constraints. Usually, you know, you start with those things and you say, you kind of do like a bit of experimentation across some common configurations. You change the tensor parallel size, which is a form of parallelism.
34:26Nader Khalil:I'd say it goes even deeper. First, you got to think about model.
34:29Kyle Kranen:Yes, it's like a multi-step design process. Because as you said, you can choose a smaller model and then do more test time scaling. and it'll equate quality of a larger model because you're doing the test time scaling or you're adding a harness or something. So yes, it goes way deeper than that. But from the performance perspective, like once you get to the model you need to host, you look at that and you say, hey, I have this model. I need to serve it at this speed. What is the right configuration for that?
34:55Nader Khalil:You guys see the recent, there's a paper I just saw like a few days ago that if you run the same prompt twice, you're getting like double digit performance. Just try it again. Yeah, exactly. But the key thing there is you give the context of the failed try right yeah it takes a shot and this has been like you know basic guidance for quite a while just try again because you know you try just try again did you try again all advice in life it's a paper from google if i'm not mistaken right i think it's like a seven page little short paper yeah the title is very cute and it's just like yeah just try again give it it has context multi-shot you just like say like hey like you know like
35:28Kyle Kranen:take take a little bit more take a little bit more information try and fail and that basic
35:33Nader Khalil:concept has gone pretty deep there's like um self-distillation rl where you you do self-distillation you do rl and you have past failure and you know that gives some signal so people take try it again not strong enough uh for listeners uh who listen to here uh people actually and i and we run a second youtube channel for our paper club where oh that's we would just cover this self-distillation and all that that's that's why he's like i'll have to check it out yeah it's just a good practice Everyone needs a paper club where you just read papers together and the social pressure just kind of forces you to just be.
36:08Kyle Kranen:There's like a big inference reading group. I feel so bad every time he put it on our – he shared it.
36:14Nader Khalil:One of your guys is big in that. I forget. Ishan. Ishan. Ishan's on my team. Actually, funny.
36:20Kyle Kranen:There's an employee transfer between us. Ishan worked for Natter at Brev. And now he's on my team. He was our head of AI. And then, yeah, once we got in.
36:27Nader Khalil:Because I'm always looking for like, okay, can I start another podcast that only does that thing? And Ishan was like, I was trying to like nudge Ishan into like, is there something here? I mean, I don't think there's new infracechniques every day.
36:39Kyle Kranen:So it's like, you would actually be surprised. The amount of blog posts you see.
36:45Nader Khalil:There was a period where it was like Medusa, Hydra, Eagle.
36:49Kyle Kranen:Now we have new forms of decoding. We have new forms of speculative decoding. What are you excited about?
36:53Nader Khalil:And it's exciting when you guys put out something like Nemotron, because I remember the paper on this, Nemotron 3, the amount of like post-training, the amount of tokens that the GPU rich can just train on. And it was a hybrid state-space model, right?
37:07Kyle Kranen:Yeah, it's co-designed for the hardware.
37:08Nader Khalil:Yeah, co-designed for the hardware. And one of the things was always, you know, the state-space models don't scale as well when you do a conversion or whatever, the performance. And you guys are like, no, just keep training. And Nemotron chose a lot of that. Also something cool about Nemotron. It was released in layers, if you will, very similar to Dynamo. It's essentially, it was released as aggregate. You can, the pre-training, post-training data sets are released. The recipes on how to do it are released. The model itself is released. So you can just benefit from us churning on the GPUs. But there are companies like ServiceNow took the data set and they trained their own model.
37:40Nader Khalil:And we were super excited and like, you know, celebrated that work. Zoom the frontier model. Zoom is AGI. I think, you know, also just to add, like a lot of models don't put out base models. And if there's that, why is fine tuning not taking off? You know, you can do your own post training, but you guys put out base model. I think you put out everything. I believe so. Base can be cancelable. Base can be cancelable. Yeah. Safety training. Did we get a full picture of Dynamo? I don't know if we... What I'd love is you mentioned the three axes, like break it down of like, you know, what's pre-fill decode and like, what are the optimizations that we can get with Dynamo?
38:17Kyle Kranen:Yeah, that's a great point. So to summarize on that three-axis problem, right, there are three things that determine whether or not something can be done with inference. Cost, quality, latency, right? Dynamo is supposed to be there to provide you, like, the runtime that allows you to pull levers to, you know, mix it up and move around the Pareto frontier or the Pareto surface that determines, is this actually possible with inference in AI today? Gives you the knobs. Yeah, exactly. Gives you the knobs. And one thing that we use a lot in contemporary inference and is starting to pick up from, in general knowledge, is this concept of disaggregation.
38:53Kyle Kranen:So historically, models would be hosted with a single inference engine. And that inference engine would ping pong between two phases. There's pre-fill, where you're reading the sequence, generating KV cache, which is basically just a set of vectors that represent the sequence. and then using that KVCache to generate new tokens, which is called decode. And some brilliant researchers across multiple different papers essentially made the realization that if you separate these two phases, you actually gain some benefits. Those benefits are basically, A, you don't have to worry about step-synchronous scheduling.
39:28Kyle Kranen:So the way that an inference engine works is you do one step, and then you finish it, and then you start scheduling the next step. It's not fully asynchronous. And the problem with that is you would have essentially pre-fill and decode are actually very different in terms of both their resource requirements and sometimes their runtime. So you would have pre-fill that would block decode steps because you'd still be pre-filling and you couldn't schedule because the step has to end. So you remove that scheduling issue. And then you also allow yourself to split the work into two different types of pools.
40:03Kyle Kranen:So pre-fill typically, and this changes as model architecture changes, pre-fill is right now compute bound most of the time. If the sequence is sufficiently long, it's compute bound on the decode side because you're doing a full pass over all the weights and the entire sequence every time you do a decode step. And you don't have the quadratic computation of KVCache. it's usually memory bound because you're retrieving a linear amount of memory and you're doing a linear amount of compute as opposed to pre-fill where you retrieve a linear amount of memory and then use a quadratic amount of compute.
40:35Kyle Kranen:You know, it's funny.
40:36Nader Khalil:Someone, ExoLabs did a really cool demo where for the DGX Spark, which has a lot more compute, you can do the compute hungry pre-fill on a DGX Spark and then do the decode on a Mac. And so - That's faster.
40:49Kyle Kranen:Yeah. So you can do machine stratification.
40:53Nader Khalil:Yeah.
40:53Kyle Kranen:And like with our future generations of hardware, we actually announced like with Rubin, this new accelerator that is pre-fill specific. It's called Rubin CPX. So I have a question. When you do the scale out,
41:07Nader Khalil:is scaling out easier with Dynamo? Because when you need a new node, you can dedicate it to either the pre-fill or decode?
41:14Kyle Kranen:Yeah. So Dynamo actually has like a Kubernetes component in it called Grove that allows you to do this like crazy scaling specialization. It has like this hot, It's a representation that I don't want to go too deep into Kubernetes here, but there was a previous way that you would like launch multi-node work. It's called leader worker set. It's in the Kubernetes standard. And leader worker set is great. It served a lot of people super well for a long period of time. But one of the things that it struggles with is representing a set of cases where you have a multi-node replica that has a pair, right?
41:47Kyle Kranen:Prefill and decode, or it's not paired, but it has a second stage that has a ratio that changes over time. And prefill and decode are two different things. As your workload changes, the amount of prefill you'll need to do may change. The amount of decode that you'll need to do might change. Let's say you start getting insanely long queries. That probably means that your prefill scales harder because you're hitting this quadratic scaling growth.
42:10Nader Khalil:And then for listeners, prefill will be long input, decode will be long output, for example. Yeah.
42:15Kyle Kranen:So like decode scale. I mean, decode is funny because the amount of tokens that you produce scales with the output length, but the amount of work that you do per step scales with the amount of tokens in the context. Yes. So both scales with the input and the output. That's true. But on the pre-field decode side, like if suddenly like the amount of work you're doing on the decode side stays about the same or like scales a little bit, and then the pre-field side like jumps up a lot, you actually don't want that ratio to be the same. You want it to change over time. So Dynamo has a set of components that, A, tell you how to scale.
42:45Kyle Kranen:It tells you how many pre-fill workers and decoded workers it thinks you should have. And also provides a scheduling API for Kubernetes that allows you to actually represent and affect this scheduling on your actual hardware, on your computer infrastructure.
43:01Nader Khalil:Not going to lie. I feel a little embarrassed for being proud of my SVG function earlier. No, it was really cute. It's all engineering. It's all engineering. I swear I'm technical. One thing I'm kind of just curious about, you see at a systems level everything going on here. And we're scaling it up in distributed systems. I think one thing that's kind of of the moment right now is people are asking, is there any SOL sort of upper bounds in terms of, let's just call it context length for one, for a better word. But you can break it down however you like. Yeah. I just think like, well, yeah, I mean, clearly you can engage in hybrid architectures and throw in some state-space models in there all you want, but it still looks very attention-heavy.
43:44Kyle Kranen:Yes. Yeah, long context is attention-heavy. I mean, we have these hybrid models. And most models cap out at a million contexts, and that's it. For the last two years, it's been it. Yeah. The model hardware context co-design thing that we're seeing these days is actually super interesting. It's like my passion, like my secret side passion. We see models like Kimi or GPT-OSS. I'm going to use these because I know specific things about these models. So Kimmy 2 comes out, right? And it's an interesting model. It's like a DeepSeek style architecture. It is MLA. It's basically DeepSeek scaled like a little bit differently and obviously trained differently as well.
44:20Kyle Kranen:But they talked about why they made the design choices. For context, Kimmy has more experts, but fewer attention heads. And I believe a slightly smaller attention dimension, but I need to check that. It doesn't matter. But they discussed this actually at length in a blog post on Jipu, which is like... Jipu, yeah. Chinese Reddit, yeah. So it's actually an incredible blog post. Like all the MLSS people that I've seen on Jipu are like very brilliant. But they talk about like the creators of Kimi Ketu actually like talked about it on there in a blog post. And they say, we actually did an experiment, right?
45:05Kyle Kranen:Attention scales with a number of heads. Obviously, if you have 64 heads versus 32 heads, you do half the work of attention. You still scale quadratically, but you do half the work. And they made a very specific barter in their system, in their architecture. They basically said, hey, what if we gave it more experts? So we're going to use more memory capacity, but we keep the amount of activated experts the same. And we increase the expert sparsity. So we have fewer experts, the ratio of experts activated to number of experts is smaller. And we decrease the number of attention heads.
45:38Nader Khalil:And kind of for context, what we had been seeing was you make models sparser instead. So no one was really touching heads. You're just having...
45:46Kyle Kranen:Well, they implicitly made it sparser.
45:48Nader Khalil:Yeah, for Kimmy, they did. Yes. They also made it sparser. But basically what we were seeing was people were at the level of, okay, there's a sparsity ratio. You want more total parameters, less active. and that's sparsity. But what you see from papers, like the labs, like Moonshot, DeepSeek, they go to the level of, okay, outside of just number of experts, you can also change how many attention heads and less attention layers, more attention layers. Yes, yes. And that's all basically coming back to just tie it together is like hardware model co-design,
46:17Kyle Kranen:which is - Harder model context co-design. Yeah. Right? Like if you were training a model that was like really, really short context or like really is good at super short context tasks, you may like design it in a way such that like you don't care about attention scaling because it hasn't hit that like the turning point where like the quadratic curve takes over.
46:35Nader Khalil:Why do you consider attention or context as a separate part of the co-design? Like I would imagine hardware or just how I would have thought of it as like hardware model co-design would be hardware model context co-design.
46:45Kyle Kranen:Because the harness and the context that is produced by the harness is a part of the model once it's trained in.
46:52Nader Khalil:Like even though towards the end you'll do long context you're not changing architecture through i see yeah i mean you can try you're saying everyone's training the harness into the model i would say to some degree or there's co design i know there's a small amount but i feel like not everyone has like gone full send on this
47:08Kyle Kranen:i think i think it's important to internalize the harness that you think the model will be running into the model yeah interesting okay and like bash is like the universal harness yeah right like Like I'll give an example here, right? I mean, or just like a easy proof, right? If you can train against a harness and you're using that harness for everything, wouldn't you just train with the harness to ensure that you get the best possible quality out of?
47:35Nader Khalil:Well, I can provide the counter argument, which is what you want to provide a generally useful model for other people to plug into their harnesses.
47:42Kyle Kranen:Yeah, but harnesses can be open source, right?
47:45Nader Khalil:Yes, I mean, that's effectively what's happening with Codex. Yeah. But like you may want like a different search tool and then you may have to name it differently. I don't know how much people have pushed on this, but can you train a model? Have people compared training a model for the harness versus like post-training for the harness? I think it's the same thing. It's the same thing. It's just extra post-training. I see. And so, I mean, Cognition does this, Cursor does this, where you just have to like, if your tool is slightly different, either force your tool to be like the tool that they train for or undo their training for their tool and then retrain.
48:16Nader Khalil:It's really annoying.
48:17Kyle Kranen:I would hope that eventually we hit like a certain level of generality with respect to hunting. Correct. This is not AGI. This is really stupid.
48:26Nader Khalil:Learn my tool, bitch. I don't know if I can say that. I think what my point kind of is, is that I look at slopes of the scaling laws. And this slope is not working, man. We're at a million token context. Okay, maybe next year, two million. We're not going to a hundred trillion. Oh, there's so many interesting ways you can get there. This doesn't work. This doesn't work. What's kind of funny is whenever there, I feel like we always want to see a trend that we can predict, but every time something's come, it's been like a leapfrog. So I imagine, I don't know how we go from one to two, but I imagine what's likely to happen is we break through that from some new.
49:01Kyle Kranen:Yeah, there's actually, there's an interesting formalization of this. There's an essay, it's a pretty interesting essay by Leopold Ashenbrenner called Situational Awareness. Okay, yes. He introduces a concept of situational awareness called an unhoveler, right? Right. So, you know, Leopold in this essay details, hey, I want to get, you know, like I want to get to this point in intelligence. And I think that it is four orders of magnitude worth of like compute and data and training away. And, you know, he says, oh, yeah, I think data centers can scale up by about this much. I think that you can do scale up the data and some other things by this much.
49:36Kyle Kranen:But one of the things that like makes the rest of that order of magnitude growth possible is unhovlers, like these scientific discoveries that are discovered during, you know, model architecture search or training that really, really, really impact how you are able to scale. Like a good example of this might be that like we see like a lot of models that are, and this is probably a very tiny on Hobbler, but is important for the performance perspective. We see a lot of models that are like trained with multi-token prediction natively during pre-training. And per DeepSeq in their paper, they say, hey, they said this actually helped us ensure more stable convergence.
50:15Kyle Kranen:But there are like unhobblers that are like that. And then there are like rather large unhobblers, right? Like architecturally, a lot of our models, like we had different types of attention. And one of the problems with attention is like you have a lot of KV. But people have found like different forms of attention, like group query attention and like MLA in DeepSeq, multi-head latent attention, that like decrease the burden that KV has on the model, which allows you to grow like longer in context. Yeah, and that was very drastic for DeepSeq. Yeah, for context, like the total, I think the total context length of DeepSeq is 128 ,000 tokens or might be 256 ,000 with rope extension.
50:49Kyle Kranen:That entire context, I think it's 128 ,000, fits into eight gigabytes. And previously context, like I think the Lama 4 or 5B context of a similar size was like 40 or 80 gigabytes in the same precision yeah um so like those unhobblers like really decrease the stuff of that size and i wouldn't be surprised if we do see the ability to like break through to like 10 million 20 million 100 million context through the an unhobbler showing up i see and it's just science more deep learning algorithms is what i could i could actually pick up and he has room I could actually give you an example of a theory.
51:32Kyle Kranen:Not a theory here, but something theoretically.
51:34Nader Khalil:And a hobbler that you're excited about?
51:35Kyle Kranen:A hobbler that I haven't seen. So it could be a tar pit and it could just not work. But I would be really excited to see a model that does prefill and decode differently. So a model that does prefill locally, document-wise prefill, like it does in chunks. And then you do decode globally across the entire sequence. because logically to me, it doesn't seem like you would necessarily need to have KV be associative between documents that have no mutual association. But that places a lot of burden on decode and pure attention within the decode phase to make those connections since the KV is static at that point.
52:17Kyle Kranen:And you see other techniques that are interesting like this too. But if you're able to do that, if pre-fill becomes local and decode is still global, you solve that pre-fill quadratic scaling problem because you have a bunch of like small chunks that you pre-fill independently. Okay. All right. Well, let's wait and see,
52:31Nader Khalil:but I think it'll be pretty exciting.
52:33Kyle Kranen:Fingers crossed. Yeah.
52:35Nader Khalil:I'm excited for pre-fill decode on separate hardware. So like Grok acquisition, right? Can we decode on the Grok? Can we get super fast? I don't think I'm allowed to comment on this. Mark is going to shoot arrows at us. He's got a little dark. He's in his eye room. Just like, go to sleep. I'm super excited to see the team come in And I've gotten the pleasure of working with some of the Grok people coming in. Yeah. Sunny, we've had him at the same conference that you were at. Yeah. And I think you guys are going to be doing some sessions at GTC. I don't know if you want to. This is a good place to plug them.
53:08Kyle Kranen:Yeah, yeah. So I can't speak to any LPU-related sessions at GTC. I have no idea about that. Oh, no, no. You. On the Grok side, yeah, I use the associative NVIDIA U. On the NVIDIA Dynamo side, we're giving it, there are a large number of sessions. For those that aren't aware, you can actually search all of these sessions for GTC online. Just go to the GTC website. I don't know what the URL is, but go there. Google it, yeah. And you can just look up Dynamo and you'll get all the sessions. There are about 20. There are a couple that are hosted by the Dynamo team. There are a couple that are hosted by people that use Dynamo that want to show off the results they've been able to get.
53:44Kyle Kranen:But there are two that I'm really excited about. One is just the general Dynamo tutorial. And this is the, I'm going out with Harry, who's our lead product manager for Dynamo. And we're sort of talking about like how to use Dynamo to get better performance and also like where we see Dynamo going in the future. And then there's another session that I'm doing with one of our agents teams at NVIDIA to talk about sort of the future of agents in production inference. So we're talking about there's like this new horizon with respect to agents because we have these harnesses that actually impart structure upon calls.
54:16Kyle Kranen:Like if you compare it like the past and the present with respect to like how LM calls work, like in the early days when there were chatbots, like every call was like very different. There was basically no structure. You could assume that like people, if it was conversational, there might be like some implicit structure because you have, you know, a multi-turn conversation. But agents, you have this harness that like abides by rules, right? So it imparts direct structure onto the context. And you see this, there was an interesting Twitter post about how Claude code like structures its context so that you get as many caches as possible.
54:50Kyle Kranen:And I think it was by one of the PMs for Claude code and he wrote about it. And that type of structure that the harness can impart actually like goes hand in hand with the inference code design. So I'm doing a talk. I don't know the session name or the session number, but I'm doing a talk. you can look at me up by name on the GTC website on how we accelerate agents and where we see specific optimizations for agents going in Dynamo and in inference in general.
55:18Nader Khalil:Yeah, I think there's only 1pm for CloudCode and it's kind of... There's DevRel, there's Boris. Maybe it was DevRel, right? Exactly. I mean, let's go into agents. I think this was like the last part of the discussion we planned. How have we not talked about agents? Also, we scheduled it. I was like, okay, you know, let's have like cohesive sections. I mean, there's a big news, right? NVIDIA is a huge, like, deployment of codex. Yeah. NVIDIA uses everything. I mean, we use this cursor and we use this codex. But that's a pretty big deployment, right? Like, that's tens of thousands of people. Totally.
55:49Nader Khalil:Yeah. We're super excited. Yeah. It goes back to the mosh pit of emails we kind of mentioned earlier, or just like how fluid the org feels. So when there's new technology, people will just email it out and everyone will try it. And if it's making people's lives easier, it'll spread like wildfire. A lot of times Jensen will get it and he'll be like, let's make this work across the company.
56:06Kyle Kranen:Let's make this work right now.
56:07Nader Khalil:Honestly, if I was a startup, I feel like a cool hack. If you have something that's going to save an NVIDIA's time, they'll spread it to a couple and the same thing, right? It'll just spread like wildfire. Get careful before your email blows up from startups, by the way. Well, you got to have to know the person, right? But no, yeah, so I mean, I love using Codex. It's been a ton of fun. I've been using it personally. I've been using it at work. It's been, yeah, I don't know. It's been great to see the rollout. something really funny on a day that we got Codex and Cloud Code Access. I found this person, his name's Carlos at the company.
56:38Nader Khalil:He wrote an Outlook CLI. Oh yeah. And just a CLI for email. I've been using that. Yeah, maybe like four or five weeks ago. And so once I got like Codex Access, I installed the CLI. It had a skill and I just asked it to go through all of my emails, which it's very messy. So if I don't respond to your email, I'm really sorry. But I asked it to give me a summary, highlight any escalations that I should look at, put any thread that it thinks I should respond to in a folder, and then archive everything. And it did. So if I missed your email, it's because it didn't give me. So I should put a prompt injection in my emails.
57:12Nader Khalil:What you should do is just FaceTime. Yeah, my escalator is highest on FaceTime. But it was magic. And so I sent it in a big email thread to like 500 people. A bunch of folks tried it out. I started like FaceTiming whoever I could at the company to get them set up with this. Yeah. That specific example, you guys deal with like some pretty sensitive emails. Yeah. Is there a security review with this? Because like one guy made it for himself, but like it's not meant for all they've been doing. Security team in NVIDIA is incredible. Like shout out to them. They're trying to... We have an amazing security team because they're progressive and they know that this is really important technology and we have to bring it in.
57:47Nader Khalil:If you think about like if you work at a big company, your laptop's usually very locked down. You can only access certain things. NVIDIA engineers have those restrictions aren't there. So you're expected to understand the risks when you try things out. And so very quickly, you know, made sure to chime in security on what we were doing. There's actually a lot that we've been thinking about, especially with OpenClaw, right? Like there's, you know, agents can do three things. Yeah. Agents can do three things. They can access your files, they can access the internet, and then now they can write custom code and execute it.
58:14Nader Khalil:And you really only let an agent do two of those three things. If you can access your files and you can write custom code, you don't want internet access because that's one is safe vulnerability, right? If you have access to internet and your file system, you should know the full scope of what that agent's capable of doing. Otherwise, malware can get injected or something that can happen. And so that's a lot of what we've been thinking about is like, you know, how do we both enable this because it's clearly the future, but then also, you know, what are these enforcement points that we can start to like protect?
58:41Nader Khalil:And is there any directive of like, hey, we have a company account or company agreement with OpenAI, we use OpenAI models here, or like choose whatever? No, no. So I would never put any company data in a model that's not either, that we don't even have the most security. Yes. Yeah. Like how that goes. You know, obviously you could run your own models. You have Nemo-chan and we did. We have an internal cluster. So, you know, of course, any of Dynamo? Yeah. Yeah. I think we're Dynamo's first customer.
59:10Kyle Kranen:Actually, there's a funny story about like how I got the experience and informed what we needed for Dynamo. At one point, there's a website called build.nvidia.com. and also for us inference.nv.com that allows people to try models. It gives an API service. You can call the model. It's like a REST API and you get a response. I ran the model site for that. And it was at one point, the largest inference deployment and still may actually be the largest inference deployment in video. I've since like handed that off to some people and they're doing a wonderful...
59:38Nader Khalil:This is an extremely under known or less known resource. Build.nv.com. You can get any of these open source models and it's rate limited, but it's free. So it's perfect for hackers.
59:48Kyle Kranen:And the SLA on getting models, DayZero models up is like a day. Yeah. Like they're incredibly good at like figuring out the right way to host the model to get it up there as soon as it comes out. You ran this? Yeah, I ran it a long time ago. It was originally called NVIDIA AI Playground. Then it was called AI Foundation. And then it was called Build.NVIDIA.com. And I ran the model side of it. So there was a large multi-organizational team. I ran which models should we host? How should we host them? And like, what's the proportion of them? And then of course there was like an SRE team that like made sure that things ran well and scaled the models as well.
1:00:28Kyle Kranen:But I ran like, you know, model, how do we get the model to Silicon? And then which also worked with our product team to determine like which models were important a very long time ago.
1:00:39Nader Khalil:Yeah. There's also like a middle ground in between there. This is like for the hacker, try anything. There's the Brev console, then there's Dynamo. There was also NIMS, right? Yeah. I remember it had its little moment like a year or two ago. Is it still? Yeah. NIMS is, you know, inference oil. I think it looks like for something. It's a logger in the acronym. It's just a NIMS. Yeah, NIMS is how enterprises can take any of this technology and run it with support and all of that. And so that includes Dynamo. that includes, I don't know, all of our other optimizations that are packaged up for enterprise.
1:01:13Nader Khalil:Yep. Yeah, yeah, yeah. Anyway, so you got a bunch of experience running the sort of internal inference gateway playground.
1:01:19Kyle Kranen:Yeah, yeah. Bill also built, helped build NVIDIA's first internal, like, VS Code thing. We called it MB Code.
1:01:26Nader Khalil:It's like the extension? Yeah, it was a VS Code. First place to fork VS Code. We joked, absolutely not. It just a while back, we were like, we should have a fork VS Code hackathon where you left fork. It's the best fork VS Code. We were doing a hundred million dollars. Someone from VS Code was there, and he was somewhat down to get involved. And I was like, oh, you should do that. That's all I said. Then the cool thing became for Chrome hackathon. Chrome. And now ID is not cool. I was talking to Joseph from Roboflow. Your partner in crime. We were talking about how with the new AlpaMaio model, so NVIDIA just released in open source the Mercedes cars that you saw driving.
1:02:03Nader Khalil:It just sounds crazy. Yeah. Will you open source an autonomous driving model? uh i had yeah so we were thinking like could we hackathon a driverless car like i have my old car let's just try it we'll take it take it down like click trade it with a treasure island in the middle of the day that's what i just see like everyone yeah like how many how many cameras do we need right like one two three four i don't know maybe five states i don't know i yeah but um i think we're gonna try you just do it with us we can see we can even have a race it's like the first person to automate their the driving let me over a weekend we do have an autonomy track it was fair Wimo was there like yeah NVIDIA did send people those for Goot because you didn't have the driving thing yet yeah yeah that's cool I think Kama Kama also has a version of this Kama yeah they've open source driving they've done a fun hackathon he and I because what I really want is a Tesla it was Tesla level self-driving yeah but as a smart car like a two-seater that's basically a wheelchair with a roof I don't even think they make them in new but the demand has they don't make smart No.
1:03:06Nader Khalil:Is this really five years? Yeah. Really? Yeah.
1:03:09Kyle Kranen:They were just manufactured. I thought it was one of those things where we'll see someone buy the brand and it'll be revived. I would buy it. Like I'd probably go, someone hears this, go buy your car.
1:03:22Nader Khalil:That's crazy. Because Mercedes. Because they're like, I think I'm a Mercedes. And Mercedes used to make that. I don't know. I feel like they own the brand. And you out. Your dream might come true. No. Okay, we're time to get you. I'm going to fly. And every time I try to park in San Francisco, I have to buy a smart car. Because 20 % of the parking lots in San Francisco only fit smart cars. Yeah. Really? That's where I'm at. I'm at the mall. Everybody was late here trying to put my...
1:03:53Kyle Kranen:This comes from someone that basically does not try it.
1:03:55Nader Khalil:That's where the Vespa was a life hack. Yeah, exactly. You know what happened to the Vespa? I used to have this yellow Vespa. I left it outside the hacker house when we moved out. It's just, it was always there. And then like a month ago, it's not there anymore. I've been meeting to, I don't know. You killed a lot. So it's actually been here. It's like a TV hit. You forgot about it. Yeah. And left. Yeah. No, this is probably a hazard. And speaking of hackathons, I also wanted to give a big shout out to the World Shortest Hackathon. Let's go. You did it twice. We did it a handful of times. Yeah, there's going to be one at GTC.
1:04:25Nader Khalil:Oh, we're doing an L1? Pretty much, we have a bunch of challenges that we haven't released. and you get to bring your agent to come and attempt to go through those channels.
1:04:34Kyle Kranen:It's like the zero-minute hackathon idea. You just bring your... I've noticed it a long time ago. You just bring your agent and then you press the go button. You're not allowed to code. It's just the agent doing hackathon.
1:04:46Nader Khalil:It's a good hidden evil, right?
1:04:47Kyle Kranen:Yeah, you make a JROP. I would love to see from Cognition or someone else be like, come, bring your agent.
1:04:56Nader Khalil:Drop it in. You don't know he likes to prove it. Will it be, you know, operate a browser, order a pizza? Will it just be like that snake game, you know? And you don't know what the task is.
1:05:05Kyle Kranen:Yeah, you don't know what the task is. Like, we're just like, you don't even know what the judging categories are. And then you give it the judging categories, like, try and do as much as possible.
1:05:11Nader Khalil:It's great, though. It turns into like, yeah, so let's build something on Dinopause. It's a great person to see.
1:05:17Kyle Kranen:Okay, great. Funny story, actually. We have a couple of people at NVIDIA. We've been working with security to, like, bring agents really close to compute. so we now have like stuff where you can like tell dynamo like go write some experience with dynamo like on x cluster and just like try it right now like queue up once you get queued like send this request load and we've actually been able to like just like you know like one shot problems like we used to have this problem where you know with dynamo you have to like find the right configurations and we sort of do it automatically for some parts of it but you have to like a good initial configuration that you want to use and we've just had like an agent just completely one-shot that.
1:05:56Kyle Kranen:It goes, it gets to compute, it runs a couple of experiments. It's like, this is the best. These are part of the Prairie Frontier. Go run this. And then we just give that to people and it's faster than anything that they have. Agent UX and agent marketing are super
1:06:08Nader Khalil:important. There's stuff that we've been thinking a lot about. Alec is redoing the entire Brev CLI so that you can fetch all the different compute types that are available. I don't know. It's going to be really soon, but then you can just browse what GPUs are available and then provision one, SSH to it right there, and you can pipe all the commands. But I think it goes back to the Outlook CLI. Coding agents are, it's kind of funny. I feel like coding agents have been so much more effective than general purpose agents. And I think a large part of that is it just has access to the terminal, like you said.
1:06:34Nader Khalil:And that means it has access to everything that you've installed into your terminal. It can run, so it would write code and it can compile the code. And if there are errors, it can fix it. It can run your suite of tests because that's all just in your terminal. And so that, for the idea or what have got me really excited about the Outlook CLI, we're now just churning through building CLIs for the entire, like for the entire business suite. Slack holding, Slack, Workday CLI, SAP Go. I've also done that for myself. Really? Yeah, yeah. We're going to open source all of this. And like, yeah, all the, I mean, they're just, they're CLIs for the business applications.
1:07:05Nader Khalil:We would love for someone to run with this and like build like, I don't know, like open CLI foundation or something. Yeah, we, Envidio would love to support anyone that's doing this. Like every dev tool should really have good CLI support at this point. Like at one point it was, you want your docs to be accessible by LLM, right? You want LLM good docs. No, everything needs some CLI tool. Yeah, it's kind of funny, right? Like computing began with a terminal with a shell, but we said that it's not empathetic to humans, so we built these nice user interfaces. And then now we have LLMs navigating our user interfaces, and ironically, we're not empathetic to the machine anymore.
1:07:38Yeah.
1:07:38Nader Khalil:Just give the LLM access to the shell. One thing that slightly makes it uncomfortable is like, why do we have to build CLIs? Why can't we just expose APIs?
1:07:47Kyle Kranen:I have an interesting answer to this. So there are a couple of reasons. like there's there's like you know portability is like one issue like you know like sometimes apis are not like discoverable or like reachable right by some you know types of things there's some element of locality right like uh like the cli is like literally you interfacing with your like local system which is a little bit different you could still do it by api but like there's this highlighting of like what is the difference between like a cli and an mcp right like they're kind of occupied the same purposes and you call them it does something on the system and that's done i think that in pre-training there's just an enormous amount of command line data yeah yeah like even let's ignore let's like let's ignore rl like you're doing no harness you're doing no harness push training just the amount of like cli versus api documentation for just like navigating this world of the cli in your file system through that is just enormous yeah yeah right i think
1:08:41Nader Khalil:there's a couple of things too like if let's say we want to so one i think your intuition is right The CLI is just wrapping the API, right? Functionally. Functionally, right? Yeah. And I think it's nice because one, you're being very specific and pedantic even of what, and that's really good because you're describing the problem space. So you know what the, I don't know, I don't want to call it like the space for vulnerability. You know what network calls you're making. It's not arbitrary and that's not decided on the fly. That's like pre-decided, which is important from a security perspective.
1:09:09Nader Khalil:But then if you were to write a bunch of API requests, you would probably do that. I don't know, would the model like use Python to do so. I kind of like that everything, like a CLI is just dash because it's ubiquitous. Like it's just there and you don't have to make sure that there's certain environment variables that are set up. Like if your Python version is different than my Python version, we're using the same model to go do the same thing. Is it going to write like different code? It probably would. And so it's kind of nice to do work, right? We are human as well. I think just like making those decisions happen ahead of time versus, yeah.
1:09:38Nader Khalil:One last thing on this sort of agent, I guess, maybe co-location or whatever you call it. One pattern I'm tracking for this year, I always try to think about what's the theme of this year going to be. Last year, definitely coding agents. This year is definitely coding agents breaking out of containment into brothering. In real world, I definitely have to. See here, rent a human. Yeah. I don't know what you do. I'm one. Are you really? When I buy a sale. I'm like$5 ,000, I'll do anything. Really? I think so. I need my powers from Costco. But I think the best part is only the agent can book me, you know?
1:10:10Nader Khalil:Yeah. It's very usually like, it's just like another labor marketplace. at Mechanical Turk was this. I have a weird story with why I did it. So back to your example of just giving agent access to compute, right? You guys are GPU rich at NVIDIA. I hooked up. He's not shy about it. I have a 24-7 agent running. I hooked up to RunPod. It doesn't shut down instances. And I'm like, I've tried prompting you. I've given you instructions. Shut down when you're done. It's like, I need to keep it warm. I'll need it soon. And it's horrible on time estimates too. Because they realize it's like, yeah, I'll need it in 45 minutes.
1:10:41Nader Khalil:45 minutes, I'll shut it down. 45 minutes of human time is actually three minutes of agent time. So it's like, I'm booting it up. I'm waiting. I'll just leave it on all night. And Moto is good at shutting down after some inactivity. I had it on my local server, like a little dual GPU thing. It just stays on. I have a little space heater at home now, but careful. So basically, you know, they don't care about the concept of money. Just burn it. I need it. It's useful. And another way with DGX Spark will be really nice. Like, I think I'm looking at it as it's super useful for agents because, yeah, you buy it once you plug it in and then it can rip.
1:11:13Kyle Kranen:I'm going to make an NVIDIA ad here. The Blackwell RTX 6000 cards are only I think it's$8 ,000. Slightly cheaper. It's much cheaper than the data center cards. And it's got 96 gigabytes of VRAM so if you and your crew want to go run a local agent for you in the home I feel like it's got a significant amount of vram i've thought about purchasing this and running in my business except my neighbors would hate me it's just a single like two three slot gpu it's more yeah it's a vcie gpu you can go by that i mean the big difference against like the rtx like gaming gpus is it i mean obviously it's like blackball like it's a pro gpu and has a lot of vram which means
1:12:00Nader Khalil:you can run pretty large models on it you can stack four of them for the max q in a system
1:12:05Kyle Kranen:that's a beast it's beefy you can run uh what is that 96 zika or anything 96 uh you don't know
1:12:12Nader Khalil:lolly seek uh but also they they are slow they're not i mean performance of speed will be somewhat slower but there to api like oh yeah that's true so again big learning economy of scale allows you
1:12:25Kyle Kranen:to do things that allow you to get both speed and throughput like you can run i'll give you an example there's an optimization called wide ep i'm not going to go into it fully but like it featured heavily in inference max for deep seek and there's a there's a great set of stories from nvidia and from semi-analysis about like why why ep is important but for like moe models it's like basically essential and you run it like the level of parallelism the level of scale up parallelism used for it is like 32 so it goes beyond that eight barrier and it like really really really is important to have that mvl 72 gb200 mvlink to serve at scale and like it's like i don't remember like the you know cost improvement i think against hopper right like it's hopper with this mvl 72 system you're getting like 35 times cheaper per token for like a lot of the curve yeah which is crazy yeah and normalized per gpu obviously because part of the gpu is cost or the code that GP is part of the class?
1:13:24Nader Khalil:One thing I'm exploring is this year is also the year at the sub-agent where you have the main agent, but then that also kicks off tools which are in themselves agents that have limited ages. And so it's a model context, local deals, whatever, right? Different prompts. So for example, one thing that clinician does is before you kick off a search, they do like a fast context model where you kick off April, you just search across the code base. That is better than indexing a lot of the times, not all the times and you should still index for some things but like the idea that agents should be able to command subagents and probably run them like maybe close to inference is why I don't know if that's like architecturally possible or even yeah we're thinking about that for DIMO that's like our big theme for the year because like if you can design that into your stuff then a lot more people will use it right now it's like just kind of theoretical because you do pay a lot of like back and forth coordination content I think it'll net speed up though right like even at a basic level speculative decoding you're running a small model you're running two instances but it's not that is
1:14:26Kyle Kranen:one example yes yeah but this is like a little bit like different with like agents agents yeah this is the most spectacular i think i think there's like a summarization of that trend that i like to do or i like to say to my team it's like this is the year so there are two things this is the year system as model right where like instead of having like a single model be a thing you have a system of models and components that are working together to like emulate the black box model so when you make an api call to something that's like like a multi-agent in the background it still looks like an api call to a model you're still getting back to the goods but under the hood yeah under the hood it's like a billion different models and that's a lot of complexity with dynamo and with other libraries and media we're looking to help manage that complex yeah it's funny we
1:15:07Nader Khalil:actually for ces we just released the model router for dgx spark where you can have a local model that's running on the spark and then also a foundation model and then the model router decides when to send queries to which one. So it's no longer this like either or. It's use the best of everything that's available to you. You have a good post-trained bottle that's running. These are leads to also the breadth functionality of being able to manage the Spark. Oh, that'd be cool. Oh, yeah.
1:15:31Kyle Kranen:I actually have a question I'd like to extend and flip over. How much longer do you guys think agents are going to be running? Because that's one thing I've been throwing around. Like what happens when... I mean, always on. It even affects the, like back to the pre-fail decode, right?
1:15:44Nader Khalil:Like Codex is, I'd say compared to Cloud Code, it's much longer at tasks. Like that thing will like to run six, seven, eight hours. I'll run it overnight. Yeah. And I'll go back and I have like a little crappy logging software I use. And there's just times where it wants to like, I'm going to go deep on research and it'll eat up 80 ,000 tokens, go on another, go on another, just eat through tokens. And you know, that's part of it. Like at the end, it does hit a long task. And I think you only see that. Yeah. Yeah, there's insatiable demand for tokens, and every improvement that comes kind of just makes our demand even higher.
1:16:16Nader Khalil:It's kind of funny, right? Like, if you have, like, a teammate and you ask them to do a task, and they're like, should I save some effort and not think too hard about this task? I'm like, fuck no. I mean, my favorite was, you can have four shots, right? Like, the original codex before the app, why do one call? Like, give it four attempts. Just use all the tokens. Try more.
1:16:35Kyle Kranen:Try again. Try more. It's like the meta index, right, is the thing that tracks like how long models are able to run. I expect that we'll just see like log linear, if not log super linear growth. We will see before the end of the year an agent that is capable of running for longer than 24 hours with like self-consistency the entire time.
1:16:56Nader Khalil:I would also poke at different domains having different desires, right? Like at its consumer level, I'm getting slightly frustrated at 20 minutes per basic query. Sure, you can optimize, you know, six, eight hour. I don't see myself shooting off many one-week agents, right? Someone doing like, okay, GPU kernel research or medical or biological. Like, you know, in those domains, sure, shoot off a lot that take a lot of... So like, I think it will be somewhat domain-specific because you also really need to train that in, right? You know what's funny? One of the things doing your taxes, right? Like that's taxes.
1:17:28Nader Khalil:Yeah, it's kind of... Yeah, okay. Get it right. I wonder if like a major school day that's sort of like speculative decoding is like your agent figuring out what you might be prompting it the next day at night and like pre-fetching. Yeah, you can already do that. Branch prediction. Oh, well, no. Well, that's too low level, but yes. Sorry. Yeah, yeah, yeah. One question I got to get. So we actually did record a part with the meter folks right here. Their chart is the human equivalent work, hours of work, rather than how long the agents themselves are being autonomous. And there's a huge difference, right?
1:18:01Nader Khalil:Like human work, five hours. Agent work, 30 minutes. It's actually 30 minutes, not five hours, right? So that chart that you see is them estimating what the human equivalent replacement is. I think actually Enflopic released a more recent chart that showed cloud code autonomy from their production traffic numbers, and that was 20 to 45 minutes. That's roughly where we are. So yeah, that's the sort of realistic thing. I mean, I do think there's experimental setups where we can just like Ralph Whitton and just prompt it to keep going when it stops. And obviously that can go arbitrarily long. I feel like from my experience, around, yeah, I guess 20 to 40 minutes seems right for when I'm using like codecs or cloud code.
1:18:38Nader Khalil:But then like I always try to just like if I want to spin up like a new, there's a net new project, I'll often start with Replit. And like it'll be inferred, I believe, yeah, like spin up like they're new, like from the V3 agent, like it'll spin up a web browser and like click around and discover new bugs and just keep churning. But I think like my longest was like over an hour that I've been churning. I think before we see super long running, I think there's going to be a bit of an efficiency hit. So sure, you can take an hour and go down paths, but you also want, you want to be more efficient.
1:19:09Nader Khalil:You want to be smarter in your reasoning, right? So I think that'll actually go down before we go back up. Like you don't want to scale non-optimized systems just for the heck of it. As much as I love saying, use all the tokens, you know, they are expensive. Like going from dance to reasoning models, that's an added cost, right? You're paying for a lot of tokens. And it doesn't make sense to just scale stuff that's not optimized. So there's always that little balance. Yeah. But, you know, I think you'll see both sides of it. Yeah. So 2023 was super exciting. I think if you were in SF, you were like, okay, I know this is going to be a huge world-changing moment.
1:19:43Nader Khalil:But it seemed like, you know, no one had known yet. And maybe even before. Was it 2022 maybe? Yeah. I would say, like, Rune had this tweet where, like, everyone was in SF from, like, 2021 to 2023. Yeah. I understood what it was like to be, like, already. Totally. Yeah, 2021. That's when I met my first OpenAI account. Yeah, it was crazy. And I remember it was so funny because at the time, SF had not been doing well. So pretty much what it felt like was the concentration of founders in the city had risen because where my neighbors were used to doing a bunch of stuff, those people had all left. So the only people that were still in the city were people that really wanted to build.
1:20:14Nader Khalil:It was cheap tech. It was, yeah, it was also way cheaper. I feel really bad on anyone who is trying to get rent now. But there was Celo, they had a huge office. It's a blockchain. It took over the old Casper building. Yeah, they had the showroom and they had the, I think it was like the back warehouse. It was a huge office. And it's right across from OpenAI and Neuralink. Yeah, it was in the original arena. I named the arena because of it. Yeah, yeah. And so it was really exciting because like Roboflow, I think, I forgot. Mintlify. Yeah, Mintlify. Brev was there. You guys were there. I remember that was actually, it was there that you bought the AI.engineer domain.
1:20:51Nader Khalil:Yeah. I didn't know what I was going to do in AI. I want to do something. But it was kind of this, it was a really fun moment where we were kind of all in this cello space. And I don't know, it was a really cool community, especially being so early. Yeah. And so then you got me early cruise access. Oh, yeah. So there was a golden period of time that both cruise and we-mose were just free. Yeah, always. If you had, I mean, they're so back. Cellos opened again. So Nature Zoox is doing Nature Zoox. Zoox, a robo-taxi. So yeah. But yeah, and so it's actually really cool that you guys have this studio so close to Solo this rock climbing gin right around the corner it's like oh yeah so yeah it's an awesome block cool yeah just a little bit of San Francisco but I do think one thing I try to do with the podcast is like bring what it's like to be in San Francisco to the rest of the world and also just like maybe give El Tepe Otakuri yeah my favorite talk was in the city and yeah stick and trim and it was very good yeah and I guess what it's like to be in San Francisco, I think is just everyone seems to be super supportive.
1:21:55Nader Khalil:Sometimes I feel like the city believes in you more than you do. And even I don't know if you remember, but I remember posting my first blog post and I had met you on Twitter and you gave me like an hour of your time super randomly. And you kind of coached me through writing content for developers. And I was trying really hard not to come off salesy or plug myself. And so I kind of stripped all personality out of the blog post. And you brought that out. You're like, people don't, it's okay to talk about what you're doing. Like you don't have to be weird about it. And I remember just that, I think that really helped me kind of figure out what our voice is and not shy away from it.
1:22:26Nader Khalil:And so always really grateful for you. Hey, you inject your voice into like everything. It's actually a huge advantage
1:22:32Kyle Kranen:to be like very genuine about what you care about.
1:22:35Nader Khalil:Yeah, imagine like some random person DMs you and like, can you give me feedback on this blog post? And it's pretty boring. And you're like, fine. Like, you know, he looks interesting. I'll just do a Zoom call. And then you meet this guy. Yeah. He's so energetic.
1:22:48Kyle Kranen:just be right there
1:22:49Nader Khalil:and I think people are trained to write a certain way in school and yeah they never totally see there's like a broader world lots on learning
1:22:56Kyle Kranen:writing is thinking and like everyone thinks differently so like you might as well just like
1:23:01Nader Khalil:write your way cool well thank you for indulging with us really broad breaking discussion but I love like you guys are like sort of like the sort of young faces on video with so much energy and but like also a lot of technical depth and I think people have been involved for this session so thank you this was awesome thank you guys Thank you for everything that you've done. And yeah, good talk. Yeah. And yeah, the podcast, all the above. And see you at GTC. I really look forward to it. Yeah. Cool. Thanks. Awesome. Thank you. Thank you.
From the publisher
Join Kyle, Nader, Vibhu, and swyx live at NVIDIA GTC next week!
Now that AIE Europe tix are ~sold out, our attention turns to Miami and World’s Fair!
The definitive AI Accelerator chip company has more than 10xed this AI Summer:
And is now a $4.4 trillion megacorp… that is somehow still moving like a startup. We are blessed to have a unique relationship with our first ever NVIDIA guests: Kyle Kranen who gave a great inference keynote at the first World’s Fair and is one of the leading architects of NVIDIA Dynamo (a Datacenter scale inference framework supporting SGLang, TRT-LLM, vLLM), and Nader Khalil, a friend of swyx from our days in Celo in The Arena, who has been drawing developers at GTC since before they were even a glimmer in the eye of NVIDIA:
Nader discusses how NVIDIA Brev has drastically reduced the barriers to entry for developers to get a top of the line GPU up and running, and Kyle explains NVIDIA Dynamo as a data center scale inference engine that optimizes serving by scaling out, leveraging techniques like prefill/decode disaggregation, scheduling, and Kubernetes-based orchestration, framed around cost, latency, and quality tradeoffs.
We also dive into Jensen’s “SOL” (Speed of Light) first-principles urgency concept, long-context limits and model/hardware co-design, internal model APIs (https://build.nvidia.com), and upcoming Dynamo and agent sessions at GTC.
Full Video pod on YouTube
Timestamps
00:00 Agent Security Basics00:39 Podcast Welcome and Guests07:19 Acquisition and DevEx Shift13:48 SOL Culture and Dynamo Setup27:38 Why Scale Out Wins29:02 Scale Up Limits Explained30:24 From Laptop to Multi Node33:07 Cost Quality Latency Tradeoffs38:42 Disaggregation Prefill vs Decode41:05 Kubernetes Scaling with Grove43:20 Context Length and Co Design57:34 Security Meets Agents58:01 Agent Permissions Model59:10 Build Nvidia Inference Gateway01:01:52 Hackathons And Autonomy Dreams01:10:26 Local GPUs And Scaling Inference01:15:31 Long Running Agents And SF Reflections
Transcript
Agent Security Basics
Nader: Agents can do three things. They can access your files, they can access the internet, and then now they can write custom code and execute it. You literally only let an agent do two of those three things. If you can access your files and you can write custom code, you don’t want internet access because that’s one to see full vulnerability, right?
If you have access to internet and your file system, you should know the full scope of what that agent’s capable of doing. Otherwise, now we can get injected or something that can happen. And so that’s a lot of what we’ve been thinking about is like, you know, how do we both enable this because it’s clearly the future.
But then also, you know, what, what are these enforcement points that we can start to like protect?
swyx: All right.
Podcast Welcome and Guests
swyx: Welcome to the Lean Space podcast in the Chromo studio. Welcome to all the guests here. Uh, we are back with our guest host Viu. Welcome. Good to have you back. And our friends, uh, Netter and Kyle from Nvidia. Welcome.
Kyle: Yeah, thanks for having us.
swyx: Yeah, thank you. Actually, I don’t even know your titles.
Uh, I know you’re like architect something of Dynamo.
Kyle: Yeah. I, I’m one of the engineering leaders [00:01:00] and a architects of Dynamo.
swyx: And you’re director of something and developers, developer tech.
Nader: Yeah.
swyx: You’re the developers, developers, developers guy at nvidia,
Nader: open source agent marketing, brev,
swyx: and like
Nader: Devrel tools and stuff.
swyx: Yeah. Been
Nader: the focus.
swyx: And we’re, we’re kind of recording this ahead of Nvidia, GTC, which is coming to town, uh, again, uh, or taking over town, uh, which, uh, which we’ll all be at. Um, and we’ll talk a little bit about your sessions and stuff. Yeah.
Nader: We’re super excited for it.
GTC Booth Stunt Stories
swyx: One of my favorite memories for Nader, like you always do like marketing stunts and like while you were at Rev, you like had this surfboard that you like, went down to GTC with and like, NA Nvidia apparently, like did so much that they bought you.
Like what, what was that like? What was that?
Nader: Yeah. Yeah, we, we, um. Our logo was a chaka. We, we, uh, we were always just kind of like trying to keep true to who we were. I think, you know, some stuff, startups, you’re like trying to pretend that you’re a bigger, more mature company than you are. And it was actually Evan Conrad from SF Compute who was just like, you guys are like previous
swyx: guest.
Yeah.
Nader: Amazing. Oh, really? Amazing. Yeah. He was just like, guys, you’re two dudes in the room. Why are you [00:02:00] pretending that you’re not? Uh, and so then we were like, okay, let’s make the logo a shaka. We brought surfboards to our booth to GTC and the energy was great. Yeah. Some palm trees too. They,
Kyle: they actually poked out over like the, the walls so you could, you could see the bread booth.
Oh, that’s so funny. And
Nader: no one else,
Kyle: just from very far away.
Nader: Oh, so you remember it back
Kyle: then? Yeah I remember it pre-acquisition. I was like, oh, those guys look cool,
Nader: dude. That makes sense. ‘cause uh, we, so we signed up really last minute, and so we had the last booth. It was all the way in the corner. And so I was, I was worried that no one was gonna come.
So that’s why we had like the palm trees. We really came in with the surfboards. We even had one of our investors bring her dog and then she was just like walking the dog around to try to like, bring energy towards our booth. Yeah.
swyx: Steph.
Kyle: Yeah. Yeah, she’s the best,
swyx: you know, as a conference organizer, I love that.
Right? Like, it’s like everyone who sponsors a conference comes, does their booth. They’re like, we are changing the future of ai or something, some generic b******t and like, no, like actually try to stand out, make it fun, right? And people still remember it after three years.
Nader: Yeah. Yeah. You know what’s so funny?
I’ll, I’ll send, I’ll give you this clip if you wanna, if you wanna add it [00:03:00] in, but, uh, my wife was at the time fiance, she was in medical school and she came to help us. ‘cause it was like a big moment for us. And so we, we bought this cricket, it’s like a vinyl, like a vinyl, uh, printer. ‘cause like, how else are we gonna label the surfboard?
So, we got a surfboard, luckily was able to purchase that on the company card. We got a cricket and it was just like fine tuning for enterprises or something like that, that we put on the. On the surfboard and it’s 1:00 AM the day before we go to GTC. She’s helping me put these like vinyl stickers on.
And she goes, you son of, she’s like, if you pull this off, you son of a b***h. And so, uh, right. Pretty much after the acquisition, I stitched that with the mag music acquisition. I sent it to our family group chat. Oh
swyx: Yeah. No, well, she, she made a good choice there. Was that like basically the origin story for Launchable is that we, it was, and maybe we should explain what Brev is and
Nader: Yeah.
Yeah. Uh, I mean, brev is just, it’s a developer tool that makes it really easy to get a GPU. So we connect a bunch of different GPU sources. So the basics of it is like, how quickly can we SSH you into a G, into a GPU and whenever we would talk to users, they wanted A GPU. They wanted an A 100. And if you go to like any cloud [00:04:00] provisioning page, usually it’s like three pages of forms or in the forms somewhere there’s a dropdown.
And in the dropdown there’s some weird code that you know to translate to an A 100. And I remember just thinking like. Every time someone says they want an A 100, like the piece of text that they’re telling me that they want is like, stuffed away in the corner. Yeah. And so we were like, what if the biggest piece of text was what the user’s asking for?
And so when you go to Brev, it’s just big GPU chips with the type that you want with
swyx: beautiful animations that you worked on pre, like pre you can, like, now you can just prompt it. But back in the day. Yeah. Yeah. Those were handcraft, handcrafted artisanal code.
Nader: Yeah. I was actually really proud of that because, uh, it was an, i I made it in Figma.
Yeah. And then I found, I was like really struggling to figure out how to turn it from like Figma to react. So what it actually is, is just an SVG and I, I have all the styles and so when you change the chip, whether it’s like active or not it changes the SVG code and that somehow like renders like, looks like it’s animating, but it, we just had the transition slow, but it’s just like the, a JavaScript function to change the like underlying SVG.
Yeah. And that was how I ended up like figuring out how to move it from from Figma. But yeah, that’s Art Artisan. [00:05:00]
Kyle: Speaking of marketing stunts though, he actually used those SVGs. Or kind of use those SVGs to make these cards.
Nader: Oh yeah. Like
Kyle: a GPU gift card Yes. That he handed out everywhere. That was actually my first impression of that
Nader: one.
Yeah,
swyx: yeah, yeah.
Nader: Yeah.
swyx: I think I still have one of them.
Nader: They look great.
Kyle: Yeah.
Nader: I have a ton of them still actually in our garage, which just, they don’t have labels. We should honestly like bring, bring them back. But, um, I found this old printing press here, actually just around the corner on Ven ness. And it’s a third generation San Francisco shop.
And so I come in an excited startup founder trying to like, and they just have this crazy old machinery and I’m in awe. ‘cause the the whole building is so physical. Like you’re seeing these machines, they have like pedals to like move these saws and whatever. I don’t know what this machinery is, but I saw all three generations.
Like there’s like the grandpa, the father and the son, and the son was like, around my age. Well,
swyx: it’s like a holy, holy trinity.
Nader: It’s funny because we, so I just took the same SVG and we just like printed it and it’s foil printing, so they make a a, a mold. That’s like an inverse of like the A 100 and then they put the foil on it [00:06:00] and then they press it into the paper.
And I remember once we got them, he was like, Hey, don’t forget about us. You know, I guess like early Apple and Cisco’s first business cards were all made there. And so he was like, yeah, we, we get like the startup businesses but then as they mature, they kind of go somewhere else. And so I actually, I think we were talking with marketing about like using them for some, we should go back and make some cards.
swyx: Yeah, yeah, yeah. You know, I remember, you know, as a very, very small breadth investor, I was like, why are we spending time like, doing these like stunts for GPUs? Like, you know, I think like as a, you know, typical like cloud hard hardware person, you go into an AWS you pick like T five X xl, whatever, and it’s just like from a list and you look at the specs like, why animate this GP?
And, and I, I do think like it just shows the level of care that goes throughout birth and Yeah. And now, and also the, and,
Nader: and Nvidia. I think that’s what the, the thing that struck me most when we first came in was like the amount of passion that everyone has. Like, I think, um, you know, you talk to, you talk to Kyle, you talk to, like, every VP that I’ve met at Nvidia goes so close to the metal.
Like, I remember it was almost a year ago, and like my VP asked me, he’s like, Hey, [00:07:00] what’s cursor? And like, are you using it? And if so, why? Surprised at this, and he downloaded Cursor and he was asking me to help him like, use it. And I thought that was, uh, or like, just show him what he, you know, why we were using it.
And so, the amount of care that I think everyone has and the passion, appreciate, passion and appreciation for the moment. Right. This is a very unique time. So it’s really cool to see everyone really like, uh, appreciate that.
swyx: Yeah.
Acquisition and DevEx Shift
swyx: One thing I wanted to do before we move over to sort of like research topics and, uh, the, the stuff that Kyle’s working on is just tell the story of the acquisition, right?
Like, not many people have been, been through an acquisition with Nvidia. What’s it like? Uh, what, yeah, just anything you’d like to say.
Nader: It’s a crazy experience. I think, uh, you know, we were the thing that was the most exciting for us was. Our goal was just to make it easier for developers.
We wanted to find access to GPUs, make it easier to do that. And then all, oh, actually your question about launchable. So launchable was just make one click exper, like one click deploys for any software on top of the GPU. Mm-hmm. And so what we really liked about Nvidia was that it felt like we just got a lot more resources to do all of that.
I think, uh, you [00:08:00] know, NVIDIA’s goal is to make things as easy for developers as possible. So there was a really nice like synergy there. I think that, you know, when it comes to like an acquisition, I think the amount that the soul of the products align, I think is gonna be. Is going speak to the success of the acquisition.
Yeah. And so it in many ways feels like we’re home. This is a really great outcome for us. Like we you know, I love brev.nvidia.com. Like you should, you should use it’s, it’s the
Kyle: front page for GPUs.
Nader: Yeah. Yeah. If you want GP views,
Kyle: you go there, get
swyx: it there, and it’s like internally is growing very quickly.
I, I don’t remember You said some stats there.
Nader: Yeah, yeah, yeah. It’s, uh, I, I wish I had the exact numbers, but like internally, externally, it’s been growing really quickly. We’ve been working with a bunch of partners with a bunch of different customers and ISVs, if you have a solution that you want someone that runs on the GPU and you want people to use it quickly, we can bundle it up, uh, in a launchable and make it a one click run.
If you’re doing things and you want just like a sandbox or something to run on, right. Like open claw. Huge moment. Super exciting. Our, uh, and we’ll talk into it more, but. You know, internally, people wanna run this, and you, we know we have to be really careful from the security implications. Do we let this run on the corporate network?
Security’s guidance was, Hey, [00:09:00] run this on breath, it’s in, you know, it’s, it’s, it’s a vm, it’s sitting in the cloud, it’s off the corporate network. It’s isolated. And so that’s been our stance internally and externally about how to even run something like open call while we figure out how to run these things securely.
But yeah,
swyx: I think there’s also like, you almost like we’re the right team at the right time when Nvidia is starting to invest a lot more in developer experience or whatever you call it. Yeah. Uh, UX or I don’t know what you call it, like software. Like obviously NVIDIA is always invested in software, but like, there’s like, this is like a different audience.
Yeah. It’s a
Nader: wider
Kyle: developer base.
swyx: Yeah. Right.
Nader: Yeah. Yeah. You know, it’s funny, it’s like, it’s not, uh,
swyx: so like, what, what is it called internally? What, what is this that people should be aware that is going on there?
Nader: Uh, what, like developer experience
swyx: or, yeah, yeah. Is it’s called just developer experience or is there like a broader strategy here
Nader: in Nvidia?
Um, Nvidia always wants to make a good developer experience. The thing is and a lot of the technology is just really complicated. Like, it’s not, it’s uh, you know, I think, um. The thing that’s been really growing or the AI’s growing is having a huge moment, not [00:10:00] because like, let’s say data scientists in 2018, were quiet then and are much louder now.
The pie is com, right? There’s a whole bunch of new audiences. My mom’s wondering what she’s doing. My sister’s learned, like taught herself how to code. Like the, um, you know, I, I actually think just generally AI’s a big equalizer and you’re seeing a more like technologically literate society, I guess.
Like everyone’s, everyone’s learning how to code. Uh, there isn’t really an excuse for that. And so building a good UX means that you really understand who your end user is. And when your end user becomes such a wide, uh, variety of people, then you have to almost like reinvent the practice, right? Yeah. You have
Kyle: to, and actually build more developer ux, right?
Because the, there are tiers of developer base that were added. You know, the, the hackers that are building on top of open claw, right? For example, have never used gpu. They don’t know what kuda is. They, they, they just want to run something.
Nader: Yeah.
Kyle: You need new UX that is not just. Hey, you know, how do you program something in Cuda and run it?
And then, and then we built, you know, like when Deep Learning was getting big, we built, we built Torch and, and, but so recently the amount of like [00:11:00] layers that are added to that developer stack has just exploded because AI has become ubiquitous. Everyone’s using it in different ways. Yeah. It’s
Nader: moving fast in every direction.
Vertical, horizontal.
Vibhu: Yeah. You guys, you even take it down to hardware, like the DGX Spark, you know, it’s, it’s basically the same system as just throwing it up on big GPU cluster.
Nader: Yeah, yeah, yeah. It’s amazing. Blackwell.
swyx: Yeah. Uh, we saw the preview at the last year’s GTC and that was one of the better performing, uh, videos so far, and video coverage so far.
Awesome. This will beat it. Um,
Nader: that was
swyx: actually, we have fingers
Nader: crossed. Yeah.
DGX Spark and Remote Access
Nader: Even when Grace Blackwell or when, um, uh, DGX Spark was first coming out getting to be involved in that from the beginning of the developer experience. And it just comes back to what you
swyx: were involved.
Nader: Yeah. St. St.
swyx: Mars.
Nader: Yeah. Yeah. I mean from, it was just like, I, I got an email, we just got thrown into the loop and suddenly yeah, I, it was actually really funny ‘cause I’m still pretty fresh from the acquisition and I’m, I’m getting an email from a bunch of the engineering VPs about like, the new hardware, GPU chip, like we’re, or not chip, but just GPU system that we’re putting out.
And I’m like, okay, cool. Matters. Now involved with this for the ux, I’m like. What am I gonna do [00:12:00] here? So, I remember the first meeting, I was just like kind of quiet as I was hearing engineering VPs talk about what this box could be, what it could do, how we should use it. And I remember, uh, one of the first ideas that people were idea was like, oh, the first thing that it was like, I think a quote was like, the first thing someone’s gonna wanna do with this is get two of them and run a Kubernetes cluster on top of them.
And I was like, oh, I think I know why I’m here. I was like, the first thing we’re doing is easy. SSH into the machine. And then, and you know, just kind of like scoping it down of like, once you can do that every, you, like the person who wants to run a Kubernetes cluster onto Sparks has a higher propensity for pain, then, then you know someone who buys it and wants to run open Claw right now, right?
If you can make sure that that’s as effortless as possible, then the rest becomes easy. So there’s a tool called Nvidia Sync. It just makes the SSH connection really simple. So, you know, if you think about it like. If you have a Mac, uh, or a PC or whatever, if you have a laptop and you buy this GPU and you want to use it, you should be able to use it like it’s A-A-G-P-U in the cloud, right?
Um, but there’s all this friction of like, how do you actually get into that? That’s part of [00:13:00] Revs value proposition is just, you know, there’s a CLI that wraps SSH and makes it simple. And so our goal is just get you into that machine really easily. And one thing we just launched at CES, it’s in, it’s still in like early access.
We’re ironing out some kinks, but it should be ready by GTC. You can register your spark on Brev. And so now if you
swyx: like remote managed yeah, local hardware. Single pane of glass. Yeah. Yeah. Because Brev can already manage other clouds anyway, right?
Vibhu: Yeah, yeah. And you use the spark on Brev as well, right?
Nader: Yeah. But yeah, exactly. So, so you, you, so you, you set it up at home you can run the command on it, and then it gets it’s essentially it’ll appear in your Brev account, and then you can take your laptop to a Starbucks or to a cafe, and you’ll continue to use your, you can continue use your spark just like any other cloud node on Brev.
Yeah. Yeah. And it’s just like a pre-provisioned center
swyx: in your
Nader: home. Yeah, exactly.
swyx: Yeah. Yeah.
Vibhu: Tiny little data center.
Nader: Tiny little, the size of
Vibhu: your phone.
SOL Culture and Dynamo Setup
swyx: One more thing before we move on to Kyle. Just have so many Jensen stories and I just love, love mining Jensen stories. Uh, my favorite so far is SOL. Uh, what is, yeah, what is S-O-L-S-O-L
Nader: is actually, i, I think [00:14:00] of all the lessons I’ve learned, that one’s definitely my favorite.
Kyle: It’ll always stick with you.
Nader: Yeah. Yeah. I, you know, in your startup, everything’s existential, right? Like we’ve, we’ve run out of money. We were like, on the risk of, of losing payroll, we’ve had to contract our team because we l ran outta money. And so like, um, because of that you’re really always forcing yourself to I to like understand the root cause of everything.
If you get a date, if you get a timeline, you know exactly why that date or timeline is there. You’re, you’re pushing every boundary and like, you’re not just say, you’re not just accepting like a, a no. Just because. And so as you start to introduce more layers, as you start to become a much larger organization, SOL is is essentially like what is the physics, right?
The speed of light moves at a certain speed. So if flight’s moving some slower, then you know something’s in the way. So before trying to like layer reality back in of like, why can’t this be delivered at some date? Let’s just understand the physics. What is the theoretical limit to like, uh, how fast this can go?
And then start to tell me why. ‘cause otherwise people will start telling you why something can’t be done. But actually I think any great leader’s goal is just to create urgency. Yeah. [00:15:00] There’s an infinite
Kyle: create compelling events, right?
Nader: Yeah.
Kyle: Yeah. So l is a term video is used to instigate a compelling event.
You say this is done. How do we get there? What is the minimum? As much as necessary, as little as possible thing that it takes for us to get exactly here and. It helps you just break through a bunch of noise.
swyx: Yeah.
Kyle: Instantly.
swyx: One thing I’m unclear about is, can only Jensen use the SOL card? Like, oh, no, no, no.
Not everyone get the b******t out because obviously it’s Jensen, but like, can someone else be like, no, like
Kyle: frontline engineers use it.
Nader: Yeah. Every, I think it’s not so much about like, get the b******t out. It’s like, it’s like, give me the root understanding, right? Like, if you tell me something takes three weeks, it like, well, what’s the first principles?
Yeah, the first principles. It’s like, what’s the, what? Like why is it three weeks? What is the actual yeah. What’s the actual limit of why this is gonna take three weeks? If you’re gonna, if you, if let’s say you wanted to buy a new computer and someone told you it’s gonna be here in five days, what’s the SOL?
Well, like the SOL is like, I could walk into a Best Buy and pick it up for you. Right? So then anything that’s like beyond that is, and is that practical? Is that how we’re gonna, you know, let’s say give everyone in the [00:16:00] company a laptop, like obviously not. So then like that’s the SOL and then it’s like, okay, well if we have to get more than 10, suddenly there might be some, right?
And so now we can kind of piece the reality back.
swyx: So, so this is the. Paul Graham do things that don’t scale. Yeah. And this is also the, what people would now call behi agency. Yeah.
Kyle: It’s actually really interesting because there’s a, there’s a second hardware angle to SOL that like doesn’t come up for all the org sol is used like culturally at a
swyx: media for everything.
I’m also mining for like, I think that can be annoying sometimes. And like someone keeps going IOO you and you’re like, guys, like we have to be stable. We have to, we to f*****g plan. Yeah.
Kyle: It’s an interesting balance.
Nader: Yeah. I encounter that with like, actually just with, with Alec, right? ‘cause we, we have a new conference so we need to launch, we have, we have goals of what we wanna launch by, uh, by the conference and like, yeah.
At the end of the day, where is
swyx: this GTC?
Nader: Um, well this is like, so we, I mean we did it for CES, we did for GT CDC before that we’re doing it for GTC San Jose. So I mean, like every, you know, we have a new moment. Um, and we want to launch something. Yeah. And we want to do so at SOL and that does mean that some, there’s some level of prioritization that needs [00:17:00] to happen.
And so it, it is difficult, right? I think, um, you have to be careful with what you’re pushing. You know, stability is important and that should be factored into S-O-L-S-O-L isn’t just like, build everything and let it break, you know, that, that’s part of the conversation. So as you’re laying, layering in all the details, one of them might be, Hey, we could build this, but then it’s not gonna be stable for X, y, z reasons.
And so that was like, one of our conversations for CES was, you know, hey, like we, we can get this into early access registering your spark with brev. But there are a lot of things that we need to do in order to feel really comfortable from a security perspective, right? There’s a lot of networking involved before we deliver that to users.
So it’s like, okay. Let’s get this to a point where we can at least let people experiment with it. We had it in a booth, we had it in Jensen’s keynote, and then let’s go iron out all the networking kinks. And that’s not easy. And so, uh, that can come later. And so that was the way that we layered that back in.
Yeah. But
Kyle: It’s not really about saying like, you don’t have to do the, the maintenance or operational work. It’s more about saying, you know, it’s kind of like [00:18:00] highlights how progress is incremental, right? Like, what is the minimum thing that we can get to. And then there’s SOL for like every component after that.
But there’s the SOL to get you, get you to the, the starting line. And that, that’s usually how it’s asked. Yeah. On the other side, you know, like SOL came out of like hardware at Nvidia. Right. So SOL is like literally if we ran the accelerator or the GPU with like at basically full speed with like no other constraints, like how FAST would be able to make a program go.
swyx: Yeah. Yeah. Right.
Kyle: So
swyx: in, in training that like, you know, then you work back to like some percentage of like MFU for example.
Kyle: Yeah, that’s a, that’s a great example. So like, there’s an, there’s an S-O-L-M-F-U, and then there’s like, you know, what’s practically achievable.
swyx: Cool. Should we move on to sort of, uh, Kyle’s side?
Uh, Kyle, you’re coming more from the data science world. And, uh, I, I mean I always, whenever, whenever I meet someone who’s done working in tabular stuff, graph neural networks, time series, these are basically when I go to new reps, I go to ICML, I walk the back halls. There’s always like a small group of graph people.
Yes. Absolute small group of tabular people. [00:19:00] And like, there’s no one there. And like, it’s very like, you know what I mean? Like, yeah, no, like it’s, it’s important interesting work if you care about solving the problems that they solve.
Kyle: Yeah.
swyx: But everyone else is just LMS all the time.
Kyle: Yeah. I mean it’s like, it’s like the black hole, right?
Has the event horizon reached this yet in nerves? Um,
swyx: but like, you know, those are, those are transformers too. Yeah. And, and those are also like interesting things. Anyway, uh, I just wanted to spend a little bit of time on, on those, that background before we go into Dynamo, uh, proper.
Kyle: Yeah, sure. I took a different path to Nvidia than that, or I joined six years ago, seven, if you count, when I was an intern.
So I joined Nvidia, like right outta college. And the first thing I jumped into was not what I’d done in, during internship, which was like, you know, like some stuff for autonomous vehicles, like heavyweight object detection. I jumped into like, you know, something, I’m like, recommenders, this is popular. And
swyx: yeah, he did Rexi
Kyle: as well.
Yeah, Rexi. Yeah. I mean that, that was the taboo data at the time, right? You have tables of like, audience qualities and item qualities, and you’re trying to figure out like which member of [00:20:00] the audience matches which item or, or more practically which item matches which member of the audience. And at the time, really it was like we were trying to enable.
Uh, recommender, which had historically been like a little bit of a CP based workflow into something that like, ran really well in GPUs. And it’s since been done. Like there are a bunch of libraries for Axis that run on GPUs. Uh, the common models like Deeplearning recommendation model, which came outta meta and the wide and deep model, which was used or was released by Google were very accelerated by GPUs using, you know, the fast HBM on the chips, especially to do, you know, vector lookups.
But it was very interesting at the time and super, super relevant because like we were starting to get like. This explosion of feeds and things that required rec recommenders to just actively be on all the time. And sort of transitioned that a little bit towards graph neural networks when I discovered them because I was like, okay, you can actually use graphical neural networks to represent like, relationships between people, items, concepts, and that, that interested me.
So I jumped into that at [00:21:00] Nvidia and, and got really involved for like two-ish years.
swyx: Yeah. Uh, and something I learned from Brian Zaro Yeah. Is that you can just kind of choose your own path in Nvidia.
Kyle: Oh my God. Yeah.
swyx: Which is not a normal big Corp thing. Yeah. Like you, you have a lane, you stay in your lane.
Nader: I think probably the reason why I enjoy being in a, a big company, the mission is the boss probably from a startup guy. Yeah. The mission
swyx: is the boss.
Nader: Yeah. Uh, it feels like a big game of pickup basketball. Like, you know, if you play one, if you wanna play basketball, you just go up to the court and you’re like, Hey look, we’re gonna play this game and we need three.
Yeah. And you just like find your three. That’s honestly for every new initiative that’s what it feels like. Yeah.
Vibhu: It also like shows, right? Like Nvidia. Just releasing state-of-the-art stuff in every domain. Yeah. Like, okay, you expect foundation models with Nemo tron voice just randomly parakeet.
Call parakeet just comes out another one, uh, voice. The
Kyle: video voice team has always been producing.
Vibhu: Yeah. There’s always just every other domain of paper that comes out, dataset that comes out. It’s like, I mean, it also stems back to what Nvidia has to do, right? You have to make chips years before they’re actually produced.
Right? So you need to know, you need to really [00:22:00] focus. The
Kyle: design process starts like
Vibhu: exactly
Kyle: three to five years before the chip gets to the market.
Vibhu: Yeah. I, I’m curious more about what that’s like, right? So like, you have specialist teams. Is it just like, you know, people find an interest, you go in, you go deep on whatever, and that kind of feeds back into, you know, okay, we, we expect predictions.
Like the internals at Nvidia must be crazy. Right? You know? Yeah. Yeah. You know, you, you must. Not even without selling to people, you have your own predictions of where things are going. Yeah. And they’re very based, very grounded. Right?
Kyle: Yeah. It, it, it’s really interesting. So there’s like two things that I think that Amed does, which are quite interesting.
Uh, one is like, we really index into passion. There’s a big. Sort of organizational top sound push to like ensure that people are working on the things that they’re passionate about. So if someone proposes something that’s interesting, many times they can just email someone like way up the chain that they would find this relevant and say like, Hey, can I go work on this?
Nader: It’s actually like I worked at a, a big company for a couple years before, uh, starting on my startup journey and like, it felt very weird if you were to like email out of chain, if that makes [00:23:00] sense. Yeah. The emails at Nvidia are like mosh pits
swyx: shoot,
Nader: and it’s just like 60 people, just whatever. And like they’re, there’s this,
swyx: they got messy like, reply all you,
Nader: oh, it’s in, it’s insane.
It’s insane. They just
Kyle: help. You know, Maxim,
Nader: the context. But, but that’s actually like, I’ve actually, so this is a weird thing where I used to be like, why would we send emails? We have Slack. I am the entire, I’m the exact opposite. I feel so bad for anyone who’s like messaging me on Slack ‘cause I’m so unresponsive.
swyx: Your email
Nader: Maxi, email Maxim. I’m email maxing Now email is a different, email is perfect because man, we can’t work together. I’m email is great, right? Because important threads get bumped back up, right? Yeah, yeah. Um, and so Slack doesn’t do that. So I just have like this casino going off on the right or on the left and like, I don’t know which thread was from where or what, but like the threads get And then also just like the subject, so you can have like working threads.
I think what’s difficult is like when you’re small, if you’re just not 40,000 people I think Slack will work fine, but there’s, I don’t know what the inflection point is. There is gonna be a point where that becomes really messy and you’ll actually prefer having email. ‘cause you can have working threads.
You can cc more than nine people in a thread.
Kyle: You can fork stuff.
Nader: You can [00:24:00] fork stuff, which is super nice and just like y Yeah. And so, but that is part of where you can propose a plan. You can also just. Start, honestly, momentum’s the only authority, right? So like, if you can just start, start to make a little bit of progress and show someone something, and then they can try it.
That’s, I think what’s been, you know, I think the most effective way to push anything for forward. And that’s both at Nvidia and I think just generally.
Kyle: Yeah, there’s, there’s the other concept that like is explored a lot at Nvidia, which is this idea of a zero billion dollar business. Like market creation is a big thing at Nvidia.
Like,
swyx: oh, you want to go and start a zero billion dollar business?
Kyle: Jensen says, we are completely happy investing in zero billion dollar markets. We don’t care if this creates revenue. It’s important for us to know about this market. We think it will be important in the future. It can be zero billion dollars for a while.
I’m probably minging as words here for, but like, you know, like, I’ll give an example. NVIDIA’s been working on autonomous driving for a a long time,
swyx: like an Nvidia car.
Kyle: No, they, they’ve
Vibhu: used the Mercedes, right? They’re around the HQ and I think it finally just got licensed out. Now they’re starting to be used quite a [00:25:00] bit.
For 10 years you’ve been seeing Mercedes with Nvidia logos driving.
Kyle: If you’re in like the South San Santa Clara, it’s, it’s actually from South. Yeah. So, um. Zero billion dollar markets are, are a thing like, you know, Jensen,
swyx: I mean, okay, look, cars are not a zero billion dollar market. But yeah, that’s a bad example.
Nader: I think, I think he’s, he’s messaging, uh, zero today, but, or even like internally, right? Like, like it’s like, uh, an org doesn’t have to ruthlessly find revenue very quickly to justify their existence. Right. Like a lot of the important research, a lot of the important technology being developed that, that’s kind of
Kyle: where research, research is very ide ideologically free at Nvidia.
Yeah. Like they can pursue things that they were
swyx: Were you research officially?
Kyle: I was never in research. Officially. I was always in engineering. Yeah. We in, I’m in an org called Deep Warning Algorithms, which is basically just how do we make things that are relevant to deep warning go fast.
swyx: That sounds freaking cool.
Vibhu: And I think a lot of that is underappreciated, right? Like time series. This week Google put out time. FF paper. Yeah. A new time series, paper res. Uh, Symantec, ID [00:26:00] started applying Transformers LMS to Yes. Rec system. Yes. And when you think the scale of companies deploying these right. Amazon recommendations, Google web search, it’s like, it’s huge scale and
Kyle: Yeah.
Vibhu: You want fast?
Kyle: Yeah. Yeah. Yeah. Actually it’s, it, I, there’s a fun moment that brought me like full circle. Like, uh, Amazon Ads recently gave a talk where they talked about using Dynamo for generative recommendation, which was like super, like weirdly cathartic for me. I’m like, oh my God. I’ve, I’ve supplanted what I was working on.
Like, I, you’re using LMS now to do what I was doing five years ago.
swyx: Yeah. Amazing. And let’s go right into Dynamo. Uh, maybe introduce Yeah, sure. To the top down and Yeah.
Kyle: I think at this point a lot of people are familiar with the term of inference. Like funnily enough, like I went from, you know, inference being like a really niche topic to being something that’s like discussed on like normal people’s Twitter feeds.
It’s,
Nader: it’s on billboards
Kyle: here now. Yeah. Very, very strange. Driving, driving, seeing just an inference ad on 1 0 1 inference at scale is becoming a lot more important. Uh, we have these moments like, you know, open claw where you have these [00:27:00] agents that take lots and lots of tokens, but produce, incredible results.
There are many different aspects of test time scaling so that, you know, you can use more inference to generate a better result than if you were to use like a short amount of inference. There’s reasoning, there’s quiring, there’s, adding agency to the model, allowing it to call tools and use skills.
Dyno sort came about at Nvidia. Because myself and a couple others were, were sort of talking about the, these concepts that like, you know, you have inference engines like VLMS, shelan, tenor, TLM and they have like one single copy. They, they, they sort of think about like things as like one single copy, like one replica, right?
Why Scale Out Wins
Kyle: Like one version of the model. But when you’re actually serving things at scale, you can’t just scale up that replica because you end up with like performance problems. There’s a scaling limit to scaling up replicas. So you actually have to scale out to use a, maybe some Kubernetes type terminology.
We kind of realized that there was like. A lot of potential optimization that we could do in scaling out and building systems for data [00:28:00] center scale inference. So Dynamo is this data center scale inference engine that sits on top of the frameworks like VLM Shilling and 10 T lm and just makes things go faster because you can leverage the economy of scale.
The fact that you have KV cash, which we can define a little bit later, uh, in all these machines that is like unique and you wanna figure out like the ways to maximize your cash hits or you want to employ new techniques in inference like disaggregation, which Dynamo had introduced to the world in, in, in March, not introduced, it was a academic talk, but beforehand.
But we are, you know, one of the first frameworks to start, supporting it. And we wanna like, sort of combine all these techniques into sort of a modular framework that allows you to. Accelerate your inference at scale.
Nader: By the way, Kyle and I became friends on my first date, Nvidia, and I always loved, ‘cause like he always teaches me
swyx: new things.
Yeah. By the way, this is why I wanted to put two of you together. I was like, yeah, this is, this is gonna be
Kyle: good. It’s very, it’s very different, you know, like we’ve, we, we’ve, we’ve talked to each other a bunch [00:29:00] actually, you asked like, why, why can’t we scale up?
Nader: Yeah.
Scale Up Limits Explained
Nader: model, you said model replicas.
Kyle: Yeah. So you, so scale up means assigning more
swyx: heavier?
Kyle: Yeah, heavier. Like making things heavier. Yeah, adding more GPUs. Adding more CPUs. Scale out is just like having a barrier saying, I’m gonna duplicate my representation of the model or a representation of this microservice or something, and I’m gonna like, replicate it Many times.
Handle, load. And the reason that you can’t scale, scale up, uh, past some points is like, you know, there, there, there are sort of hardware bounds and algorithmic bounds on, on that type of scaling. So I’ll give you a good example that’s like very trivial. Let’s say you’re on an H 100. The Maxim ENV link domain for H 100, for most Ds H one hundreds is heus, right?
So if you scaled up past that, you’re gonna have to figure out ways to handle the fact that now for the GPUs to communicate, you have to do it over Infin band, which is still very fast, but is not as fast as ENV link.
swyx: Is it like one order of magnitude, like hundreds or,
Kyle: it’s about an order of magnitude?
Yeah. Okay. Um, so
swyx: not terrible.
Kyle: [00:30:00] Yeah. I, I need to, I need to remember the, the data sheet here, like, I think it’s like about 500 gigabytes. Uh, a second unidirectional for ENV link, and about 50 gigabytes a second unidirectional for Infin Band. I, it, it depends on the, the generation.
swyx: I just wanna set this up for people who are not familiar with these kinds of like layers and the trash speed
Vibhu: and all that.
Of course.
From Laptop to Multi Node
Vibhu: Also, maybe even just going like a few steps back before that, like most people are very familiar with. You see a, you know, you can use on your laptop, whatever these steel viol, lm you can just run inference there. All, there’s all, you can, you
can run it on that
Vibhu: laptop. You can run on laptop.
Then you get to, okay, uh, models got pretty big, right? JLM five, they doubled the size, so mm-hmm. Uh, what do you do when you have to go from, okay, I can get 128 gigs of memory. I can run it on a spark. Then you have to go multi GPU. Yeah. Okay. Multi GPU, there’s some support there. Now, if I’m a company and I don’t have like.
I’m not hiring the best researchers for this. Right. But I need to go [00:31:00] multi-node, right? I have a lot of servers. Okay, now there’s efficiency problems, right? You can have multiple eight H 100 nodes, but, you know, is that as a, like, how do you do that efficiently?
Kyle: Yeah. How do you like represent them? How do you choose how to represent the model?
Yeah, exactly right. That’s a, that’s like a hard question. Everyone asks, how do you size oh, I wanna run GLM five, which just came out new model. There have been like four of them in the past week, by the way, like a bunch of new models.
swyx: You know why? Right? Deep seek.
Kyle: No comment. Oh. Yeah, but Ggl, LM five, right?
We, we have this, new model. It’s, it’s like a large size, and you have to figure out how to both scale up and scale out, right? Because you have to find the right representation that you care about. Everyone does this differently. Let’s be very clear. Everyone figures this out in their own path.
Nader: I feel like a lot of AI or ML even is like, is like this. I think people think, you know, I, I was, there was some tweet a few months ago that was like, why hasn’t fine tuning as a service taken off? You know, that might be me. It might have been you. Yeah. But people want it to be such an easy recipe to follow.
But even like if you look at an ML model and specific
Kyle: to you Yeah,
Nader: yeah.
Kyle: And the [00:32:00] model,
Nader: the situation, and there’s just so much tinkering, right? Like when you see a model that has however many experts in the ME model, it’s like, why that many experts? I don’t, they, you know, they tried a bunch of things and that one seemed to do better.
I think when it comes to how you’re serving inference, you know, you have a bunch of decisions to make and there you can always argue that you can take something and make it more optimal. But I think it’s this internal calibration and appetite for continued calibration.
Vibhu: Yeah. And that doesn’t mean like, you know, people aren’t taking a shot at this, like tinker from thinking machines, you know?
Yeah. RL as a service. Yeah, totally. It’s, it also gets even harder when you try to do big model training, right? We’re not the best at training Moes, uh, when they’re pre-trained. Like we saw this with LAMA three, right? They’re trained in such a sparse way that meta knows there’s gonna be a bunch of inference done on these, right?
They’ll open source it, but it’s very trained for what meta infrastructure wants, right? They wanna, they wanna inference it a lot. Now the question to basically think about is, okay, say you wanna serve a chat application, a coding copilot, right? You’re doing a layer of rl, you’re serving a model for X amount of people.
Is it a chat model, a coding model? Dynamo, you know, back to that,
Kyle: it’s [00:33:00] like, yeah, sorry. So you we, we sort of like jumped off of, you know, jumped, uh, on that topic. Everyone has like, their own, own journey.
Cost Quality Latency Tradeoffs
Kyle: And I, I like to think of it as defined by like, what is the model you need? What is the accuracy you need?
Actually I talked to NA about this earlier. There’s three axes you care about. What is the quality that you’re able to produce? So like, are you accurate enough or can you complete the task with enough, performance, high enough performance. Yeah, yeah. Uh, there’s cost. Can you serve the model or serve your workflow?
Because it’s not just the model anymore, it’s the workflow. It’s the multi turn with an agent cheaply enough. And then can you serve it fast enough? And we’re seeing all three of these, like, play out, like we saw, we saw new models from OpenAI that you know, are faster. You have like these new fast versions of models.
You can change the amount of thinking to change the amount of quality, right? Produce more tokens, but at a higher cost in a, in a higher latency. And really like when you start this journey of like trying to figure out how you wanna host a model, you, you, you think about three things. What is the model I need to serve?
How many times do I need to call it? What is the input sequence link was [00:34:00] the, what does the workflow look like on top of it? What is the SLA, what is the latency SLA that I need to achieve? Because there’s usually some, this is usually like a constant, you, you know, the SLA that you need to hit and then like you try and find the lowest cost version that hits all of these constraints.
Usually, you know, you, you start with those things and you say you, you kind of do like a bit of experimentation across some common configurations. You change the tensor parallel size, which is a form of parallelism
Vibhu: I take, it goes even deeper first. Gotta think what model.
Kyle: Yes, course,
of
Kyle: course. It’s like, it’s like a multi-step design process because as you said, you can, you can choose a smaller model and then do more test time scaling and it’ll equate the quality of a larger model because you’re doing the test time scaling or you’re adding a harness or something.
So yes, it, it goes way deeper than that. But from the performance perspective, like once you get to the model you need, you need to host, you look at that and you say, Hey. I have this model, I need to serve it at the speed. What is the right configuration for that?
Nader: You guys see the recent, uh, there was a paper I just saw like a few days ago that, uh, if you run [00:35:00] the same prompt twice, you’re getting like double Just try it
again.
Nader: Yeah, exactly.
Vibhu: And you get a lot. Yeah. But the, the key thing there is you give the context of the failed try, right? Yeah. So it takes a shot. And this has been like, you know, basic guidance for quite a while. Just try again. ‘cause you know, trying, just try again. Did you try again? All advice
Nader: in life.
Vibhu: Just, it’s a paper from Google, if I’m not mistaken, right?
Yeah,
Vibhu: yeah. I think it, it’s like a seven bas little short paper. Yeah. Yeah. The title’s very cute. And it’s just like, yeah, just try again. Give it ask context,
Kyle: multi-shot. You just like, say like, hey, like, you know, like take, take a little bit more, take a little bit more information, try and fail. Fail.
Vibhu: And that basic concept has gone pretty deep.
There’s like, um, self distillation, rl where you, you do self distillation, you do rl and you have past failure and you know, that gives some signal so people take, try it again. Not strong enough.
swyx: Uh, for, for listeners, uh, who listen to here, uh, vivo actually, and I, and we run a second YouTube channel for our paper club where, oh, that’s awesome.
Vivo just covered this. Yeah. Awesome. Self desolation and all that’s, that’s why he, to speed [00:36:00] on it.
Nader: I’ll to check it out.
swyx: Yeah. It, it’s just a good practice, like everyone needs, like a paper club where like you just read papers together and the social pressure just kind of forces you to just,
Nader: we, we,
there’s
Nader: like a big inference.
Kyle: Reading
Nader: group at a video. I feel so bad every time. I I, he put it on like, on our, he shared it.
swyx: One, one of
Nader: your guys,
swyx: uh, is, is big in that, I forget es han Yeah, yeah,
Kyle: es Han’s on my team. Actually. Funny. There’s a, there’s a, there’s a employee transfer between us. Han worked for Nater at Brev, and now he, he’s on my team.
He was
Nader: our head of ai. And then, yeah, once we got in, and
swyx: because I’m always looking for like, okay, can, can I start at another podcast that only does that thing? Yeah. And, uh, Esan was like, I was trying to like nudge Esan into like, is there something here? I mean, I don’t think there’s, there’s new infant techniques every day.
So it’s like, it’s like
Kyle: you would, you would actually be surprised, um, the amount of blog posts you see. And if
swyx: there’s a period where it was like, Medusa hydra, what Eagle, like, you
Kyle: know, now we have new forms of decode, uh, we have new forms of specula, of decoding or new,
swyx: what,
Kyle: what are you
Vibhu: excited? And it’s exciting when you guys put out something like Tron.
‘cause I remember the paper on this Tron three, [00:37:00] uh, the amount of like post train, the on tokens that the GPU rich can just train on. And it, it was a hybrid state space model, right? Yeah.
Kyle: It’s co-designed for the hardware.
Vibhu: Yeah, go design for the hardware. And one of the things was always, you know, the state space models don’t scale as well when you do a conversion or whatever the performance.
And you guys are like, no, just keep draining. And Nitron shows a lot of that. Yeah.
Nader: Also, something cool about Nitron it was released in layers, if you will, very similar to Dynamo. It’s, it’s, it’s essentially it was released as you can, the pre-training, post-training data sets are released. Yeah. The recipes on how to do it are released.
The model itself is released. It’s full model. You just benefit from us turning on the GPUs. But there are companies like, uh, ServiceNow took the dataset and they trained their own model and we were super excited and like, you know, celebrated that work.
Zoom
Vibhu: different. Zoom is, zoom is CGI, I think, uh, you know, also just to add like a lot of models don’t put out based models and if there’s that, why is fine tuning not taken off?
You know, you can do your own training. Yeah,
Kyle: sure.
Vibhu: You guys put out based model, I think you put out everything.
Nader: I believe I know [00:38:00]
swyx: about base. Basically
Vibhu: without base
swyx: basic can be cancelable.
Vibhu: Yeah. Base can be cancelable.
swyx: Yeah.
Vibhu: Safety training.
swyx: Did we get a full picture of dymo? I, I don’t know if we, what,
Nader: what I’d love is you, you mentioned the three axes like break it down of like, you know, what’s prefilled decode and like what are the optimizations that we can get with Dynamo?
Kyle: Yeah. That, that’s, that’s, that’s a great point. So to summarize on that three axis problem, right, there are three things that determine whether or not something can be done with inference, cost, quality, latency, right? Dynamo is supposed to be there to provide you like the runtime that allows you to pull levers to, you know, mix it up and move around the parade of frontier or the preto surface that determines is this actually possible with inference And AI today
Nader: gives you the knobs.
Kyle: Yeah, exactly. It gives you the knobs.
Disaggregation Prefill vs Decode
Kyle: Uh, and one thing that like we, we use a lot in contemporary inference and is, you know, starting to like pick up from, you know, in, in general knowledge is this co concept of disaggregation. So historically. Models would be hosted with a single inference engine. And that inference engine [00:39:00] would ping pong between two phases.
There’s prefill where you’re reading the sequence generating KV cache, which is basically just a set of vectors that represent the sequence. And then using that KV cache to generate new tokens, which is called Decode. And some brilliant researchers across multiple different papers essentially made the realization that if you separate these two phases, you actually gain some benefits.
Those benefits are basically a you don’t have to worry about step synchronous scheduling. So the way that an inference engine works is you do one step and then you finish it, and then you schedule, you start scheduling the next step there. It’s not like fully asynchronous. And the problem with that is you would have, uh, essentially pre-fill and decode are, are actually very different in terms of both their resource requirements and their sometimes their runtime.
So you would have like prefill that would like block decode steps because you, you’d still be pre-filing and you couldn’t schedule because you know the step has to end. So you remove that scheduling issue and then you also allow you, or you yourself, to like [00:40:00] split the work into two different ki types of pools.
So pre-fill typically, and, and this changes as, as model architecture changes. Pre-fill is, right now, compute bound most of the time with the sequence is sufficiently long. It’s compute bound. On the decode side because you’re doing a full Passover, all the weights and the entire sequence, every time you do a decode step and you’re, you don’t have the quadratic computation of KV cache, it’s usually memory bound because you’re retrieving a linear amount of memory and you’re doing a linear amount of compute as opposed to prefill where you retrieve a linear amount of memory and then use a quadratic.
You know,
Nader: it’s funny, someone exo Labs did a really cool demo where for the DGX Spark, which has a lot more compute, you can do the pre the compute hungry prefill on a DG X spark and then do the decode on a, on a Mac. Yeah. And so
Vibhu: that’s faster.
Nader: Yeah. Yeah.
Kyle: So you could, you can do that. You can do machine strat stratification.
Nader: Yeah.
Kyle: And like with our future generation generations of hardware, we actually announced, like with Reuben, this [00:41:00] new accelerator that is prefilled specific. It’s called Reuben, CPX. So
Kubernetes Scaling with Grove
Nader: I have a question when you do the scale out. Yeah. Is scaling out easier with Dynamo? Because when you need a new node, you can dedicate it to either the Prefill or, uh, decode.
Kyle: Yeah. So Dynamo actually has like a, a Kubernetes component in it called Grove that allows you to, to do this like crazy scaling specialization. It has like this hot, it’s a representation that, I don’t wanna go too deep into Kubernetes here, but there was a previous way that you would like launch multi-node work.
Uh, it’s called Leader Worker Set. It’s in the Kubernetes standard, and Leader worker set is great. It served a lot of people super well for a long period of time. But one of the things that it’s struggles with is representing a set of cases where you have a multi-node replica that has a pair, right?
You know, prefill and decode, or it’s not paired, but it has like a second stage that has a ratio that changes over time. And prefill and decode are like two different things as your workload changes, right? The amount of prefill you’ll need to do may change. [00:42:00] The amount of decode that you, you’ll need to do might change, right?
Like, let’s say you start getting like insanely long queries, right? That probably means that your prefill scales like harder because you’re hitting these, this quadratic scaling growth.
swyx: Yeah.
And then for listeners, like prefill will be long input. Decode would be long output, for example, right?
Kyle: Yeah. So like decode, decode scale. I mean, decode is funny because the amount of tokens that you produce scales with the output length, but the amount of work that you do per step scales with the amount of tokens in the context.
swyx: Yes.
Kyle: So both scales with the input and the output.
swyx: That’s true.
Kyle: But on the pre-fold view code side, like if.
Suddenly, like the amount of work you’re doing on the decode side stays about the same or like scales a little bit, and then the prefilled side like jumps up a lot. You actually don’t want that ratio to be the same. You want it to change over time. So Dynamo has a set of components that A, tell you how to scale.
It tells you how many prefilled workers and decoded workers you, it thinks you should have, and also provides a scheduling API for Kubernetes that allows you to actually represent and affect this scheduling on, on, on your actual [00:43:00] hardware, on your compute infrastructure.
Nader: Not gonna lie. I feel a little embarrassed for being proud of my SVG function earlier.
swyx: No, it
Nader: was
really
Kyle: cute. I, I
swyx: like
Nader: it’s all,
swyx: it’s all engineering. It’s all engineering. Um, that’s where I’m
Kyle: technical.
swyx: One thing I’m, I’m kind of just curious about with all with you see at a systems level, everything going on here. Mm-hmm. And we, you know, we’re scaling it up in, in multi, in distributed systems.
Context Length and Co Design
swyx: Um, I think one thing that’s like kind of, of the moment right now is people are asking, is there any SOL sort of upper bounds. In terms of like, let’s call, just call it context length for one for of a better word, but you can break it down however you like.
Nader: Yeah.
swyx: I just think like, well, yeah, I mean, like clearly you can engage in hybrid architectures and throw in some state space models in there.
All, all you want, but it looks, still looks very attention heavy.
Kyle: Yes. Uh, yeah. Long context is attention heavy. I mean, we have these hybrid models, um,
swyx: to take and most, most models like cap out at a million contexts and that’s it. Yeah. Like for the last two years has been it.
Kyle: Yeah. The model hardware context co-design thing that we’re seeing these days is actually super [00:44:00] interesting.
It’s like my, my passion, like my secret side passion. We see models like Kimmy or G-P-T-O-S-S. I’m use these because I, I know specific things about these models. So Kimmy two comes out, right? And it’s an interesting model. It’s like, like a deep seek style architecture is MLA. It’s basically deep seek, scaled like a little bit differently, um, and obviously trained differently as well.
But they, they talked about, why they made the design choices for context. Kimmy has more experts, but fewer attention heads, and I believe a slightly smaller attention, uh, like dimension. But I need to remember, I need to check that. Uh, it doesn’t matter. But they discussed this actually at length in a blog post on ji, which is like our pu which is like credit pu
swyx: Yeah.
Kyle: Um, in, in China. Chinese red.
swyx: Yeah.
Kyle: It’s, yeah. So it, it’s, it’s actually an incredible blog post. Uh, like all the mls people in, in, in that, I’ve seen that on GPU are like very brilliant, but they, they talk about like the creators of Kimi K two [00:45:00] actually like, talked about it on, on, on there in the blog post.
And they say, we, we actually did an experiment, right? Attention scales with the number of heads, obviously. Like if you have 64 heads versus 32 heads, you do half the work of attention. You still scale quadratic, but you do half the work. And they made a, a very specific like. Sort of barter in their system, in their architecture, they basically said, Hey, what if we gave it more experts, so we’re gonna use more memory capacity.
But we keep the amount of activated experts the same. We increase the expert sparsity, so we have fewer experts act. The ratio to of experts activated to number of experts is smaller, and we decrease the number of attention heads.
Vibhu: And kind of for context, what the, what we had been seeing was you make models sparser instead.
So no one was really touching heads. You’re just having, uh,
Kyle: well, they, they did, they implicitly made it sparser.
Vibhu: Yeah, yeah. For, for Kimmy. They did,
Kyle: yes.
Vibhu: They also made it sparser. But basically what we were seeing was people were at the level of, okay, there’s a sparsity ratio. You want more total parameters, less active, and that’s sparsity.[00:46:00]
But what you see from papers, like, the labs like moonshot deep seek, they go to the level of, okay, outside of just number of experts, you can also change how many attention heads and less attention layers. More attention. Layers. Layers, yeah. Yes, yes. So, and that’s all basically coming back to, just tied together is like hardware model, co-design, which is
Kyle: hardware model, co model, context, co-design.
Vibhu: Yeah.
Kyle: Right. Like if you were training a, a model that was like. Really, really short context, uh, or like really is good at super short context tasks. You may like design it in a way such that like you don’t care about attention scaling because it hasn’t hit that, like the turning point where like the quadratic curve takes over.
Nader: How do you consider attention or context as a separate part of the co-design? Like I would imagine hardware or just how I would’ve thought of it is like hardware model. Co-design would be hardware model context co-design
Kyle: because the harness and the context that is produced by the harness is a part of the model.
Once it’s trained in,
Vibhu: like even though towards the end you’ll do long context, you’re not changing architecture through I see. Training. Yeah.
Kyle: I mean you can try.
swyx: You’re saying [00:47:00] everyone’s training the harness into the model.
Kyle: I would say to some degree, or
swyx: there’s co-design for harness. I know there’s a small amount, but I feel like not everyone has like gone full send on this.
Kyle: I think, I think I think it’s important to internalize the harness that you think the model will be running. Running into the model.
swyx: Yeah. Interesting. Okay. Bash is like the universal harness,
Kyle: right? Like I’ll, I’ll give. An example here, right? I mean, or just like a, like a, it’s easy proof, right? If you can train against a harness and you’re using that harness for everything, wouldn’t you just train with the harness to ensure that you get the best possible quality out of,
swyx: Well, the, uh, I, I can provide a counter argument.
Yeah, sure. Which is what you wanna provide a generally useful model for other people to plug into their harnesses, right? So if you
Kyle: Yeah. Harnesses can be open, open source, right?
swyx: Yeah. So I mean, that’s, that’s effectively what’s happening with Codex.
Kyle: Yeah.
swyx: And, but like you may want like a different search tool and then you may have to name it differently or,
Nader: I don’t know how much people have pushed on this, but can you.
Train a model, would it be, have you have people compared training a model for the for the harness versus [00:48:00] like post training for
swyx: I think it’s the same thing. It’s the same thing. It’s okay. Just extra post training. I
Nader: see.
swyx: And so, I mean, cognition does this course, it does this where you, you just have to like, if your tool is slightly different, um, either force your tool to be like the tool that they train for.
Hmm. Or undo their training for their tool and then Oh, that’s re retrain. Yeah. It’s, it’s really annoying and like,
Kyle: I would hope that eventually we hit like a certain level of generality with respect to training new
swyx: tools. This is not a GI like, it’s, this is a really stupid like. Learn my tool b***h.
Like, I don’t know if, I don’t know if I can say that, but like, you know, um, I think what my point kind of is, is that there’s, like, I look at slopes of the scaling laws and like, this slope is not working, man. We, we are at a million token context, okay, maybe next year, 2 million, we’re not going to a hundred trillion, you know, like this, this, oh, there’s so many interesting ways to get this Doesn’t work.
Just doesn’t work.
Nader: What’s kind of funny is whenever there, I, I feel like we always want to see a trend that we can predict, but every time something’s come, it’s been like a leapfrog. So I, I imagine I, I don’t know how we go from one to two, but I imagine what, what’s likely to happen is [00:49:00] we break through that from some new
Kyle: Yeah.
There’s actually, there’s an interesting formalization of this. There, there’s an essay. It’s a pretty interesting essay by Leopold Ashton Brener called Situational Awareness.
swyx: Okay? Yes.
Kyle: He introduces a concept awareness called an un hobbler, right? So he, you know, Leopold in this essay details, Hey, I want to get.
You know, like, I wanna get to this point in intelligence and I think that it is four orders of magnitude worth of like compute and data and training away. And you know, he says, oh yeah, I think data centers can scale up by about this much. I think that you can do, scale up the data and some other things by this much.
But one of the things that like makes the rest of that order of magnitude growth, PO possibilities is un hobbler, like these scientific discoveries that are discovered during. You know, model architecture, search or training that really, really, really impact how, how you are able to scale. Like a, a good example of this might be that like we see like a mo a lot of models that are, [00:50:00] and this is probably a very tiny on hobbler.
But is important for the performance perspective. We see a lot of models that are like trained with multi token prediction natively in during pre-training.
And per deep seek in their paper they say, Hey, decided this actually helped us in ensure sta more stable convergence. But they’re like, un Hobbs that are like that.
And then they’re like, rather large on hobbler. Right. Like architecturally, a lot of our models, like we had different types of attention. And one of the problems with attention is like, you have a lot of kv, but people found like different forms of attention, like group query attention and, uh, like MLA in deep seek multi-head latent attention that like decrease the burden that KV has on the model, which allows you to grow like longer in context.
swyx: Yeah. And that, that was very drastic for deeps seek.
Kyle: Yeah. This was like, yeah, it for context like the, the total, I think the total context length of deeps seek is 128,000 tokens or might be 256,000 with rope extension. That entire context, I think it’s 128,000 fits into eight gigabytes. Previously context, like I think the, the llama four or five B context [00:51:00] of a similar size was like 40 or 80 gigabytes in the same precision.
swyx: Yeah.
Kyle: Um, so like those in Hobbler like really decrease the stuff of that size. And I wouldn’t be surprised if we do see the ability to like, break through to like 10 million, 20 million, a hundred million context through the an un hobbler showing up. I
swyx: see.
Kyle: And it’s just science.
swyx: So more deep learning algorithms is what
Kyle: I’m hearing.
Yeah. More deep learning algorithms. Um,
swyx: yeah,
Kyle: I, I could, I could actually playing pickup
swyx: and he has
Kyle: room to, I I could actually give you an, an example like of like a, a theory, not a theory theory, but something theoretical and a hobar
Nader: that you’re excited about or,
Kyle: well, and, and a hobar that, I mean, I haven’t seen, so it could be a tar pit and it could not, just, not work.
But, uh, I, I would be really excited to see a model that does prefill and decode differently. So a model that does, uh, prefill like locally, like document wise, prefill, like it doesn’t in chunks, and then you do decode globally across like the entire sequence because it, logically to me it doesn’t seem like you would necessarily need to [00:52:00] have KV b associative between documents that have like, no, no mutual association.
But that like places a lot of burden on prefilled to like, or sorry, on, on decode and pure attention within the decode phase to like make those connections since the KV is like static at that point. And you see other techniques that are interesting like this too. But if, if you’re able to do that, like.
If Prefill becomes local and decode is, is still global, you solve that prefilled quadratic scaling problem because you have a bunch of like small chunks that you prefill independently.
swyx: Okay. All right. Well, let’s, uh, wait and see, but I, I think it’ll be pretty exciting.
Kyle: Fingers crossed.
swyx: Yeah, fingers crossed.
Yeah. Yeah.
Vibhu: I’m excited for prefilled decode on separate hardware. So like yeah. CR acquisition, right. Can we decode on the gr Can we get super fast?
Kyle: I don’t think I’m allowed to comment on this.
swyx: Mark is gonna shoot arrows at us.
Nader: Uh, he’s got a blow dark, he’s in the room, just
Kyle: like,
Nader: like go to sleep.
Yeah. Yeah.
swyx: But
Nader: I’m, I’m super excited to see the team come in and like, you know, I’ve gotten the, the pleasure of working with some of the, the GR people coming in. So, you know, yeah, I,
swyx: I know Sonny, [00:53:00] we’ve had him, uh, at the same
Kyle: conference that
swyx: you are at.
Nader: Yeah.
swyx: Um, and, uh, I, I think you’re, you guys are gonna be doing some sessions at G tc.
I don’t know if you wanna, this is a good place to plug them.
Kyle: Yeah, yeah, yeah. So, I can’t speak to any LPU related sessions at G tc. I have no idea about that. Oh, no, that was,
swyx: no. Yours
Kyle: on the, on the GR side. Yeah. I use the associative NVIDIA U Yeah. Um, on the, on the Nvidia Dynamo side, we’re, we’re giving, there are a large number of sessions.
For those that aren’t aware, you can actually search. All of these sessions for GTC online, just go to the GTC website. I don’t know what the URL is, but go there. Google it. Yeah. Uh, and you can just look up Dynamo and you’ll get all the sessions. There’re about 20. There are a couple that are hosted by the Dynamo team.
There are a couple that are hosted by people that use Dynamo that wanna show off the results they’ve been able to get. But there are two that I’m really excited about. Uh, one is just the General Dynamo tutorial, and this is the, I’m going out with Harry, who’s our lead product manager for Dynamo.
And we’re sort of talking about like how to use Dynamo to get better performance and also like where we see Dynamo going in the future. And [00:54:00] then there’s another session that I’m doing with one of our agents teams at Nvidia to talk about sort of the future of agents in production inference. Yeah. So we’re talking about, there’s like this new horizon with respect to agents because we have these harnesses that actually impart structure on upon calls.
Like if you, if you compare like, the past and the, and the present with respect to like how LM calls work. Like in the early days when they were chatbots, like every call was like very different. There was basically no structure. You could assume that like people, you, if it was conversational, there might be like some implicit structure because you have, you know, a multi-term conversation.
But agency have this, this harness that, like abides by rules, right? So it imparts direct structure onto the context. And you see this, there was an interesting Twitter post about how Claude code like structures, its context so that you get as many cts as possible.
And I think it was by one of the, the PMs for Claude code.
And he, he wrote about it. And that type of structure that the harness can impart actually like goes hand in [00:55:00] hand with the. Inference co-design. So I’m doing a talk, I, I don’t know the session name or the session number, but I’m, I’m doing a talk, uh, you can look at me up by name on, on the GTC website, on how we accelerate agents and where we see specific optimizations for agents going in Dynamo and in inference in general.
swyx: Yeah. I think there’s only 1:00 PM for cloud code and it’s wo the rest. There’s, there’s Devrel, there’s Boris. Maybe it was maybe Devrel. Yeah, exactly. I mean, let’s go into agents. I think this was like the last part of the, the, the discussion we planned. Yeah. How have we not talked about agents also with you guys?
Well, we scheduled, it was like, I was like, okay, you know, like, let’s have like cohesive sections or,
Vibhu: I mean, there’s the big news, right? The NVIDIA’s a huge. Like deployment of Codex. Yeah, video
swyx: uses everything. I mean, we use this cursor and we uses code,
Vibhu: but that’s, that’s a pretty big deployment, right?
Like, that’s tens of thousands of people.
Nader: Totally. Yeah.
Vibhu: We’re super What? That’s,
Nader: yeah. I, it goes back to the mosh pit of emails we kind of mentioned earlier, or just the like, um, how fluid the org feels. So when there’s new technology, people will just email it out and everyone will try it.
[00:56:00] And if it, if it’s making people’s lives easier, it’ll spread like wildfire.
Kyle: A lot of times Jensen will get it and it’ll be like, let’s make this work. Yeah. Across the company. Let’s make this work right now,
Nader: honestly, uh, if I was a startup, I feel like a cool hack. If you have something that’s going to save an Nvidia time they’ll spread it to a couple and the same thing.
Right? It’ll just spread like wildfire. Okay.
Vibhu: Careful before your email blows up from startups. Well,
Nader: You gotta know the person. Right? But no, I, um, I, yeah, so I mean, we, I love using Codex. It’s been a ton of fun. Yeah. Uh, I’ve been using it personally. I’ve been using it at work. It’s been, um.
Yeah, I dunno. It’s been great to see the rollout, something really funny. Uh, on the data we got, uh, codex and cloud code access. I found this person, uh, his name’s Carlos at the company. He wrote an Outlook, CLI.
Kyle: Oh yeah.
Nader: And, uh, just the CLI for email. And this was, I’ve
Kyle: been using that,
Nader: yeah, maybe like four or five weeks ago.
And, uh, the site, so once I got like Codex access I. Installed the CLI, it had a skill and I just asked it to go through all of my emails, which it’s very messy. So if I don’t respond to your email, I’m really sorry. But I asked it to gimme a summary, highlight any [00:57:00] escalations that I should look at, put any thread that it thinks I should respond to in a folder, and then archive everything.
And it did. So if I missed your email, it’s because it didn’t get,
swyx: so I should put a prompt injection in my V to Yeah, yeah. What you should do is just FaceTime. Yeah. Um, my, yeah, my SLA is highest on FaceTime,
Nader: but that was, it was magic. And so I, I sent it in a big email thread to like 500 people. A bunch of folks tried it out.
I started like FaceTiming whoever I could at the company to get them set up with this.
swyx: Yeah. Um, that specific example mm-hmm. You guys deal with like some pretty. Sensitive emails.
Nader: Yeah.
swyx: Is there a security review with this?
Security Meets Agents
swyx: ‘cause like one guy made, made it for himself, but like it’s not meant for all the
Nader: security team and Nvidia is incredible.
Like, shout out to them. They’re, they’re, they’re trying to, we have a, we have an amazing security team ‘cause they’re progressive and they know that this is
Kyle: really important technology and you have to bring it in. If you think about like, if you work at a big company, your laptop’s usually very locked down if
Nader: you can only access certain things.
Nvidia engineers have those restrictions aren’t there. So you’re expected to understand the risks when you try things out. And so. Very quickly, you know, made sure to [00:58:00] chime in security on what we were doing.
Agent Permissions Model
Nader: There’s actually a lot that we’ve been thinking about, especially with open claw, right? Like there’s, you know, agents can do three things.
Yeah. A agents can do three things. They can access your files, they can access the internet, and then now they can write custom code, uh, and execute it. And you literally only let an agent do two of those three things. If you can access your files and you can write custom code, you don’t want internet access because that’s one to see full vulnerability, right?
If you have access to internet and your file system, you should know the full scope of what that agent’s capable of doing. Otherwise, malware can get injected or something that can happen. And so that’s a lot of what we’ve been thinking about is like, you know, how do we both enable this because it’s clearly the future.
But then also, you know, what, what are these enforcement points that we can start to like protect?
swyx: And is there any directive of like, Hey, we have a company account or a company agreement with open ai, we use open AI models here, or like choose whatever.
Nader: No, no. So, so I would never put any company data in a model that’s not either, that we don’t even, it has to most security.
Yeah. Yeah. I like how,
swyx: how that goes. Uh, you know, obviously you could run your own [00:59:00] models. You Nemo and, and we, right, we, we as an, we have an internal cluster, so, you know, of course in random,
Kyle: uh, yeah.
swyx: Yeah.
Nader: I think we’re dynamo’s first customers. Let’s go
Build Nvidia Inference Gateway
Kyle: actually, uh, there’s a funny story about like how I got the experience that informed what we needed for Dynamo at one point.
There’s a website called build done n video.com and also for us infra dun n video com. That is allows people to try models. It gives an a p service. You can call the model with like a rest, API, and you know, you get a response. I ran the model side for that and it was at one point the largest inference deployment and still may actually be the largest inference deployment in video.
I’ve, I’ve since like, handed it off to some people and they’re doing a wonderful by way. This is a extremely
Nader: underknown or less known resource. Vil diamond v.com. You can get any of these open source models. And it’s rate limited, but it’s free. So it’s perfect for hackers to,
Kyle: and, and the SLA on getting models day zero models up is like a day.
Yeah.
Kyle: Like they’re, they’re incredibly good at like figuring out the right way to host the model to [01:00:00] get it up there as soon as it comes out.
swyx: You ran this?
Kyle: Yeah, I ran, I ran it a long time ago. It was originally called Nvidia AI Playground, then it was called AI Foundational insert. Yeah. And then it was called Build Nvidia call.
And I, I ran the model side of it. So there were, there was a large multi-organizational team. I ran how, which models should we host? How should we host them and like what’s the proportion of them? And then of course there was like an SRE team that like made sure that things ran well and scaled the models as well.
But I ran like, you know, model, how do we get the model to silicon? And then, which model also worked with our product team Determine like which models were important a very long time ago.
Yeah. Yeah. There’s also like a middle ground in between there, right? This is like for the hacker. Try anything.
There’s the Brev console, then there’s Dynamo, there was also nims, right?
Kyle: Yes.
I remember it had its little moment, like a year or two ago. Is it still?
Nader: Yeah. NIM is, uh, you know, inference, uh, oil. I, I think it like for something is it is a log or acronym. Yeah. It [01:01:00] just, just a name. But, um, yeah, NIM is, uh, how enterprises can take our uh, any of the, any of this technology and run it with support and all of that.
And so that includes Daniel Mo. That includes, I don’t know all of our other optimizations that are packers up for Enterprise. Yep.
swyx: Anyway, so, so you, you got a bunch of experience start running the sort of internal inference gateway playgrounds.
Kyle: Yeah, I got And Bill also built how build NVIDIA’s first internal like vs.
Code thing. We call it MB code.
swyx: That’s what I, uh, extension.
Kyle: Yeah, it was, it was a V first,
like the fork vs code.
swyx: We jokes absolutely not. It just a while back they like, we should have a fourth vs. Code hackathon where you, that’s four. It’s the best four V vs code. We,
we were, we were doing a hack how make a billion dollars, someone from VS code was there and he was like somewhat down to get involved and I was like,
swyx: oh, you should do that.
That’s all. Then the cool thing became four chrome hackathon
Chrome,
swyx: And no, no, no IDs or not cooling.
Nader: I saw, what’s it called?
Hackathons And Autonomy Dreams
Nader: I was talking to Joseph, uh, from Robo Flow and uh, they’re partnering crime. We were talking about how with the new Alpha Mayo model, so Nvidia just [01:02:00] released an open source. Uh, the, the Mercedes cars that you saw drag, she on Frazey?
swyx: Yeah.
Nader: Released. Will you open source, a autonomous driving model? Uh, I already, yeah, so we were thinking like, could we hackathon a driverless car? Like I have my old car. Let’s just try it.
swyx: We’ll take it,
Nader: take it to like, click train with a treasure eye, like in the middle of the day. Just like, just see, let everyone, like how many, how many cameras do we need?
Right? Like, 1, 2,
swyx: 3, 4. They don’t. Five, six.
Nader: I don’t know. I, yeah. But, um, I think we’re gonna try, you just do it with us.
swyx: We can see, we could even
Nader: have a race. It’s like the first person to automate their
swyx: driving. Let me over a weekend. We do have an autonomy track at Will’s fair. Uh, WiMo was there like Yeah.
Nvidia did send people that for Goot. Not because he didn’t have the driving thing yet.
Nader: Yeah.
swyx: Yeah. It’s, that’s cool.
Yeah. I think comma, comma also has a version of this comma have open source driving. They’ve, they’ve done a fun hackathon on
swyx: music and he and I also, ‘cause I, I really, what I really want is a Tesla with Tesla level self-driving.
Yeah.
swyx: But as a smart car, like a two seater. That’s the basic CPA wheelchair with a [01:03:00] roof
and only thing they make them, but the demand has d they, no, they realize this probably five years. Yeah. Really?
swyx: Yeah.
They were d manufacturer.
Kyle: I thought it is one of those things, we’ll, where we’ll see someone buy the brand and it’ll be revived.
swyx: I, I would buy it like I
Kyle: probably. Someone hears this go by
swyx: your car. Yeah. Yeah. That’s crazy. Nobody Mercedes, because they, they’re like, I think 10 Mercedes, Mercedes, uh, I in Mercedes used
to make them, I don’t know. I feel like they own the brand and you out
swyx: that’s your dream might come true enough. Okay.
We we’re time notify and, and I was like, every time I, I try to park in San Francisco, I I have to buy a smart car because like 20% of the parking lots in San Francisco only fit smart cars.
Nader: Yeah. So, Hey, really?
swyx: That’s where, I mean, it’s mall
Nader: even it was late here trying to, this comes from someone that like, basically does
Kyle: not drive.
Nader: That’s where the, the Vepa was a life hack. Yeah, exactly. Yeah. You know what happened to the Vespa? Um, I used to have [01:04:00] this yellow Vespa, uh, I left it outside the hacker house when we moved out. It trend. Um, it’s just, it was always there. And then like a month ago. It’s not there anymore. I’ve been meeting today.
I don’t dunno. You could, it’s actually tv. You forgot about it.
swyx: Yeah.
Nader: And left.
swyx: Yeah. Yeah. No, this, it’s probably hazard. And speaking of hackathons, I also wanted say, give a big shout out to the world. Shortest hackathon. Let’s go. Uh, you did twice. You gonna watch a
Nader: handful of times? Yeah. There’s gonna be one at G tc.
Oh, we’re doing pretty much we have a bunch of challenges that No, we haven’t released. And you get to bring your agent to come and attempt to, uh, go through those
Kyle: challeng again. It’s like a zero, the zero minute hackathon idea, which you just, you just bring your, I I approached eight, nine along a long time ago.
You just bring your agent and then you press the go button. You’re not allowed to code. It’s just the Asian doing bond.
It’s a good hidden email, right?
Kyle: Yeah.
Do you make a jar? You make
Kyle: I there something I would love to see from cognition or someone else be like, come bring your agent. Drop it in
because you don’t, you don’t know you like supervisor.
Well let be [01:05:00] a, you know, operate a browser, order a pizza. We’ll just see like that snake it, you know,
swyx: and
Kyle: you don’t know what the
swyx: task
Kyle: is. Yeah. You dunno what the task is like, or just like, you don’t even know what the judging categories are and then you give it the judging categories. Like, try as much as possible.
It’s great though. It turns into like, yeah, so let’s build something on dining party. It’s a great business. See,
Kyle: anyway, funny story.
Agent UX And CLI Everywhere
Kyle: Actually, we have a couple of people at Nvidia, we’ve been working with security to like bring agents really close to compute. So we now have like stuff where we can like tell Dynamo, like go run some experience with Dynamo, like on, X cluster and just like try it right now, like queue up once you get queued, like, send this request load and we’ve actually been able to like, just like, you know, like one shot problems like.
We used to have this problem where you know, with Dynamo you have to like find the right configurations and we, sort of do it automatically for some parts of it, but you have to like a good initial configuration that you want to use. And we’ve just had like an agent just completely one shot that it goes, it gets the compute, it like runs a couple experiments.
It’s like [01:06:00] this is the best, this is this, these are part of the ER frontier. Go run this. And then we just like give that to people and it’s like faster than anything that they have.
Nader: Agent UX and agent marketing are super important. There’s stuff that we’ve been thinking a lot about. Um, Alec is like redoing the entire Brev CLI, um, so that you can fetch all the different compute types that are available.
I don’t know, it’s gonna be really soon, but then you can, you can just browse what GPUs are available and then provision one say to it right there. And you can pipe all the commands. But I think it goes back to like the Alex CLI, like if you, coding agents. It’s kind of funny. I feel like coding agents have been so much more effective than general purpose agents.
And I think a large part of that is it just has access to the terminal, like you said, and that means it has access to everything that you’ve installed into your terminal. It can run. So, you know, it would write code and, and it can compile the code and if there are errors, it can fix it, it can run your suite of tests because that’s all just in your terminal.
And so that, you know, then for the idea, what come me really excited about the CLI, we’re now just turning through building CLI for the entire, like for the entire business. We Slack, building Slack, also. Workday, C-L-I-S-A Go. I, I’ve also done that for myself first. Really? Yeah. Yeah. Um, we’re gonna, we’re gonna [01:07:00] open source all of this.
And like yeah, all the, the I they’re just they’re the C yeah. CLI for the business applications. We would love for someone to run with this and like build like, I don’t know, like open CLI foundation in or something. Yeah. We, I Nvidia would love to support, uh, anyone that’s doing this.
Like e every Devrel tool should really have good CLI support at this point.
Yeah. Like at one point it was, you want your docs to be. Like accessible by an LM, right? You want LM Good dog. No, every, everything needs some CLI.
Nader: Yeah. It’s kind of funny, right? Like we, like computing began with a terminal with a shell, but we said that it’s not empathetic to, uh, humans. So we built these nice user interfaces and then now we have LMS navigating our user interfaces.
And ironically, we’re not empathetic to the machine anymore.
swyx: Yeah.
Nader: Yeah. Just give the, the LLM access to the show.
swyx: One thing that slightly makes me uncomfortable is like, why do we have to build cli? Why can’t we just expose APIs? Like,
Kyle: I, I have, I have an interesting answer to this. So there are a couple reasons.
Like there’s, there’s like, you know, portability is like one issue. Like, you know, like sometimes APIs are not like discoverable or like reachable by, by some, you know, types of [01:08:00] things. There’s some element of locality, right? Like, uh, like the CLI is like literally you interfacing with your like local system, which is a little bit different.
You could still do it by API, but like there’s this highlighting of like, what is the difference between like a CLI and an MCP, right? Like they kind of occupy the same purposes and you call them, it does something on the system and, and that’s done. I think that in pre-training there’s just an enormous amount.
Oh, okay. Command line data. Yeah.
Yeah. Like e even let’s ignore our, let’s let’s ignore our l Like you’re doing no harness, you’re doing no harness push training. Just the amount of like CLI versus API documentation for just like navigating this world of the CLI in your file system through that is just enormous.
Nader: Yeah. Yeah.
Kyle: Right. I
Nader: think there’s a, there’s a couple of things too. Like if, let’s say we wanna, so one I think your intuition’s, right? The CLI is just wrapping the API,
swyx: right? So functional
Nader: functionally, right? Yeah. And I think it’s nice because one, you’re, you’re being very, uh, specific and pedantic even, um, of what and that’s really good ‘cause you’re describing the problem space.
So you know what the, I don’t [01:09:00] know. I don’t wanna call it like what the, the space for vulnerability. You know what network calls you’re making, it’s not arbitrary and that’s not decided on the fly. That’s like pre-decided, which is important from a security perspective. But then if you were to write a bunch of API requests, you would probably do that.
I don’t know. Would the model like use Python to do so? I kind of like that. Everything like a CLI is just dash because it’s ubiquitous. Like it’s just there. And you don’t have to make sure that there’s certain environment variables that are set up. Like if your Python versions, if the My Python version we’re using the same model to go do the same thing, is it gonna write like different code?
It probably would. And so it’s kind of like an nice deal work, right? Yeah. Human. Yeah. No, I think just like making those decisions happen ahead of time versus yeah.
swyx: One last thing on this sort of agent, I guess maybe co-location or whatever you call it, uh, one pattern on tracking for this year, I always try to think about what’s the theme of this year gonna be last year?
Definitely coding agents this year is definitely coding agents, breaking out of containment into broadening third world. I go Definitely has. So
Vibhu: you rent a human?
swyx: Yeah. Yeah.
I’m on here.
swyx: Are you really? [01:10:00]
I’m like $5,000. I’ll do anything. Really? I think so. I need, uh,
swyx: my, uh, my borrow from Costco.
Uh, but I think the best part is only the agent can book me, you know?
Yeah.
swyx: It’s very
Kyle: usually like,
swyx: it’s just like another labor marketplace at Mechanical Turk was this.
So definitely I have a weird story with why I did it. So back to your example of just giving agent access to compute, right? Yeah. You guys are GPU Rich at Nvidia. Yeah, I hooked up.
Nader: He’s not shy about it.
Local GPUs And Scaling Inference
I have, I have a 24 7 agent running, I hooked up to run pot.
It doesn’t shut down instances. And I’m like, I’ve tried prompting you, I’ve given the instruction. Shut down when you’re done. It’s like I to keep it warm, I’ll need it soon. And it’s horrible on time estimates too, ‘cause like they realize it’s like. Yeah, I’ll need it in 45 minutes. 45 minutes, I’ll shut it down.
45 minutes of human time is actually three minute of agent time, so it’s like I’m booting it up, I’m waiting, I’ll just leave it on all night. And mo moo’s good at shutting down after something activity. I had it on my local server, like a little dual GPU thing. It just stays on. I have a little space heater at home now, but careful.
[01:11:00] So basically, you know, they don’t care about the concept of money just burn it. I need it. It’s useful.
Nader: And another DGX spark will be really nice. Like, I, I think I’m looking at it as super useful for agents because Yeah, you buy it once you plug it in and they it can rip. I’m gonna make a, I’m gonna make an Nvidia ad here.
Kyle: Okay. The Blackwell, like RTX 6,000 cards. Pro Pro only, like, I think it’s $8,000. Slightly cheaper. Yeah. Well, it’s much, it’s much cheaper than the data center cards.
Vibhu: Yeah.
Kyle: And it’s got 96 gigabytes of u gram. So if you and your, your crew want to go, like, run a local agent for you, you know, you, you in the home.
I feel like, hmm. It’s got a significant amount of vra m I’ve thought about purchasing this and running in my basement, except my neighbors would hate me.
It’s just a single, like two, three slot. GPU. It’s mostly,
Kyle: yeah, it’s A-V-C-I-E.
Yeah, it’s
Kyle: UCI u. So GPU, you can go by that. I mean, the big difference against like the RTX, like gaming, GPUs, it, I mean, obviously it’s like blackball Pro, like it’s a pro GPU and it has a [01:12:00] lot of E round, which means you can run pretty large models on it.
You can stack four of them for the Maxim Q in a system that’s a beast.
Kyle: It’s beefy. You can run, uh, what is that, 96 ger or anything? 96, uh, you’re on a loge.
Uh, but also they, they are slow. They’re not, I mean, performance of speed will be somewhat slower compared to API like,
Kyle: oh yeah, that, that’s true. So again, the big learning economy of scale allows you to do things that allow you to get both speed and throughput.
Like you can run. I’ll give you an example. There’s an optimization called Wide ep. I’m not gonna go into it fully, but like it featured heavily in, in inference Maxim for Deep seek. And there’s a, there’s a great set of stories from Nvidia and from semi analysis about like why y EP is important, but for like MOE models, it’s like basically essential and you run it like the A Level app parallelism, the level scale up parallelism used for it is like 32.
So it goes beyond that eight barrier. And it like really, really, really is important to have that M mbl, L [01:13:00] 72, GB 200 MD link to serve at scale. And like, it’s like, I don’t remember the, the, you know, cost improvement I think against Hopper, right? Against Hopper. With this MBL L 72 system, you’re getting like 35 times cheaper per token for like a lot of the curve.
Yeah. Which is crazy.
swyx: Yeah.
Kyle: And Normalize per GPU obviously because the part of the GP is cost or the code, the GST part of the cost.
swyx: One thing I’m exploring is the sort of, this year is also the year at the subagent, um, where you have the main agent, but then that also kicks off tools, which are in themselves, agents that have limiteds.
Yeah. And sort of context locally, whatever, right? Yeah. Different prompts. So for example, one thing that Ian does is before you kick off a search, they do like a fast context model where you kick off April or you just to search, uh, across the code base plus all that. That is better than indexing. A a lot of the times, not, not all the times, and, uh, you should sell index for some picks, but like the idea that agents should be able to command subagent and probably run [01:14:00] them like maybe close to inference as well.
I don’t know if that’s like architecturally possible or even
Kyle: Yeah, we’re, we’re thinking about that for dmo. That’s like our big theme for the year,
swyx: because like you, like if you can design that into your stuff, then a lot of people, a lot more people will use it. Right now it’s like just kind of theoretical because.
You do pay a lot of like back and forth, uh, coordination costs. Yes.
Vibhu: I think it’ll net speed up though, right? Like even at a basic level, speculative decoding, you’re running a small model, you’re running two instances, but it’s not,
swyx: that is one example. Yes.
Kyle: Yeah. But this is like a little bit like different with like agents.
Agents, yeah. This is not spec. I think, I think there’s like a summarization of that trend that I like to do or I like to say to my team, it’s like, this is the year. So there are two things. This is the year system as model, right? Where like instead of having like a single model be a thing, you have a system of models and components that are working together to like emulate the black box model.
So when you, when you make an API call to something that’s like, like a multi-agent in the background, it still looks like an API called a model. You’re still getting back to
swyx: grants, but under the hood.
Kyle: Yeah, under the hood. It’s like a [01:15:00] billion different models. And that’s a lot of complexity, with Dynamo and with other libraries and media we’re, we’re looking to help manage
Nader: that complaint.
Yeah. It’s funny because we actually, for CES, we just released the model router. Uh, for DGX Spark where you can have a local model that’s running on the spark and then also a foundational model and then the model router decides when to send queries to which one. So it’s no longer this like either or.
It’s used the best stuff for everything that’s available to you. You have a good post-training bottle that’s running on
swyx: these. There are leads that are also the bread functionality of being able to manage the spark.
Kyle: Oh, that’d be cool. Oh yeah,
swyx: I did be able feature request. There we go.
Long Running Agents And SF Reflections
Kyle: I actually like a question, like I, I like to like extend and flip over.
How much longer do you guys think like agents are gonna be running? Because that’s one thing I’ve been throwing around, like, what happens when, I
mean always are
Kyle: it
even affects the, like back to the prefilled d the decode, right? Like, yeah. Codex is, I’d say, compared to cloud code, it’s much longer at tasks like, yeah, that thing, we’ll, like to run 6, 7, 8 hours.
I’ll run it overnight.
Kyle: Yeah.
And I’ll, I’ll go back and I have like a little crappy logging software I use and there’s just times where it wants to, like, I’m gonna go deep on [01:16:00] research and it’ll, I eat up 80,000 tokens go on another go on another, yeah. Just eat through tokens and you know, that’s part of it.
Like, at the end it does, it does hit a long task. And I think you only see that, that expense. Yeah.
Nader: I, yeah, there’s insatiable demand for tokens and every improvement that comes kind of just makes our demand even higher. It’s kind of funny, right? Like if you have like a teammate and you ask me to do a task and they’re like, should I save some effort and not think too hard about this task?
I’m like, f**k no.
I mean, my favorite was like, you can, you can have four shots, right? Yeah. Like the original codex before the app. You, why do one call, like, give it four attempts? Just, just use all the token to out, right? Try Moreal try, try again. Try more. It’s
Kyle: like, it’s like the, the meta index right?
Is the thing that tracks like how long models are able to run. I expect that we’ll just see like log linear, if not log super linear growth. We will see before the end of the year an agent that is capable of running for longer than 24 hours with like self consistency the entire time.
I, I would also poke at different domains, having different [01:17:00] desires, right?
Like at a consumer level. I’m getting slightly frustrated at 20 minutes per basic query. Sure. You can optimize, you know, six, eight hour. I don’t see myself shooting off many one week agents. Right. Someone doing like, okay, GPU kernel research or medical or biological, like, you know, in, in those domains Sure.
Shoot off a lot. That take a, so like I think it will be somewhat domain specific ‘cause you also really need to turn that in. Right.
Kyle: It’s funny one, those was doing your taxes. Right. Like, that’s tax. Yeah, that’s, yeah. Okay. Yeah.
Nader: Get it right. I wonder if like this major school say sort of like, uh, speculative decoding is like your agent figuring out what you might be prompting it the next day at night and like pre fetching.
swyx: Yeah, you can do
that.
Nader: Yeah. Really? Branch, branch prediction.
swyx: Oh, well no, that, well, that’s, that’s too, that’s too low level, but yes. Sorry. Yeah, yeah, yeah. One question I gotta get, so like, uh, we actually did record a part with the, the beat folks. Uh, with Sarah right here, their chart is the human equivalent work, uh, hours of work rather than how long it has themselves are, are being [01:18:00] autonomous.
And that, that’s a huge difference, right? Like human work, five hours agent work, 30 minutes, like it’s actually 30 minutes not, uh, yeah. Firearms, right? Like, so like that, that, that chart that you see is them estimating what the human equivalent replacement is. Um, I think the, I think actually Enro release a more recent chart.
That showed cloud code autonomy from their production traffic numbers, and that was 20 to 45 minutes. That’s roughly where we are. So yeah. Yeah, that’s the sort of realistic thing. I mean, I, I do think like there’s experimental setups we can just like, Ralph with and like just prompt it to keep going, uh, when it stops.
And obviously you can, that can go arbitrarily long,
Nader: I feel like
from my
Nader: experience. Yeah. I guess 20 to 40 minutes seems right for when I’m using like Codex or cloud code. But then like what, I always try to just, like, if I wanna spin up like a new, there’s a net new project, I’ll, I’ll often start to rep it and like it’ll end for I believe, yeah, yeah.
Like spin up like the, their new, like from the V three agent. Like it’ll spin up a web browser and like click around and discover new bugs and just keep churning. Um, so I, I think like my longest was like over an hour that, hey, I’ve been churning
I think before [01:19:00] we see super long running. I think there’s gonna be a bit of an efficiency hit.
So. Sure you can take an hour and go down paths, but you also want you wanna be more efficient, you wanna be smarter in your reasoning, right? So I think that’ll actually go down before we go back up. Like, you don’t wanna scale non-optimized systems just for the heck of it. As much as I love saying, use all the tokens, um, you know, they are expensive.
Like going from dance to reasoning models, that’s an added cost, right? You’re paying for a lot of tokens and it doesn’t make sense to just scale stuff that’s not optimized. So there’s, there’s always that little balance.
Nader: Yeah.
But you know. I think you’ll see both sides of it.
Nader: Yeah. So 2023 was super exciting.
I think if you were in SF you were like, okay, uh, I know this is gonna be a huge world changing moment, but it seemed like, you know, no one had known yet. And maybe even before, was it 2022 maybe?
swyx: Yeah, yeah. I would say, yeah, like RU had this tweet where like everyone was in SF from like 2021 to 2023. Yeah.
Understood what it was like to be late, early.
Nader: Totally. Um, yeah, 2021, that’s when I made my first open AI account. Yeah, it went, um, it was crazy. [01:20:00] And I remember it was so funny ‘cause at the time SF had not been doing well. So pretty much what it felt like was the concentration of founders in the city had ro had risen because, um, where my neighbors were used to doing a bunch of stuff, those people had all left.
So the only people that were still in the city were people that really wanted to build It was cheap tech. It was, yeah. It was also way cheaper. I feel really bad anyone, uh, who is trying to get rent now, but there was, uh, cell was they had a huge office.
swyx: So blockchain in Yeah, like took over the, the old Casper building.
Nader: Yeah. They had the showroom and they had the, like the, what would, I think it was like the back warehouse. It was, and it was a huge office. And
swyx: it’s right across an opening Eyes in New Link.
Nader: Yeah. It was in
the original arena.
swyx: I named the Arena because of it.
Nader: Yeah. Yeah. And so it was really exciting because like vo flow I think uh, I forgot the Minify.
Yeah. Minify, uh, brev was there. You guys were there. I remember. That was actually, it was there that you bought the AI engineer domain.
swyx: Yeah. I didn’t know what I was gonna do in ai. I, I wanna do something,
Nader: but it was kind of this, it was a really fun moment where we were kind of all in this solo space and it, um, I don’t know.
It was, [01:21:00] it was a really cool community, especially being so
swyx: early. Yeah. And so it, then you got me early cruise access. Oh yeah. So there was a going period of time. They both cruises and Waymo’s were just free. Yeah, always.
If you had, I mean, they’re, they’re so Back Cell is opened again.
swyx: Yeah. So Nature Zoo.
Zoo is Nature Zoo. Zoo Robot Taxi. Yeah. So Totally. Yeah.
Nader: Oh. But yeah. And so it’s actually really cool that you guys have this studio so close to, uh, cell. Yeah. This rock climbing gin right around the corner. It was like, um, 2000. Oh yeah. Yeah. It’s, it’s an awesome block.
swyx: Cool. Yeah. Just, and you bit services partnership.
Uh, I do think one, one thing I try to do with the podcast is like bring, like what is, I get to be a San Francisco to the rest of the world and also just like. Maybe give, uh, yeah.
Nader: Yeah. My favorite talk was in the city, uh, and
swyx: yeah, stick and stream. I know. It’s very good.
Nader: Yeah. And I guess what it’s like to be in San Francisco I think is just everyone seems to be super supportive.
Uh, sometimes I feel like the city believes in you more than you do. And even, uh, I don’t know if you remember, but I remember [01:22:00] posting my first blog post and I had met you on Twitter and you gave me like an hour of your time super randomly, and you kind of coached me through, uh, writing content for developers.
And I was trying really hard not to come off salesy or plug myself. And so I kind of stripped all personality out of the blog post. Yeah. And you, you brought that out. You’re like, people don’t, it’s, it’s okay to talk about what you’re doing. Like you don’t have to be weird about it. And I remember just that, I think that really helped me kind of figure out what our voice is and not shy away from it.
And so always really grateful for you. Hey, you inject your voice into like, everything. Now it’s actually a huge advantage to be like very
Kyle: genuine about what you care about.
swyx: Yeah. Yeah. You imagine like summer, some infra in DMU and like, it’s like, can you gimme feedback on this blog post? And it’s pretty boring and you’re like.
Find like, you know, he looks interesting. I’ll just do a zoom call and then you meet this guy. Yeah, right. He’s so energetic, so just be right. There’s, but like, I think people are trained to write a certain way in school and Yeah. They never totally see there’s like a broader well,
and
Nader: lots un unlearn
Kyle: writing.
Writing is thinking and like everyone thinks differently. So [01:23:00] like, might as well as just like,
swyx: yeah. Yeah.
Kyle: Write your way.
swyx: Cool. Well, thank you for, uh, in indulging with us, uh, really broad breaking discussion, but I love, like, you guys are like, sort of like the sort of young faces on video with so much energy and, but like also lot of technic death and I think, uh, people learn about for this session.
So thank you.
Nader: This was awesome. Thank you guys. So thank you for everything that you’ve done in the talk. Yeah, NG the podcast, all the above. And uh, C-O-T-C-I really forward to it. Yeah. Cool. Thanks. That’s awesome. Thank you. Thank you.
This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.latent.space/subscribe




