

Dan Fu explains how research and engineering should form a tight feedback loop to build an “AI cloud” focused on efficient inference (tokens per GPU), and how teams should manage agent-driven coding without breaking ownership, review, or cost attribution.
Dan Fu is VP of Kernels at Together AI and an assistant professor at UC San Diego. He co-authored the Flash Attention paper and leads a UCSD research lab while managing engineering work on the inference stack (from data center requests down to GPU kernels).
Research “moonshots” can move faster into production when engineering needs efficiency; “looped models” illustrate this (a UCSD lab idea later reportedly appeared in GPT-6 Astra). AI accelerates engineers most when they have deep domain/hardware expertise. For agentic teams, managers should still use DRIs/ownership and track AI spend against delivered impact.
looped models; Flash Attention; Together’s custom Perfetto/trace viewers and kernel tooling; partnerships serving inference for model providers (e.g., Moonshot, Minimax, Cursor).
Written by AI. May contain mistakes.
Dan shares insights on his roles in research and engineering, emphasizing the intersection of both fields.
“So let's get into it in our conversation today with Dan.”
Discussion on how research ideas evolve and their application in engineering, including the concept of looped models.
“And there I have a few great students who are doing all sorts of research on, you can think of it as next generation architectures and things like that.”
Dan discusses the challenges faced by engineering teams, including bottlenecks and the need for strategic problem-solving through research.
“is this idea called looped models, where you take, so traditionally you think of a model as you have some input, goes through all these layers of a deep learning transformer.”
Emphasizing the importance of intellectual fearlessness and curiosity in research, Dan shares how these traits affect student engagement and project success.
“bottlenecks where like code review is just turned into a big ceremony.”
Dan explains the qualities he looks for when hiring in both the lab and engineering roles, focusing on curiosity and attention to detail.
“Like I was at a talk, it was a conversation hosted by Jorkesh and Dr.”
Discussion on how AI accelerates workflows in engineering, with an emphasis on the importance of domain expertise to effectively use AI tools.
“And since we're accessing them and leveraging them in new ways, now suddenly we have to do deep research to understand how do we get every little bit out at the scale that we're going.”
Explore how domain expertise enhances the effectiveness of AI tools in programming.
“It might not be doing the right, might not even be corrected because of some ABC different edge cases.”
Learn how visualization tools and AI models impact kernel programming efficiency.
“realm where if you've been like shunned away by AI because it was really crappy at your domain, having like the persistence of pushing it and being like, why is it bad at my domain?”
Discuss the future of AI cloud services and strategic partnerships for model inference.
“And so it becomes where the problem has like the highest opportunity for folks that like really eke out a small advantage, that advantage scales all that way up.”
Examine the challenges and opportunities in scaling AI to meet consumer demands.
“And we're just seeing the demand for AI grow in such crazy ways.”
Reflect on historical parallels between early internet developments and current AI advancements.
“Yeah, there's a ton of interesting parallels there.”
Discussing the value of writing and sharing research papers in academia.
“And that's kind of the opportunity I think that folks need to have now if like they're really curious.”
Exploring the integration of AI in engineering workflows and team dynamics.
“So I want to take an opportunity to pivot just a little bit here and talk about more on the engineering application world of using and scaling AI, particularly on a team level.”
Analyzing the new challenges that arise from AI integration in software development.
“how do you actually make it easier for AI agents to operate under code and accelerate things.”
Explore the evolving concept of the 10X engineer and its implications.
“And what I've seen is just that the capabilities of the 10X engineer become even greater.”
Discuss the crucial responsibilities of engineering managers in modern teams.
“I think part of that becomes also on the engineering manager role.”
Wrap up the conversation with insights on engagement and future directions.
“and to get inside your head about how you think applying the kernel world to the engineering one?”

Get the gist, explore an idea or ask about something said.
On Dev Interrupted, what are the key points of this episode?
Automatic transcript. May contain errors.
0:02You're listening to Dev Interrupted by Linear B. This week we're taking a field trip all the way down to the GPU. My guest is Dan Fu, VP of Kernels at Together AI and an assistant professor at UC San Diego. Dan runs a research lab where he co-authored the Flash Attention paper and he manages an engineering team at the same time. We talk about how ideas cross between them, what it means to build a cloud for AI, and how to split up the work when AI makes your best engineers even faster. Ultimately, Dan sees AI as an accelerant for individual engineers. And at Linear B, we work with teams on what comes next at an engineering level as well, turning those individual gains into team outcomes.
0:47So let's get into it in our conversation today with Dan. Dan. If you've run a model in the last few years, you've almost certainly touched Dan's work in some way. And what I find the most interesting about Dan is he wears a lot of hats, runs a research lab, he's a professor, leads an engineering team. So today we're going to talk about what happens when research and engineering stop being separate departments, start becoming a harmonious loop, and what it means to build a cloud that's designed for AI from the start. So Dan, welcome to the show. Thanks so much for having me. It's really fun to be here and looking forward to a great conversation.
1:22Amazing. Well, we're super excited to host you. And, you know, I really got to start with the part of your very unique kind of assemblance of roles and responsibilities that you do. I think that really gives you a unique perspective. I want to frame from the start. Could you tell me a little bit about your background in being a professor and being in a research lab, as leisure capacity as VP? Yeah. So like you said, I wear a few hats. At Together, our team runs the whole inference stack. You can imagine as soon as a request enters data center all the way down to the GPU and everything in between.
2:00So we think a lot about how to get more tokens out of the same hardware so that when you're trying to use it for coding or chat or chat GPT, tell me what plant this is or whatever. all that stuff. We want to make it so that all those capabilities are available to a lot of folks. Separately, I run a lab at UCSD. And there I have a few great students who are doing all sorts of research on, you can think of it as next generation architectures and things like that. So yeah, it's a lot of fun, a fun intersection of the research and the engineering cultures. And did one come first or did one come lead to the other or did they emerge at the same time?
2:47Let's see. So I've been at Together for about four years now. Started part-time during my PhD. Near the end of my PhD, went on the faculty job market and got the position at UCSD and started running a small lab there. So I guess they kind of rose in parallel with each other, which has been fun. No, I've definitely, I've been meeting folks like yourself that are like dually armed going down this like academia path and this like applied, engineering applied, like in the industry path. And I think actually there's a lot of opportunities now to bring that kind of work, which traditionally has been so bridged closer together in terms of just accelerating each other, building off of each other's progress.
3:35And so like, what does it look like, I guess, then bringing that kind of mindset into your role at Together? How does your ideas around those things like then impact the actual engineering that y 'all end up delivering? Yeah, yeah. The way I think about it is the ideas, the research ideas are a little bit more out there that could work one day, that could have... The moonshots. Exactly. But that won't necessarily translate to something immediately. Those are the ideas that I tend to explore more at the lab. So the funny thing is, it's actually a lot quicker of a loop than it was even when I was doing my PhD.
4:22So one set of ideas that one of my students has been looking to at UCSD is this idea called looped models, where you take, so traditionally you think of a model as you have some input, goes through all these layers of a deep learning transformer. The basic idea of a looped model is instead of just going one after another, some way in the middle, you're going to go back and do this big loop. And he was really interested in this idea, found that it could add another axis of scaling, you can get the same performance with a lot smaller model, stuff like that. And in my mind, I'm like, okay, this is a cute idea.
4:58It's really interesting. Maybe someday, somewhere in a few years, someone will scale it up. But then I think some news piece, like the information leaked that GPT-6 Astra might be a looped model. So I'm like, okay, the time from cute research idea in the lab to someone reads it and goes and implements it in an industry in the biggest cases, seems to be a lot narrower than it was before. The line is kind of blurring, but yeah, it's very, I think, the ideas that for me are just driven by pure interest happen in the lab and then together with that team that's a lot more driven by there's some big open source model.
5:45How do we make that one in particular more efficient? Totally. It changes the math on the traditional R &D idea and what you're saying about you bring the idea to the lab where it's like really early in its infancy or it's not relevant in the pathway of a media application yet but you can bet or you can foresee you can hypothesize that it will be and it will take x amount of time to figure it out and if we figure it out now that we won't have this bottleneck later so like that's an evaluation you're constantly making in the lab of like what do we pick up what's going to unblock us like because really what's happening especially in engineering, like teams are working so quickly, producing so much more code, the cognitive load of what they're like putting out day to day is, is so massive that they usually can't even get a grasp on it.
6:31And this then causes a whole bunch of bottlenecks, right? Like you have the review bottlenecks where like code review is just turned into a big ceremony. No one reads it anymore. You have an ownership issue with the code and who wrote it? Oh, an agent wrote it, but who prompted the agent where did that agent come from what right what is it what is it building on so all of these problems uh there's so many of them and so teams kind of get like scattershot about like what do we attack and what do we what do we solve and by having a lab you can be more strategic about like this is our menu of problems and these are these are the pain points that we need to apply deep thinking and not only thinking but we literally need time the access of time is not scaling at the access of capability from the model.
7:19So we literally need time to bake these ideas. I can't make time, you know, I can't make more time. And so it, and so it really becomes like symbiotic between the two, the research and the, and the lab. Yeah. Yeah. I agree. Yeah. I, I think the, the real thing that differentiates the lab research is that it has to be really driven by, by personal, by personal interest and student interest. Um, it's like, uh, I, I always tell my students, like if you pitch me an idea and you tell me why it's useful, I'm like, maybe not. But if you tell me why you're interested in it, then that's something that you want to go spend, spend a lot of time on.
7:55Totally. So it's a very, it's a very different value function and selection function there. And you call out how it becomes a quality in a person. Like I was at a talk, it was a conversation hosted by Jorkesh and Dr. Fei-Fei Li and it was in work OS was hosting it. It was really cool. And something that she said she admired in her students in her lab is intellectual fearlessness of just being completely fearless about being curious about something and not giving up on that curiosity and not getting discouraged along the way. And that for her, like when she had a student that had that pairing of that intellectual fearlessness and they came to her framing it exactly how you did.
8:42Like I, I'm really curious about this. I want to know about this. I think this is important. It transforms like the whole research process and the timelines, like you said, become so compressed where you're like, actually now this once upon a time moonshot could be a realistic thing you shoot for. And how does that, how does that impact like how you even think about like hiring and skills you look for? Both like in the lab, but really, I guess, moving to like thinking of applying this into the engineering route where a lot of our listeners, that's where they work every day. And they're wondering how to apply this kind of thought.
9:15Like, how do you bring that into bringing in really good engineers? Yeah, yeah. I'll address the lab piece quickly. I think when I'm looking for folks for the lab, I think that that phrase intellectual fearlessness is a really good one. So there's, you know, in the history of research, there's countless ideas that started with, you know, oh, I had this idea, but my advisor said no. And or like, I had this idea, but someone somewhere who should have known better than me discouraged me. But the really great thing about a PhD is that you have the time to explore that and you have the time to go down all those paths that may not make it.
9:51No one can't go down the path. Exactly. Exactly. Yes. Yes. Yeah. Yeah. It's almost the naivete of like, you know, nobody told me that this thing was impossible until I did it. Until I did it. Yeah. Exactly. Exactly. So, yeah, that's certainly one quality I look for in the lab. When I'm building the team that's together, I think it's a, you know, that intellectual curiosity is also something that I look for. But a lot more of it is kind of who's willing to get down and dirty with the details. So the systems type of work is very much, you know, I think one thing that those of us who spend a lot of time in it is that you can actually go and understand all the details.
10:36you can actually go all the way down to the hardware and understand what every single little thing is doing. There's this part of AI machine learning research that's kind of the models are too big. There's too many parameters. It's like doing neuroscience or something to try to understand why the model said A or B. But when you're just optimizing the runtime of a model or optimizing a tension module or a kernel or something like that, it's also very complex. there's a lot of moving parts of course but you actually can go down and say this is what's happening on the gpu all the little pieces and oftentimes you need to go and look under all those stones to really understand what's happening um so that that is the quality that i select for more in the engineering side just that um leave no stone unturned type of thing um and then of course i think if you you have to enjoy the the deep the system the deep system exactly the person you're describing is turning over every single stone it we're operating in a very like tight safe kind of reality and so yeah it's like it's it's really it's really kind of uh funny to see how the shape of the kind of tooling that you work on really impact like the actual like skill sets that you need for very specific kinds of engineering especially when you get so close to the hardware because there's many there's many engineering leaders right now who would argue that like the engineer they're looking for has this fusion of like product craft and understanding the customer need and talking with them but it also still speaks to like the deep engineering work that's still required to scale all of that opportunity which is what y 'all focus on at together it's kind of the idea of being in like the cloud category right now and you see a lot of folks call it like the Neo cloud because it's really about a mindset shift, a reset about how we think about those resources and scaling them.
12:36And since we're accessing them and leveraging them in new ways, now suddenly we have to do deep research to understand how do we get every little bit out at the scale that we're going. Exactly. Yeah. I think. How do you think about that? How do you think about navigating that world in the cloud world now? Yeah. it's it's very i think the type of work that we do is very deeply technical um and it is the type of thing that i i think you know when you talk about the engineers who have that product sense certainly like we we look for that we we love having folks who can talk to customers and understand those bottlenecks once you do that it ends up boiling down to two or three numbers then you have to actually go and and make the the thing like get get more like it's going to boil down to cost or like some quality or some some tps and then what once you once you understand that and and what's happening on the other side which is uh if you if you do it right it's one or two calls then you have the rest of your week the rest of the month to actually go and hit those those challenging technical goals um i think it's it's interesting so we've certainly started using ai a lot to accelerate our workload so uh we can write kernels way faster than we were able to uh you You know, a year ago, we were able to build entire parts of the inference stack a lot faster than we were able to a year ago.
13:56But one thing that is definitely, I think, more true now than it was before is that the more domain expertise you have in something, the faster the AI tooling lets you go. So if you are coming to it and you don't have a really strong understanding what's happening on the hardware, what's happening in this complex software stack, the AI will let you write a lot of code, but it might not be the right code. It might not have the right design. It might not be doing the right, might not even be corrected because of some ABC different edge cases. so when you're in that position I think what we found is that the more domain expertise you have the more you deeply understand something, the more effective you are the faster you can go It speaks to AI as the amplifier in this case if you don't have those skill sets if you don't have that curiosity you can lack the domain expertise but if you also lack the reflective skills with an agent to build that expertise and the pathways of building that expertise, like outside of a chat, right.
15:09Then you kind of starve in terms of being able to like leverage that for decisions. And so like for T people who are working on like deep system stuff, there's a lot of partnerships still between agents and humans that get stuff across the finish line, especially because it all comes from a realm of innovation, which agents have spiky, you know, things within, but still ultimately like requires a bit of a spark that it can be hard just like to expect to appear in a loop somewhere. And another thing too, that I've noticed is that like AI enablement came for everyone in equally. And like for people that were in the product world, the SaaS world, the customer facing world, writing the reacts and the front ends of like their ecosystems and their industry and their, the tooling they used every day evolved so rapidly and so quickly over and over again.
16:06And just like fundamentally the way that they were able to leverage the tools were fundamentally different. Meanwhile, you folks that were on a lot of like embedded language, like embedded systems and like deep languages and, and, and, and things that did not have as much code in the training data that all these foundation models are trained on that did not have those same experiences. And so they would use those same tools and get like crappy results or they would not get anything near what their peers are talking about. And then you get like a distaste, you get a divide. So, you know, I think it's always been about like within that realm where if you've been like shunned away by AI because it was really crappy at your domain, having like the persistence of pushing it and being like, why is it bad at my domain?
16:51What can I give it? What's the scaffolding I need to do? I imagine that like, y 'all just ended up building this, like, you know, you know, probably a wild looking factory in terms of how you push the research along between each other as researchers, but then also across the line into like the engineers. How do you think about systematizing it as a, you know, a systems thinker? Yeah, I think, it's really interesting. So, I mean, first of all, the AI ability to generate really fast front-end apps and things like that. So half of understanding what's happening in these systems is building the right visualizations, understanding the data deeply in doing that.
17:28So even before it was able to write, AI was able to write kernels at all, the ability to build those visualizations was hugely impactful for folks' acceleration. So we built our own Perfetto viewers, our own trace viewers, our own tools for tracking how fast the engine is going, how much data it's processing, how many tokens. You made Windows. You made Windows. You had this big black box where all this stuff was happening. You punched some Windows into it. You created a way to share and talk about it. I thought you were talking about Windows, the operating system. No, no, no. We didn't go that far.
18:08No, you punched literal holes in the wall of the black box. And you said we have the opportunity to not only go really fast inside this black box, but wouldn't it be cool if we leveraged some of that to visualize and to share language on what is happening? And I imagine this kind of helps kind of tackle bottlenecks, too. Exactly, yeah. So that ability to – it gives you a new microscope almost to go in and look at what's happening and understand what's happening. That tooling was hugely impactful. And the AI models, the coding models still kept improving to the point where I think a year ago they were able to write some kernels, but not a ton.
18:47Now they can write a lot of simple kernels. And if you equip a strong kernel engineer with a good coding model, you can generate a lot of kernels. And for the viewers who don't know, so kernel just means GPU program. It's a fancy word for GPU program. I don't know why there's a different word for it. um but it just has to be special it's just a little building it's just a little building block of leveraging the literal gpu hardware to to the bridge into the realm that we're trying to all build on top of exactly which is why that's like in conversations like this you know you're not even like the first like kernel researcher that we've talked to on this show like ultimately so much of this stuff boils down to this level because this is about as fundamental as you get before you start just moving into like raw power inputs and things.
19:35And so it becomes where the problem has like the highest opportunity for folks that like really eke out a small advantage, that advantage scales all that way up. And so that becomes like why the opportunity is so big. And speaking of the opportunity being so big, you know, together is expanding. Y 'all have like are continuing to get more partnerships, your surface area of your platform where people are training and running models gets bigger, gets more higher performance. What are some of like the big bets that y 'all are making in the future? Like as you think about like defining the AI cloud category?
20:14Yes, yeah. So I think, so the, when I think of AI cloud, I think a couple, there's a couple analogies I think of. So first is, you know, what is the analogy to the old traditional digital cloud? If you look at AWS, it's not just machines that are running CPUs. It's the databases. It's the logging. It's all those other pieces to it. And I think the AI cloud, we are building up similar sets of infrastructure as we grow. So it's not just GPUs for training your models, but it's once you've trained the model. So training is a one-time cost in some sense. But then the only time that anybody ever makes money in AI, the only time when you actually deliver value is at the inference part of it.
20:59Because, you know, that's when people actually use the thing. That's the consumption endpoint. Exactly. So we're spending a lot of time thinking about inference, scaling inference. We have partnerships with great model providers like Moonshot and Minimax and Cursor, who are, of course, spending a lot of time training really strong models. And then we partner with them to serve inference. So that's going to be a major strategic bet for going forward. Where we're going and looking at how do you give training, you know, expose training to more people. So traditionally, the training side of the business, we've worked with very deep AI native companies where it's the AI PhDs who dropped out of their PhDs to go build a model company.
21:49But there's a lot of folks who are just getting into it. And especially as AI expands in the economy, there's a lot of other folks who are thinking, how can I use this great new technology in my own business? and you might need to customize it or post-train it or fine-tune it. So we're thinking about those folks and how do you enable those folks to use these new capabilities that are being developed and how do you get them to work? So those are a couple bets. And we're just seeing the demand for AI grow in such crazy ways. So we're just, a lot of it is a supply game, a compute game, how do you get more compute, how to get more supply so that you can help produce more tokens for the world?
22:38Yeah, absolutely. I think the some of the biggest challenges I think are about definitely taking this tooling, this infrastructure that used to be highly specialized for a very sub small subset of people or use cases. And now we have we've totally cracked that open. We've acknowledged that we're on this jagged frontier where even if we stopped innovating today on all things AI. There's still so much to go back and implement across every industry, all these work surfaces. There's so much of that work to be done and we haven't even really started taking big bites out of it. And so I think that's going to be a huge opportunity.
23:18And so that just then swells up where all of that is going to run, what's going to support that, but also what's going to enable these companies, these people who now for the first time have to approach the, oh, we need a model that's a little specialized on this, or we need to figure out how to take this very specific combination of domain expertise and use it with a model and then serve it to our customers. Because our customers now, that's what they expect. They don't want to come to my app. They don't want to come to my website and log in and click around and look at dashboards. They have their own dashboard world that they live in where all of their stuff flows in.
23:56And they need to be able to, they need it on a consumer level, being able to plug into that. And it's really interesting to start to see like major players in like the market start to tackle the consumer grade AI agentic assistant kind of thing. You have like Muse, which is making a big stir and everyone has a different opinion on it. And so I think that just represents like the very beginning of what's going to be like a vast amount of enablement. Yes. Almost more like we've joked about it on the show before kind of comparing it almost to like the eternal September of like AOL and Newsnet of like the idea that once AOL started sending out Internet access emails to everybody in the mail and people got online for the first time, things like the user net boards were just expanded with people saying hello for the first time.
24:46And that used to just be when college would start because those were the only people who had access to the Internet were college people and students. So all of a sudden, everyone, this whole world that college lived in is occupied by people. That's why we exist and tolerate all the weird things about mail that we do. Because then all of consumer mail was built on top of the pre-existing mail structures. And also I think about like news groups and user groups and about how like that's been reflected into how we like communicate on the web. And all of that comes out of like places like academia, specialized computer researchers, tinkering and building systems, thinking about how this might scale.
25:29And then it's scaling explosively out of their control. And then all they can do is, you know, make make changes and modify things over time. that's kind of a parallel that I see that we're like on a bit of a precipice with this kind of compute. Yeah, there's a ton of interesting parallels there. So my favorite one is if you go back to some of the old papers from the 60s that kind of produce or propose email for the first time, they didn't call it email, but they kind of said, oh, you could have these two computers and they kept a network between them and can send messages from one to the other.
26:03where you can have a list of messages that you read on the other side. And it can be just like sending letters over the old-fashioned thing. They even have the language. At the very end of those papers, at the very end of some of those papers, there's a section that's like, you could also say, so since now these are all virtual, so you could send one piece of mail, send it to many people. And that could be really interesting to communicate to a lot of people. But you might get this thing where people get a lot of unwanted, a lot of unwanted mail in their inboxes. And it was like this paper from the 60s that was predicting spam email.
26:40And it's like, yo, it's really interesting that you can go back and see some of those parallels. Yeah, you can extrapolate then what happened against the reality. Like, it's so funny to think like, obviously, you know, some PhD was thinking about, well, when you scale up this mail thing and you make it accessible, And then that hypothesis becomes an all too unfortunate reality that we're all just incredibly aware of. I think that's the fun thing about research right now is because this technology will be so widely transformative, those little unassuming turn over the rock and find something interesting things could have really profound implications.
27:22So being like, there's a lot of value right now of like being out there with the pickaxe and digging around and trying to find stuff and dig things out of the ground. I've had a lot of like, I, I've really enjoyed working more on research papers, collaborating with like researchers. I've done a lot of that in the last year, including even participating in a conference where I wrote a paper because it's just like, I think there's so much opportunity to like bridge stuff from the engineering world. and all of the things that we, the tooling we use and share them more broadly. And it just turned out that like there was a whole conference set up for people sharing those same kinds of ideas as me.
28:02And that's kind of the opportunity I think that folks need to have now if like they're really curious. Yeah, especially I think, especially in a, you know, when there's been an interesting thing going on, I think in math academia where everybody got access to these really powerful models. And suddenly these models could do proofs that were just weird that you're trying to work on for a while. We haven't even talked about the math world. They're having a total lockdown over there. Yeah. But yeah, I think there's something nice about sitting down and writing a paper yourself, though, because it gives you the opportunity to really think about what you want to say and how you want to say it.
28:39And when you're talking about research paper, you have some set of ideas, some perspective on the world. How do you test that out for yourself? to see how true it is, or maybe there's something that you didn't quite understand. And then how do you communicate that? How do you present it in a form where people really get it and understand it? And they care. Like, I think that's what makes like a research paper really stand out is, you know, you read the beginning of it, you're understanding what they're going to explore, what the abstract is. And maybe the conclusion is solid, but, you know, I want the conclusion to really matter or to have some sort of resonant kind of thing.
29:21Even if it's not a technical one, even if it's just like an implication of something to think about. That for me is what I always reach for. It's like, what's the reason in here that I would care about what this person learned in this paper? Exactly, yeah. That connection between like when you're writing, you're really trying to understand and really get to the root of your own thoughts. and then to spend a lot of time writing something and then to put it out there for people to read and consume and react to and give you feedback on is I think part of what makes this whole research thing so fun, part of being in this community.
30:08And yeah, I'm glad that we still have that capacity and that capability to do it. This episode is brought to you by Linear B, the engineering productivity platform. Your agents now ship more code in a week than your team has hours to review. And on November 18th, we go live with a walkthrough of Linear B's new agentic studio built to deliver outcomes when human attention can't keep up. Co-founder Dan Lyons opens with why we rebuilt Linear B around context. Then the product's team shows it working. I'm hosting with Jamie Burse and we're saving the last 10 minutes for your questions. So be sure to save your seat.
30:46And if you can't make it live, register anyways, and we'll send you the recording and the assets afterwards. Link is in the show notes. So I want to take an opportunity to pivot just a little bit here and talk about more on the engineering application world of using and scaling AI, particularly on a team level. Because this is really the nut we've been trying to crack on Dev Interrupted. Maybe you can help us crack it. And the problem is, is that as you start to get more agentic as a team, you get pockets of maybe like one really agentic person or a really agentic team. And you have team leads and your CTO, CFO asking like, you know, we're spending all of this money on AI.
31:33We're trying to measure the impact, the outcomes of that. There's clearly some agentic AI acceleration stuff going on, but how do we talk about it? What's actually getting shipped? Why does that actually matter? All of these become like really big questions that traditional processes and engineering were built to solve, like code review and sprint planning and that kind of stuff kind of crumbles at the scale that gets unlocked by the way that a lot of teams are working now. how have y 'all thought about building an engineering or AI first and preventing those bottlenecks from appearing how do you think about ownership within with code as it moves for the the SDLC these are kinds of questions that a lot of our listeners are grappling with yeah I think so here maybe maybe I'll separate my answer into into a couple parts so I think there's a question in there about tracking cost, like how do you and how you do tribute.
32:38We've been spending all this AI spend. Is it actually accelerating us? Is it actually making things better? There's a portion there around, you know, ownership of different features or different ideas. And then there's, I think, a little bit in there about how do you, like the nuts and bolts of how do you make it easier for AI to accelerate your coding workflow. So let me start addressing those one piece at a time. So I think at the highest level, so going after the first one about that cost piece and the how do you attribute acceleration or non-acceleration to AI coding piece and AI spend? How do you know if this thing was worth it when the CFO comes knocking?
33:27I think for us, almost the traditional metrics of how do you evaluate people? How do you evaluate, you know, like, how do you know if your engineer is good, right? How do you know what they've been producing? What, like, is it time for a promotion? Is it time for a raise? Do you need to have a conversation about their output and where they're spending their energy, I think. And actually, connecting back to the ownership piece, the world, that part of the world is still pretty similar. So there's things that you need to get done. You have to think deeply about how you split up the responsibilities.
34:02You have to think about the organizational pieces of who controls or who's responsible for which parts of the stack. All that thought, all that effort still needs to go into it. Just because people have AI and we've heard people talk about AI agents, you're managing a team of AI agents and things like that. If you're a manager or a manager of an organization, or running an organization, you still have a responsibility to really think deeply about what your people are doing. How do you help them grow? How do you make sure that they have opportunities to show off their capabilities? When somebody is ready for it, how do you know when to give them more responsibility for something that is key to the business?
34:47I think all those pieces are still the same. So the way that we do it, if there are key projects, if there are key features that need to be implemented. We still have people who are DRIs. We still have people who are responsible for it. And the tracking, the management of that progress still looks very much like it did even before AI. I think a major difference is just the velocity of how fast those things get done. So we have to accelerate our planning. We have to change our timelines. We have to think about how many people do we need and how much time do we need. So those things change. But your star players are still your star players.
35:31It's usually clear to everybody in the organization who the star players are. And you can see, if you look at where they were now versus where they were six months ago or a year ago, if you've been following their progress over that time, you can see the improvement as the AI spend goes up. And the flip side of that is, okay, at some point, somebody takes a list and it's like, okay, here's the AI spend of everybody in the organization. And then you go and you bring it to the managers who knows who's doing what and who's tracking kind of the impact. The same way that you do it at a per review cycle.
36:05And you're like, okay, this person, this amount of money, impact, super great. Okay, thumbs up, thumbs up. And most of the time it matches. Occasionally, you have a few people who's like, oh, wow, you spent that much money on AI. And I don't know what you have to show for it. Then you have to go and sort of have conversations with those people. It's an increased leverage point. So like if someone, you know, in some sense, you know, sometimes you may have underperformers who in the past would have just sat there. And then at perf time, you're like, okay, what did you do? Let's try to figure out where you're spending your time.
36:43Hopefully, if you're a good manager, you're having those conversations earlier because you're hopefully checking with your people more frequently. I think there's a new failure mode of, okay, a person who I thought was just kind of sitting around, maybe I need to have a conversation with them. Oh, it turns out they spend this much money on AI spend. So that's kind of a new failure mode. I personally haven't really seen the one where it's like a really high performer that is also using too much AI spend. Usually they're pretty calibrated. Maybe it's because in our company, in our industry, everybody kind of knows what the spend correlates to on the other side.
37:20But in many ways, it's still a classic engineering manager roles where you're trying to help your people grow, trying to figure out what's the right way to split up work and responsibility. So a lot of those pieces stay actually quite similar. both in terms of ownership and in terms of tracking the spend and attributing the spend to different, to pretty clear things that show up at the bottom line at the end. I'm sure as you scale up much larger organizations, this becomes a much bigger fractal problem. But I think even then, that was still the case if you're running a thousand person organization before, you still had to answer to what are my thousand people doing?
38:07Now it's thousand people plus the AI spend and hopefully failure core needed. There was another piece in there about how do you actually make it easier for AI agents to operate under code and accelerate things. I think there we've invested more time in kind of like markdown, agent readmes about what's going on so that an agent can pick up a piece of work and really start running with it. And I think there's a new set of best engineering practices that is developing around coordinating, orchestrating, using agents. Yeah, I'm actually really quite intrigued that you used the word fractal in there to describe it because that is actually quite a really accurate way to describe what happens to the SDLC as folks get more and more agentic.
39:01Because, you know, earlier in the year, we had like the whole Gastown transformation. You had people starting to figure out like, how do I do this whole agentic engineering orchestration by myself at scale? I have like 20 sub agents or in one orchestrator, like how do I build this? And that person did experience a lot of gain. We see this is visible like in our benchmarks at Linear B. You can see at the beginning of the year, the high AI usage, which was registered by just amount of their consumption usage compared to the lower users. They just completely divided in their PR output and their lines of code output, like more than two X in some of those cases.
39:41And so that was kind of like the transformation that happened for folks. And when like the, the gas town individual transformation came, it then started to call into question a lot of the, the parts of like what was traditional in the SDLC and one of them being like reviews like you called out like a major major feature stuff that is still like has an owner definitely I think most leaders on this show would agree with you everyone says that these that the PRs even the ones that are agentically driven and created they still have owners but then what happens is in this going back to your fractal comparison is that and really what's happened is that the engineer themselves This has become a mini SDLC because they have all these agents and they have all these repos and those processes.
40:27And we're not really living in a world where it's like my gas town is going to call your gas town, like actually merging into Maine, getting nice and clean up there. We're still figuring a lot of that out, which is, I think, really fascinating. A big problem that we've seen pop up, too, is you get an uneven distribution in that review load. So it does become important to like pay attention to who cognitively owns, who's the DRI on like the biggest bulk of agentic space. And maybe they themselves aren't pushing and writing a lot. Maybe they're not even agentically driving the creation of that code.
41:06But if they are the DRI, how big is that surface area getting? Are they able to stay at the same mental pace? These become the new challenges, which are totally, I think, foreign for a lot of folks on these teams. So fractal is definitely a fascinating way to think about it. Apply the challenges of API to solving the ones down low. And I want to ask too, like, do you think about it in terms of a factory metaphor? We see a lot of people talk about things like now as a software factory. So is that kind of a language that you all apply internally? Or do you think about it differently? Yeah, we haven't used factory, I think, as a metaphor before.
41:45Or I think, you know, it's not really assembly line type of work, I think. I view it as an accelerant of individual people or individual engineers who are working on particular features. And what I've seen is just that the capabilities of the 10X engineer become even greater. You know, 10X engineers become... Yeah, they turn into like a thousand X engineer. Exactly. Back with, we had Karthik Rankopal. He's a distinguished engineer at LinkedIn Engineering. He built over at LinkedIn their memory layer that enabled all of LinkedIn Engineering and LinkedIn in general to have a shared contextual layer with their AI agents really early.
42:30So he identified this opportunity that was going to be a big leverage move for them. He's very much like a lab scientist thinker like yourself. And that was a real keystone to that conversation. he was like, I don't want to be like the thousand X engineer. I don't want to be that super agent. I want everyone to be a 10 X person that they were yesterday. You know, I want to distribute those gains because if you just end up with like the thousand X engineer, the thousand X engineer, what actually happens is they become black holes that like there's an event horizon around them where things enter and then you're not sure what the state of it is on the other side.
43:07And so how do you distribute that enablement that everybody is a challenge to for folks? Right. Yeah. I think part of that becomes also on the engineering manager role. I think the ideal engineering manager is spending time, of course. There's the people managing of where's everybody in their career? How do they want to advance? What are they thinking about? But then there's also the technical side of things, like understanding what people have built, understanding what those features are and how you might want to think about the roadmap for that. And I think that role becomes very important. It was already important before, and I think it's still important.
43:53It's even more important. Do you hear us listeners talk to each other, engineers out there building things? Swivel to your left, swivel to your right. Share what you're building. get folks involved in the process. And we're moving so fast. It just kind of helps to just kind of be constantly giving everybody an update and pulling them along for the ride as well, especially when, you know, the work that you do, especially, it allows so much to be leveraged. There's a lot of curiosity, so much that we've explored in this conversation. It's so evident about how passionate you are about what you work on.
44:24And so it's been a real delight, Dan, to chat with you and to get inside your head about how you think applying the kernel world to the engineering one? And just as we wrap up, where can our listeners go to learn more about you and your lab and the work that you're doing it together? Yeah, yeah. First, thanks so much for having me. It's been a really, really fun conversation and really glad to hear your perspective too on how folks are adapting to these new worlds. So I'm on Twitter. I'm real Danfu on Twitter, so you can follow me there. when the lab puts stuff out, I'll tweet and release that.
45:01Together, we also will put out research blogs and different things at different various cadences. So yeah, you can follow me there on Twitter. That's probably the easiest way to find me. Amazing. We'll include links in the show notes and I'll definitely be paying attention to the research lab as well for stuff coming out of your mind. And I appreciate, again, you lending us some time to give us a chat. And to those listening, obviously, if you made it this far, You loved this conversation. You're a total nerd about the intersection of research and engineering. So you should go find wherever you listen to this, whether it's on a podcast or a newsletter, give us a like or a comment, come find Dan or I on social media, give us a poke or let us know what you thought about today.
45:42And Dan, thanks again for coming on Dev Interrupted. It was a pleasure to host you. Thanks so much for having me. It was a lot of fun to join.
45:55you
This week, Dev Interrupted takes a field trip all the way down to the GPU. Leading the way is Together AI’s VP of Kernels Dan Fu, a co-author of FlashAttention who also runs a research lab as an assistant professor at UC San Diego. He joins Andrew to talk about how ideas now move from the lab into production models within months, and what it means to build a cloud for AI. Dan argues that AI is an accelerant for individual engineers, and that the more domain expertise they bring, the faster it lets them go. They close the conversation on how DRIs and managers keep track of ownership and AI spend when your star players get even faster
Save your seat: Deliver outcomes when human attention can't keep up
Follow the show:
Follow the hosts:
Follow today's guest:
OFFERS
LEARN ABOUT LINEARB
OFFERS
LEARN ABOUT LINEARB



