1. Podcasts
  2. Software Engineering Radio - the podcast for professional software developers
  3. SE Radio 747: Sabina Anja on How AI Workloads Shape GPU Network Design
Software Engineering Radio - the podcast for professional software developers

20 Nov 2026 · 54m · 27 chapters

Episode artwork

SE Radio 747: Sabina Anja on How AI Workloads Shape GPU Network Design

In short

How sharded AI models change GPU network design, making the network part of the computation (collectives) rather than a simple byte pipe; covers training and inference traffic patterns, latency/tail-latency, and cluster topology/oversubscription.

Guest

Sabina Anja, chief technologist/executive advisor for VMware Cloud Foundation; 20+ years across networking, data center architecture, embedded systems, and enterprise infrastructure; founded/scaled an open-source services company to profitability in year one.

Key claims

  • Model size forces sharding; collective synchronization makes the slowest GPU/link dominate step time (tail latency/stragglers).
  • Training/inference traffic patterns depend on parallelism strategy (data, tensor, pipeline, and newer mixed approaches).
  • Network design must match traffic (e.g., rail-optimized topologies for H100); oversubscription and buffer overflow cause drops/pauses that compound into slower models.

Notable examples

  • Llama 3: ~405B parameters (~810GB weights) vs one H100 (~80GB), requiring sharding.
  • Meta reported many Llama 3 training interruptions; ~10% attributed to switches/cables.
  • NVIDIA H100 reference design: connect “same-ranked” GPUs one hop apart via leaf switches; use NVLink within servers.

Written by AI. May contain mistakes.

Chapters

1:23

Understanding AI Workloads and GPU Design

Discussion on AI workloads and the misconception about networks being mere pipes.

“So I want to talk about the framing of this problem.”
1:50

The Historical Problem of Network Infrastructure

Exploration of past issues with network infrastructure affecting application performance.

“And what should a software engineer who never touches infrastructure do to care about this topic?”
2:28

The Size Problem in AI Models

Explanation of model size constraints and the concept of sharding in AI.

“If your network architecture, the one you're leveraging in the infrastructure you're working is designed well, then it should never be an issue.”
3:39

Scaling Up vs Scaling Out

Distinction between scale-up and scale-out architectures in GPU setups.

“But each and every one of these affects your final mix that you're doing there.”
5:28

The Synchronization Challenges in GPU Training

Discussion on synchronization issues and their impact on training performance.

“And that's the definition of scaling out, right?”
9:10

Direct Paths in GPU Communication

Importance of direct memory access between GPUs for efficient data transfer.

“Can we talk about the example of the network?”
10:38

Model Splitting Strategies and Their Impact

Overview of different strategies to split models and their effects on network traffic.

“Like GPU to GPU links are fantastic because you're in an almost no latency scenario.”
12:01

Exploring Parallelism in AI Workloads

Discussion of data, tensor, and pipeline parallelism in AI models.

“So let's talk about the different ways that we can do that.”
14:00

Understanding GPU Parallelism Types

Explore various types of GPU parallelism including data, tensor, and pipeline parallelism.

“Many times per step, because even when you're painting the car, you still have to go more times over the same part.”
15:00

Challenges in Large Training Jobs

Discuss the complexities and challenges faced in large AI training jobs.

“It's literally that wait time for when are you ready, what are you doing, and so on.”
Show all 27 chapters
16:00

Designing for Traffic Patterns

Learn how traffic patterns dictate the design of GPU clusters and servers.

“I'm guessing that the patterns that we're noticing, they probably don't just add up, they multiply.”
17:20

Optimizing AI Server Infrastructure

Discover how to optimize server infrastructure for AI workloads including GPU connections.

“And have I thought of what happens when my source of truth slash my expert is here?”
19:00

Dedicated Networks for AI Traffic

Examine the importance of dedicated networks for managing AI traffic efficiently.

“all of these, that creates even more traffic.”
21:20

Managing Latency and Oversubscription

Discuss strategies for managing latency and oversubscription in AI networks.

“So what happened for a long time is, hey, here's a dedicated network, I can guarantee all of these things for you.”
23:10

Impact of Network Design on Performance

Learn how improper network design can lead to performance issues in AI workloads.

“If you remember the web traffic times and so on, you rarely had everything on all sent.”
28:00

Understanding Traffic Issues in AI Networks

Learn about the challenges of network traffic management in AI workloads.

“So, you know, okay, fine, dandy, great for all the rest of the traffic.”
29:10

Oversubscription in Networking Explained

Explore the concept of oversubscription and its implications for network design.

“Oversubscription is literally, I have more work than I have capacity.”
32:00

The Evolution of Network Infrastructure

Discover how network infrastructure has evolved to handle increased traffic demands.

“When you do it yourself and you get just the GPU service, go ahead and have that second conversation about, okay, and the rest is what exactly?”
33:04

Congestion and Latency Challenges

Understand the impact of congestion and latency on AI workloads and network performance.

“A lot of this network engineering assumes that traffic flows fairly steadily.”
36:00

Methods to Manage Network Traffic

Learn about techniques to prevent packet loss and ensure smooth network operations.

“The cost of a slow network means your model is slow, your GPUs aren't doing their job.”
37:50

Identifying Network Bottlenecks

Find out how to detect and diagnose network bottlenecks affecting GPU performance.

“So things like priority flow control is one method to go like, okay, pause sending a little bit.”
42:00

Troubleshooting Network Issues

Learn how to identify and address network bottlenecks in AI workloads.

“Like which one is the most, you know, I'm not getting anything through.”
43:01

Understanding Inference vs. Training Traffic

Discover the differences in network behavior during inference and training phases.

“We focus so much on the training, but I'm thinking that the inferencing changes the traffic problem in different ways.”
45:02

Inference Phases and Their Challenges

Explore the computation and memory requirements of different inference phases.

“And it's usually right before a deadline when you're thinking like, you know, I have five minutes to finish this.”
46:59

Network Design for Large Models

Understand network trade-offs when deploying large AI models for inference.

“Let's talk about like mixture of experts models.”
49:26

Networking Principles for AI Workloads

Learn key networking principles to consider when deploying AI workloads.

“When an engineer hears a debate about one fabric approach versus another, are there any specific questions that they should ask to reason about for their own workload rather than looking for a single right answer?”
51:20

Key Takeaways on AI Infrastructure

Get insights on supporting AI infrastructures effectively.

“clearly about the infrastructure that the AI code generally runs on, what would that be?”
A man walking through an airport, asking his phone a question

Ask about this episode

Get the gist, explore an idea or ask about something said.

Claude

On Software Engineering Radio - the podcast for professional software developers, what are the key points of this episode?

Searching your listening

Transcript

Automatic transcript. May contain errors.

0:00Amey Ambade: This is Software Engineering Radio, the podcast for professional developers on the web at se-radio.net. SE Radio is brought to you by the IEEE Computer Society and by IEEE Software Magazine. Online at computer.org slash software.

0:18Amey Ambade: Welcome listeners to Software Engineering Radio. I'm your host Amey Ambade and today I'm joined by Sabina Anja. Sabina brings more than two decades of experience across networking, data center architecture, embedded systems, and enterprise infrastructure. She serves as chief technologist and executive advisor for VMware Cloud Foundation, where she leads product positioning and technical differentiation across hybrid and multi-cloud solutions. She also founded and scaled an open source services company to profitability in its first year. reaching customers across three continents. She has a particular talent for taking dense infrastructure topics and making them accessible without losing the precision that matters.

1:05Amey Ambade: Today, we'll be talking about how AI workloads shape GPU network design and what happens when a model is too big for a GPU, why the network becomes part of the computation rather than a pipe underneath it, and how a software engineer should reason about all of this. Welcome to the show, Sabina.

1:24Sabina Anja: Hey, folks. Hey there.

1:27Amey Ambade: Thank you for being here with us.

1:28Sabina Anja: Thank you for having me.

1:29Amey Ambade: So I want to talk about the framing of this problem. Most engineers working on AI think hard about model architecture and about training and inference and treat the network as a pipe that moves bytes from A to B. Generally, at the modern scale, the network sits inside the computation itself. Can you explain that? And what should a software engineer who never touches infrastructure do to care about this topic?

1:59Sabina Anja: It's funny because if you start at the beginning and you mentioned all the things that I've done before, I've worked for infrastructure networks for a long time. And it's basically, it's always our fault. It's a historical problem we've had, especially application owners and application developers. Whenever something goes wrong, it eventually is a question of there's something on the network. And this has been a running joke for as long as we've had infrastructure. Now, we're going to get back to how the network plays into this a little bit later. But the important way to think about this, like for a software engineer, it's really, you shouldn't care about this.

2:34Sabina Anja: If your network architecture, the one you're leveraging in the infrastructure you're working is designed well, then it should never be an issue. But this sounds a little bit like when it's well done, it's well done. So what does that even mean? So software engineers need to start thinking about it is that this is a size problem, right? Let's take an example of a Lama model, right? Lama 3 has 405 billion parameters. It has about, struggling to remember here, about 810 gigabytes of weights. And one H100 has about, I think, 80 gigabytes of memory. The model cannot fit on one GPU alone. It will end up being sharded across any number of GPUs.

3:20Sabina Anja: And let's do a little bit of recap here in case you're not keeping up with all of the AI terms. When you shard a model, what you end up doing is you're splitting the weights across different GPUs. That way, each one holds and computes only a part of it. Now, once you've sharded this, each and every training step will need data from other GPUs. We've just split it up. So these weights, just to keep it a little bit simpler, I like to make this analogy about if you've ever thought about a giant sound mixing board, each knob on this board improves loudness, it improves bass tonality, whatever you want to think about it.

4:03Sabina Anja: But each and every one of these affects your final mix that you're doing there. Now, what you do in training, you basically end up turning every knob until the output sounds, let's call it right, until the output is what you want it to be. Now, just to complete the arc here, with Llama 3 that we were talking about earlier, those 505 billion parameters, well, all of those are different knobs you can pull for your model to adjust and get the result that you're looking for. All right, so let's connect this back. We started the size problem. You can't fit all of these on a GPU. You constantly change these knobs or these settings or these adjustments for something that you spread across multiple GPUs.

4:47Sabina Anja: Now, because these models are so huge, inside one server, think about it, you have exactly a maximum about eight GPUs that you can connect over something called an NVLink, right? That's NVIDIA's GPU to GPU connection. It's the fastest way to get the GPUs to talk to each other. And that's something we'd like to call scale up, right? It means that you can push about 450 gigabytes per second per GPU in each direction, but I still need more, right? It's not only about these eight GPUs. Now I'm talking about multiple servers, each with eight GPUs that need to connect. Between these servers, the traffic will go over that problematic thing that I mentioned early on, which is your cluster network.

5:29Sabina Anja: And that's the definition of scaling out, right? Inside the server, you're putting as much as you can, and you're creating multiple of these servers, and you're connecting them together. At 50 gigabytes per second per GPU, you can throughput quite a bit, but you need to throughput this through the network interface of these servers, and eventually through your data center network. That's quite a bit of bandwidth that you need. I'm not going to start doing the math on this because I'm going to start making mistakes and somebody that's listening to the podcast is going to go, she doesn't know math, but it really starts being a problem of scale and size.

6:02Sabina Anja: So if at this point, Amy, you feel like this is a lot of stuff that I really don't want to care about, why should the software engineer care about this, the way you shard the model and the way you batch your requests will eventually end up deciding how your traffic plays out throughout the network. So the architecture of your model, the architecture of how you work with a model will end up actually affecting the way it runs on the network. So without you having any design input into your network architecture, you can actually be proactive. You can be smart about it. You can potentially prevent some failures and we can talk about these things later.

6:36Sabina Anja: But kind of this is my premise on why should you care on average? It is really a massive problem with scale.

6:44Amey Ambade: So when we split a single model across these multiple GPUs, there seem to be a lot of fundamental changes in how these machines interact with each other. How would you describe this traffic? Can I take an analogy? Here I'm thinking something like an orchestra where you can't start the next bar until everyone knows and finishes the current one. How would you talk about the synchronicity and the collective working?

7:12Sabina Anja: I think it's more like, I think we've all been in these meetings. The meeting doesn't end until the last person goes through their agenda points. And it basically concludes once you've got through all of these. Now, that's basically what happens when a collective completes, right? The collective only completes when the last GPU completes, which means one slow GPU or one congested link, if you come back to the whole network problem, will hold up everybody else. So in your orchestra example, everybody knows their part, their role, and everybody kind of has to deliver and be ready to do it. If you have a slow participant, you end up in this lovely interaction where you actually call them a struggler because they slow things down.

7:52Sabina Anja: But the question you're asking about where does this all come from is about the fact that training actually runs in synchronous steps. Each GPU needs to compute its share. All of them will then synchronize for collective operation. And then no GPU starts the next step until what I said earlier, right? When the collective completes. This is why we have something called tail latency at this point, right? If each and every one of your links is perfectly healthy, you don't have this problem. But if you have a few of them that slows things down, then the entire job will slow down because step time really follows that slowest path quantifier.

8:32Sabina Anja: It's your weakest link problem in the end. It's not uncommon in any other infrastructure problem that you had before. And it's not an uncommon problem either because it was, I think, Meta that reported hundreds of interruptions over, I don't know, something along the lines of two months of training, the LAMA 3 model that I was talking about before. And like 10 % of the interruptions came from, wait for it, switches and cables. So around 10 % of the issues that came in training were as a result of your network infrastructure.

9:01Amey Ambade: So you talked about this just now where one GPU is late or one link is slow. There's the slowest participant and everybody else has to kind of wait. Can we talk about the example of the network? So now the network is no longer moving data between independent programs, but it is coordinating one program that happens to be spread across multiple chips. Is that a fair way to put it?

9:27Sabina Anja: That's a very fair way to put it. It becomes more of a question of distributed systems at this stage because you're moving pieces of something that's not yet complete. And you're basically waiting, network terms would have that existed for a long time. It's basically I can only reassemble once you sent me everything, right? So it's the same with GPUs and training, all of this is going on, like, again, forget about all the technical terms for a second, each GPU is computing something and so on across multiple systems, I need to get all of these together for me to complete my task. Please don't be slow, because if I don't get this piece, I can't complete yet.

10:04Sabina Anja: We've all had this. My favorite version of this is, you know that group project in university where you're the one to start and there's one person that never replies and they have the critical thing and your professor is waiting there and you're like, please just complete that last bit so we can be done with this. This is exactly that.

10:19Amey Ambade: Very relatable for me. Me as well. So when GPUs exchange data this way, the network card can directly write into another GPU's memory without going through the CPU. Why does that direct path matter so much when we are working with this kind of traffic?

10:37Sabina Anja: Oh, well, you're asking about the importance of something like an MV link, because basically what you want to do is have the least amount of stops on your path, right? Like GPU to GPU links are fantastic because you're in an almost no latency scenario. First of all, very few things can go wrong at that stage. You're directly connected. You can exchange the information basically at the speed of that link. You're not competing with everybody else because from the moment you have to get out of your server and from your dedicated environment, you're in contention with everybody else. Unless you build your network specifically for the GPU backend, which is a common architecture these days, the moment you get to the nick of that server, you're competing with potentially other things going on.

11:18Sabina Anja: So that MV link becomes the key to no noise. All of it is happening in here and I can forward very quickly. And you kind of want to replicate that also in that scale out architecture. That way, when I have the different servers that they connect with each other and let me forward as fast as I have the data, that way maybe my only weakest link is just the GPU, not the network. Right.

11:42Amey Ambade: Let's talk about the piece that most engineers have never seen. the specific ways that a model gets split and how each of these stresses the network differently. So when it comes to parallelism strategies and the traffic that each one produces, there isn't, I'm sure, like a single way to split a model across multiple GPUs. So let's talk about the different ways that we can do that. What gets split and what the resulting network traffic looks like?

12:08Sabina Anja: Oh, that's an interesting one because right now we have three standard ways to split a model and each and every one of these kind of exactly to what you said, does create a different data pattern. And I'm not going to turn this into a networking lecture, but you have data parallelism in which you give every GPU a full copy of the model and a different slice of the data. At this point, at the end of each step, what the GPU ends up doing is an all reduce across their gradients, right? This is a very large burst. It can run across different servers. So it's pretty interesting for things like, I want to spread it out nicely.

12:45Amey Ambade: Can you explain the concept of all reduce?

12:47Sabina Anja: I'm trying to think of a good analogy for an all reduce. Okay, I think a restaurant's splitting the bill because at that point, you kind of get, everybody's getting a little bit on what's on the check at this point, right? You add up what's on the order. I had these four things. You had these three things. And all of these amounts get combined into a total. But everyone at the table is also told at the same final number. So all reduce works in the same way, right? Each GPU has its own partial results. They get added and averaged out across different GPUs. And here's your result.

13:17Amey Ambade: So in data parallelism, each GPU is getting a complete copy of the model, but is working on a different slice of that. Correct. What about tensor parallelism?

13:26Sabina Anja: Well, that's more splitting each layer across the GPUs, right? You have the GPUs exchange the activations inside each layer many times per step. And I know you're going to ask me at one point, like, okay, but what's a layer? Think about it as your assembly line, right? maybe a car assembly line. And the GPU exchange activations, the way they work is, let's say we're at the painting phase, right? You're painting a door, but you have eight GPUs. So through that MV link, coming back to your question, like how does this happen in real life? Through that MV link, you basically have eight workers that go and paint the different parts of the car, all at the same time, right?

14:04Sabina Anja: Many times per step, because even when you're painting the car, you still have to go more times over the same part. But you exchange these activations inside every layer, and now the traffic obviously becomes latency sensitive. So you want that to stay inside one server and kind of leverage that MV lane. Because again, that's how you get the eight workers to work together.

14:24Amey Ambade: Okay, so we talked about data parallelism and tensor parallelism. Are there other types of parallelism here?

14:29Sabina Anja: Yeah, we have pipeline parallelism, which is the last one. This just gives you a GPU range of layers. And in this case, the activations basically are structured more point to point, right? Where the activation passes from one stage to the next. Now the traffic is lighter. And at this time, you can go across servers. So if in the previous model, what you wanted to do was have these like eight workers come together and paint everything together. In this case, it's more like the traffic is lighter, it can cross the servers. The problem here is the idle time while you stage your wait for work, which can cause something called a pipeline bubble.

15:05Sabina Anja: It's literally that wait time for when are you ready, what are you doing, and so on.

15:10Amey Ambade: Are there systems that have to combine all three types of parallelism or maybe two?

15:14Sabina Anja: There are newer models. And what they do is that they add all-to-all traffic. And if you remember when we described kind of what all reduces, you have this concept of all-to-all traffic, which is actually a lot harder on the network because you kind of combine all of these and you have both the challenge inside the server and how you spread across your network. So you're leveraging data parallelism for some things or part of the job. You're using the tensor parallelism within the server for a specific part of the job. And then you introduce also some pipeline parallelism and kind of the question of latency, the question of repetition comes together.

15:48Sabina Anja: And there's a lot in there to deal with at that stage.

15:51Amey Ambade: And this is applying to large training jobs in general?

15:55Sabina Anja: Ideally, more so for large ones than for small ones.

15:58Amey Ambade: And when you stack these types of systems, I'm guessing that the patterns that we're noticing, they probably don't just add up, they multiply.

16:09Sabina Anja: Yeah, it's mostly an exponential problem. Like again, because you both spread across GPU and across systems, you end up sending different types of data across them. So you're not optimizing for just one type of flow, you're optimizing for multiple types of flow.

16:22Amey Ambade: And does the shape of how the data is combined matter for how well the network might use it?

16:28Sabina Anja: What are you thinking?

16:30Amey Ambade: So think of like all these different algorithms under the herd. They, let's say, are doing a reduction as a ring versus as a tree structure.

16:39Sabina Anja: Yes. The problem is if, say, you have a token and you pick the same expert, then the GPU that holds us get flooded and then you end up waiting for it. And then you create basically a straggler problem. It's both a GPU access and resource problem, but it's also a networking issue at this point. Because if everybody's asking this one thing here, well, all the traffic will go here. And I've gone back, right? I'm not using tensor parallelism or maybe using it a bit, but I'm also spread out across multiple servers. Server A is where my export is. I'm asking all of these questions here. I'm basically pulling all of the tokens here.

17:15Sabina Anja: And as a result, all my traffic is redirected here. So the shape of the traffic becomes the result of how have I designed this? And have I thought of what happens when my source of truth slash my expert is here?

17:29Amey Ambade: So we've established that these different strategies provide a different kind of traffic. And that's probably the reason why I'm guessing the physical cluster in itself cannot be a one size fits all.

17:41Sabina Anja: Correct.

17:42Amey Ambade: So let's talk a little about this physical topology and designing the cluster around the traffic. If the traffic pattern is dictated by how the model is split, then I'm guessing the wiring of the cluster itself has to be designed backward from that aspect. Can you start us with the smallest unit within a single server? How are the GPUs connected with each other? And why is that link, I guess, thinner or fatter than going out to the rest of the cluster?

18:12Sabina Anja: so the interesting part is that you want look i'm going back to your first question which is how do you design for something like this and i think my first reaction is don't treat your ai bespoke server especially if you're doing work on large models like if you're just doing enterprise models and open weights and playing with things and small language models that's also far more flexible but if you're working with very large models and you're just throwing it at your existing server, one of the main challenges you're going to notice is that it's not particularly well designed for it. It's going to be on demand a lot, right?

18:50Sabina Anja: And we're talking about things like 450 gigabytes per second in each direction, like per GPU. All of this traffic is in one direction. Then you connect all of these, that creates even more traffic. So how are you going to manage all of this? Where is this traffic going to go? How are you going to set it up correctly in a way where each server actually can manage, produce, and leverage that data as quickly as possible? That's just at the single server. The reason I'm bringing this up is that in real life, what tends to happen is some enterprises end up going with, we're just going to buy entirely new servers for AI and whatever.

19:30Sabina Anja: What they end up doing often is reusing what they have, putting some GPUs in there, and then finding a lot of contention issues as a result. Now, you have something called rail-optimized design. And this ends up connecting GPU number one in every server to the same leaf switch. And then you have GPU number two at the next, and so on and so forth. And then we get into a conversation about same-ranked GPUs across servers that are only one hop apart. And this allows you to build something that's more of a scale-out system. So we've gone out of the server at this point. And we can have collectives and collective libraries that move traffic between these same ranked GPUs.

20:13Sabina Anja: That way, the topology matches the traffic. This, by the way, is NVIDIA's reference design for the H100 clusters.

20:19Amey Ambade: So can you tell me about the intranode versus internode distinction within NVID-Link, for example, or using something like InfiniBand or Ethernet between boxes?

20:31Sabina Anja: Whether you use Ether, InfiniBand, or Ethernet between boxes with RDMA and so on, that's entirely up to you. That's a technological question, and I think you're fine regardless. Within the server, which is your first question, it's kind of what we talked about now. How do you design for the best GPU cluster and how do you leverage all of that inside? The question that you're asking on the InfiniBand, on RDMA over Ethernet, which is your other type of technology, is more about how do you design for the network to connect between the different servers, again, in the best possible way. And that real optimized design is one solution.

21:07Sabina Anja: The other one is a dedicated network just for your back-end AI traffic. So it's not the first time we've done this. In the past, we used to have something called a SAN network, which was a dedicated network just for storage. And this comes from the days of you needed lossless, you needed low latency, you needed no interference on your storage nodes, because if you'd have that, you'd potentially lose a backup, you'd potentially lose data that you needed to move between place A and place B. So what happened for a long time is, hey, here's a dedicated network, I can guarantee all of these things for you.

21:40Sabina Anja: So it's not a problem. Thus, you can end up designing it that way. So that's what we're seeing now, especially in large enterprises that is starting to happen. and you have your front-end data center network that is basically, how do I access the model? How do I access the results of the model? How do I connect an application to that model? Say you're running a trading application, right? You have all of the intelligence that needs to be computed as part of the training model, inference, all of these things. That goes through the backend. What I see as my result of that, it goes through the front data center network because I'm the user requesting data.

22:13Sabina Anja: So it's a tale of two networks at this stage. What happens in the backend that you always have to be careful of. So now we're at the how do we connect servers question is how do you manage things like oversubscription? How do you manage things like latency? How do you manage things like just in general availability? Remember that whole problem from before that 10 % of the interruptions in the model training were actually caused by the network itself. Oversubscription is a big problem because to your point of parallelism before, right? If it's not tensor, if it's something else, how your traffic shape is being designed and how your network is designed to counter these potential problems means that you might not be able to carry as much traffic as you'd like.

22:54Sabina Anja: If you have a big fat pipe coming out of your server, but you're occupying all of that, because you're coming on multiple nodes, and the switch just cannot take the amount of traffic you're throwing at it, that's a problem for you. In the old world, the way we used to do this is we actually never quite saturated the network, most networks could take a lot of the traffic we'll send at it. If you remember the web traffic times and so on, you rarely had everything on all sent. What we see with AI traffic is that collectives do send all the traffic in full sent all the time. So if you have an oversubscribed fabric, every sync just runs at all of a fling speed, right?

23:29Sabina Anja: So everything is, it used to be that it was more something like a sinusoid on down, on down. Traffic shape in AI and in general for collectives is basically one pipe that's full. You're taking advantage of everything all the time.

23:40Amey Ambade: So let's zoom out of the room. As you said, data center networks are traditionally designed, assuming that most of the traffic kind of goes in and out of the building and AI clusters flip that, where most of the traffic is GPUs talking to each other side by side.

23:55Sabina Anja: Yep.

23:56Amey Ambade: Can you talk more about how that actually changes the layout of the switches and the links in here?

24:01Sabina Anja: I don't think the layout of the switches changes quite this much. So let me give an example from the old world, because that will help quite a bit. used to have something like a 48 port switch and every link towards the server would be something like a 10 gig, right? 48 times 10 is 480 gigs of traffic that you could send through the network. And what would happen in traditional networks is that you'd have uplinks, let's say you'd connect two times 40. And that used to be just fine. Maybe you put four times 40, which means 160. But you already noticed that it's a problem, right? If everybody would be on full commitment of each port, you already have a lot more than you could take up and kind of spread out throughout the network.

24:40Sabina Anja: Now, if you're spineling, if your leaf is actually connected to the server, so it's everything in the same top of rack, then we introduce a potential other challenge, which is your buffers. Can your switch actually handle through the backplane, and I'm not going to go into a lot of detail here, the amount of traffic you're pushing through it, right? So to your question, how does it change? The device that you're using to carry the traffic between your servers needs to be capable of what you're throwing at it. And that simple math you can do, your networking architecture team, if they have the information from you, the software architect, hey, my model does this, I'm going to push this much data, my GPU already does that.

25:20Sabina Anja: Like you already know all the data about the MV link and when H100 is 900 gigabytes, be directional, right? If you assume you're going to use a lot of that, you know what you need on the switching side as well. And you're going to know which kind of NICs you need on the server, network interfaces, right? So figure out your bottleneck structure. Try to understand, I'm trying to push this much data, my watermelon, and you're giving me a keyhole of a switch.

25:46Amey Ambade: Can you talk about rail optimization for these clusters? What is that layout solving?

25:52Sabina Anja: So the reason why NVIDIA has that as a standard reference design for the H100s is when you move traffic between the same ranked GPUs, you have topology that basically matches the traffic, like you can almost optimize for this looks like this between the same ranked GPUs, right? First of all, they're always one hop apart, which if you remember what I said earlier, it's always best if you're in the shortest path first, I can get to my next GPU in the next server as fast as I can. And then GPU two goes like this, and then GPU three goes like this. So you're kind of creating these, I'm going to call them perfect connections.

26:24Sabina Anja: But basically, you have a topology that has a consistent traffic between the interface. So it's an effort to normalize traffic across different GPUs, especially when obviously they're not in the same server, but they are connected to the same leaf switch.

26:39Amey Ambade: Can you think of a case where the topology itself was wrong for the workload? And like, were there any symptoms like performance or dollar cost effects of using the wrong topology for the wrong different workload?

26:54Sabina Anja: It's kind of what I was saying earlier, right? It's really the uplink capacity being the biggest problem. And I think usually what I've seen this happen is when there's an AI component added to existing applications. Because when you're building everything anew, it's a lot easier because you're kind of assuming this is going to be a new build. I'm going to do everything here, whatever. But I've seen this in insurance happen. It's a very specific kind of industry because they used to have all of these like slightly traditional, you know, tell me if this person has an insurance policy, give me all the details, what are the limits and so on.

27:29Sabina Anja: But now they build this entire LLMs behind them where they basically query what's possible, what can they do, right? So they put it alongside that and they have their model and everything, and they kind of repurpose the existing systems for it. And then they kind of forward it through the existing data center network. And then that's really not built for it. And they already have like a leaf spine fabric with a three to one over subscription, which means they're already in a position where if I actually forward on all my ports, it's not going to take it. All right. So you can only carry like a third of the capacity of what's actually on the ports up to the spine and throughout all the network.

28:05Sabina Anja: So, you know, okay, fine, dandy, great for all the rest of the traffic. This works fine. But now I have two issues. I'm on all forwarding for like two of my servers or four of my servers. These guys are sending a lot of traffic. It's in contention, which with a lot of other traffic, and I remember that this caused quite a bit of an outage also for another critical system. And then there's all of this wait time for the model and for the training part. And now you're troubleshooting two issues. Why has this thing failed? It can't get on the network anymore. And why is this model so slow? Well, mainly the model is slow because you keep waiting for the other GPU to reply, but it can't get to you anymore.

28:42Sabina Anja: And your other application is not getting anywhere either. You're having everything at 100%. You've triggered so many alerts. You have downtime for any number of things that you shouldn't have downtime for. And it's all because you kind of used an old method for something that really needed a new way to go.

28:57Amey Ambade: And you quickly kind of talked about oversubscribing. Can you explain a little more on what that is and why that is a bet? What is normal and sensible for enterprise networks, but can be dangerous in an AI cluster?

29:11Sabina Anja: Oversubscription is literally, I have more work than I have capacity. I think we've all felt it as a personal experience when there is more work in a day than hours in a day. Your network, your infrastructure can suffer from the same. You have oversubscription where you essentially provision this much work, or in the case of network traffic, this much traffic. And you say, because, and this is very true in the past, because I'm not going to use everything at full capacity. right? Like we go back to my example from earlier, I have a 48 port switch, 10 gigabits per switch. In real world math, if I connect 48 servers, or I have 48 connections from servers to this switch on a 10 gig link, I assume I can take all of this traffic and take it out, you know, as 48 times 10, right?

29:59Sabina Anja: That means I can somehow push 480 gigs through my switch. Oversubscription means I could push for 480, but I can only push upstream something like, you know, whatever my uplink is like four times 40, in this case, 160 gigs. And that's exactly what oversubscription is. I assume the capacity is this much. And I'm only going to use a fraction of it, which allows me to buy a cheaper switch. It allows me to buy cheaper uplinks or invest less in the uplinks part. And that works very well when everything is not fully forwarding at the same time. Think about it as the way the highway is built, right? The highway isn't built for rush hour when everybody kind of comes on at the same time.

30:43Sabina Anja: You still have the same four or five lanes. That's very frustrating. But if you're driving at 3am at night, that's not a big deal, right? You have your entire thing. You're driving at 2pm in the afternoon. Okay, maybe all lanes are full, but everybody's still in full forwarding because you're not at their capacity. Over subscription is I have four lanes and they're designed for, you know, a thousand cars and I've put 5 ,000 on it.

31:06Amey Ambade: So let's talk about this one thing that just came to my mind. If I have a team that doesn't actually operate at a frontier scale, but it's like renting out GPUs in the cloud, how much of all of this is visible or controllable to them? And how much of that is hidden behind the provider?

31:22Sabina Anja: Who am I in this scenario?

31:24Amey Ambade: You are the person in the team who is renting out GPUs.

31:28Sabina Anja: The thing is, it's a team sport, right? If all you're doing is renting GPUs, you kind of absolve yourself from the worry of how this is going to work. Or it's becoming more of a, if it's not the GPU and it's the infrastructure, you get the old, I'm bouncing this ticket back to somebody else. So you need to do it in conjunction with the rest of your infrastructure. Like, where are you getting your connectivity services for? Who's doing that for you? What was it designed for? There's a reason why when large vendors sell you these bespoke AI boxes, again, I'm steering away from names right now, they usually tell you this is designed for this much capacity, it has this type of network infrastructure in it, so you know that this can do what it says on the tin.

32:08Sabina Anja: When you do it yourself and you get just the GPU service, go ahead and have that second conversation about, okay, and the rest is what exactly? Like who's providing the rest of it? Is it adjusted for what I'm trying to do here? Or are you giving me the worst possible connectivity on very competitive GPUs?

32:25Amey Ambade: So the layout is built around the traffic here.

32:29Sabina Anja: Correct. But that's always been the case. The reason why networks have exploded in size over time is like, think about the first network, right? It was peer-to-peer between two computers. We didn't need fancy switches. We had something called a repeater if you were too far away, which was a disaster. But let's get over that. What you ended up doing over time is you added more infrastructure in between your compute nodes, CPU, GPU, doesn't matter, in order to create this kind of infrastructure at scale that can carry traffic from left to right. That's literally the only reason we have networks.

32:59Sabina Anja: So we can carry this traffic. It's the only reason we have highways too. So we can get somewhere.

33:03Amey Ambade: That's a great segue into what I'm going to talk about now, which is congestion and latency. A lot of this network engineering assumes that traffic flows fairly steadily. And you've said these AI traffic spikes kind of suddenly, you know, you have a lot of cars trying to get into two or three lanes. Why does this happen? What is exactly happening at the moment that all of these GPUs are hitting the network together?

33:26Sabina Anja: The interesting part is AI traffic is spiky, but also, you know, in full mode a lot of the times, a lot of the work is synchronized, right? Your GPU computes, and all the collective starts at the same time. So you have a lot of senders that converge on the same links. Now you have a thing called a switch buffer. And I'm trying to make this as simple as possible for our audience today. A switch buffer is the amount of information I can contain before I forward it out on the port, right? So there's multiple mechanics to a switch. But it's not that different than how you load things up in memory and so on.

34:03Sabina Anja: Like I need a place to hold it before I send it out because I do need to do a bit of processing. And sometimes I can't do it as fast as you'd like me to. So I'm holding it here. The problem is my box is pretty small. And if you send me too much stuff and I haven't finished processing it to send it out the port, I do something called a buffer overflow. So you end up with, I'm sending a lot of traffic. I'm hitting this, you know, basically your entrance to the highway, which is a bit of a buffer in one way, right? Because you don't go straight from your B road, straight on the highway. You go up.

34:32Sabina Anja: But you know that terrifying feeling when you're like, I'm about to go on the highway, you're putting your blinker to the right and you realize, oh, great, I can't even get on the highway because that's full and I have nowhere to go. That's literally what happens when the collective has started if you haven't entirely staged your network for something like this, right? Traffic spikes, I'm trying to get on, there's nowhere to go.

34:54Amey Ambade: And the analogy I'm thinking of is when I'm getting out of concert venue and there's only one exit and then they have to open another exit.

35:02Sabina Anja: That's 100 % your collective, right? And you know where you're in the parking lot and you're trying to get out of the parking lot and there's like five different levels and we're all trying to get to the same exit. The collective has started, it's sending traffic and we're all aiming for that one barrier that really needs to go up and down like 50 times, a million times for all the cars to go out.

35:20Amey Ambade: So when many senders converge on this one receiver at once, the buffer fills up and the packets can get dropped. And most of the internet, a drop packet is a routine and usually gets retried. But why is this a single drop packet? So is it more expensive in a collective operation?

35:39Sabina Anja: You're going back to straggling, right? The straggler is still, you don't want to have, like, it obviously depends, right? How fast do you want your model to actually work? If you tolerate any slowness, then you're fine, which most of us don't. And that's where the problem comes from. But you end up having a lot of wait time to get the information back, to be able to get to the next stage in your assembly line. And that's the biggest problem. The cost of a slow network means your model is slow, your GPUs aren't doing their job. You can, without trying to talk ROI, you're essentially having unutilized infrastructure for X amount of milliseconds, which costs your model, which add more time, which, which, which.

36:19Sabina Anja: So it's a compounding problem at some stage.

36:21Amey Ambade: So I'm guessing that's why these fabrics are kind of built to avoid loss almost entirely. At a higher level, how do you keep a network from dropping these packets in a sudden flood? And are there like well-known ways that the machinery can kind of backfire?

36:38Sabina Anja: There's a few things. And funnily enough, all of these are incredibly old methods. So if a lot of these span from a time when networks were very slow, especially we call them wide area networks. So the way you think of the internet today. So we used to have, for those of you that know this, it's more like voice networks. Those had to be lossless because as I'm talking to you, if I lose packages, I lose conversation. Right. And we used to have something called priority flow control. We used to have things like quality of service. And then all of a sudden data center networks, wide area networks, all of these got very reasonably fast in most parts of the world.

37:18Sabina Anja: And suddenly this wasn't like, it was incredibly hard to configure because you have to choose how to put thresholds in place. And there's a lot of engineering going into doing that right. Like quality of service is one of the hardest things in networking. Traffic engineering is another incredibly hard one. And I think we all sighed a great sigh of relief when we had to use it less and less. But we are seeing it making a comeback now with AI networks, because AI has this tendency of it will occupy no matter how much you, it will occupy the entire bandwidth, no matter how much you send or try to adjust it.

37:50Sabina Anja: So things like priority flow control is one method to go like, okay, pause sending a little bit. So you don't give me that buffer overflow problem. Here in the US, we have those kind of we have lights before we have to go on the highway, right? So that's exactly what it is. It's generally a pause before that buffer overflow ends up being a problem for the rest of the highway. I keep the traffic a little bit back so I can let you in slowly so that I don't get a lot of traffic very quickly. Now, the cost is that these pauses, they can spread upstream and then you end up with slower traffic. And then that has nothing to do with congestion.

38:24Sabina Anja: So you go back to your GPU still doesn't get the data you wanted, but at least you're flattening it out a bit. Like it's not super slow here while this part is empty and waiting. You're kind of slowing the whole system that.

38:36Amey Ambade: So you're slowing the whole system. Where does the latency actually accumulate in these systems versus where an engineer might assume it lives? I would imagine, and I may be wrong, of course, but is it the raw speed of the wire?

38:50Sabina Anja: How do you mean raw speed of the wire?

38:52Amey Ambade: Like where does the latency accumulate in these systems?

38:56Sabina Anja: Depending on which method you're using, the latency won't necessarily accumulate. You introduce it and you might be able to get rid of it. But the pausing is usually where you have the most, the latency accumulates where you have the most amount of traffic. So if you have one of those asynchronous expert nodes that is expecting to get a lot of traffic, that one will probably get the most amount of pauses. But it depends whether this happens at the incoming traffic or outgoing traffic, like is the expert out trying to output a lot and send a lot of data back to its GPUs, what the switch might end up doing is, hi, or the nick, hi, you're sending me too much data, slow down.

39:32Sabina Anja: And that's kind of where your latency actually ends up being. Or it's more towards I have a super chatty server right here, I'm pausing this from sending me a lot of data. Meanwhile, my expert node is sitting there like, are you gonna ask me something today, but then the latency is at the other side. The thing is, the cost of doing it like this does eventually spread in different places, right? Because maybe I'm sending a lot of traffic from here, or then I'm changing the location. So So this adds up eventually across your environment. I just wanted to make one distinction because latency is not congestion, right?

40:03Sabina Anja: There's methods to do congestion control, and there's methods to do things like latency management. You're creating slowness and wait time for the traffic, but that doesn't mean it's congested somewhere. I'm doing this on purpose, so I don't end up creating a massive congestion.

40:16Amey Ambade: And does the slowest participant here dominate the outcome?

40:21Sabina Anja: In some ways, it's the chattiest one that ends up dictating the slowness of the system. So essentially.

40:26Amey Ambade: Very relatable.

40:27Sabina Anja: Yes.

40:29Amey Ambade: You also hear that the fix is to overlap communication with computation. So the GPUs are calculating while data is in flight, right? Can you talk more about that?

40:39Sabina Anja: Yeah. So this is actually one of the last tools that you can use in order to deal with AI traffic, right? So you have all of these frameworks that send gradients for all of the finished layers. So we're back to our assembly models, right? I'm sending the different, I'm adjusting everything. I'm doing everything that I need to do on the assembly line. I've stopped at my stop, but I'm doing this while later layers are still computing. This means that you're hiding the network until the communication actually takes longer than the compute. And after that, step time nicely grows. So you're kind of trying to adjust a bit for the fact that the network might be slow.

41:15Sabina Anja: So I'm going to send you some stuff ahead of time. And you're going to have to, you're basically creating a compute queue instead of a network queue, because the compute queue will still go a little bit faster.

41:25Amey Ambade: If I have a cluster of thousands of GPUs and a single flaky link or one slow network card is degrading an entire job, how do I even go about detecting something like that, given that the application's point of view, it just shows that everything is slow?

41:42Sabina Anja: Usually you want to work with your network team because they will see the fact that that's the most saturated part of your infrastructure. So I would start at the beginning, which is you're seeing your GPU infrastructure that something is wrong. Maybe you'd go troubleshoot as far as kind of which area seems to be very hot right now. Like which one is the most, you know, I'm not getting anything through. And I would send that towards my infrastructure team and say, hey, what's going on in the network right now? Like, can you look, right? Look at the NIC itself on the server, like, or sorry, your NICs.

42:17Sabina Anja: look at the general network traffic, look at where there's a bottleneck. And we have fantastic tools nowadays to visualize this in real time. And you can see the saturation. Any number of devices can tell you, again, how is it flowing through the switch? How is it flowing on the network interface? So you won't have a problem figuring this out. What's a little bit trickier is actually within the same server, because then you end up troubleshooting the MV link. Is there a problem in the GPU infrastructure? Or is it the problem with the server? or is it the problem with the NIC? Like, where is exactly the issue?

42:49Sabina Anja: But when you have this kind of like slightly more systems issue, you actually get a little bit more input. So it's slightly easier to narrow it down, but it also means kind of opening up that ticket with your infrastructure team.

43:01Amey Ambade: Let's talk now about inference. We focus so much on the training, but I'm thinking that the inferencing changes the traffic problem in different ways. When people picture serving a model, they picture it as one request and one answer out. That's how I work when I'm kind of, let's say, talking to chat GPT. I'm assuming that there's something there that's just giving me an answer immediately. If the model is too big for one GPU, serving it, I'm guessing that also becomes a networked collective kind of problem, right? So how is the network behavior at inference time different than during training?

43:41Sabina Anja: So the thing is, inference actually has a different shape, right? The model for inference is it generates one token at a time, right? So if your model is sharded across GPUs, those GPUs synchronize on each and every token. Now, back to your network latency question, you're paying your network latency once per token. So it's 100 times if you have a long answer. Tokenomics, and especially time to first token, remember, is a very good measure of infrastructure performance because the time it takes you to get a token, and especially if you can multiply that by the amount of tokens you're spreading throughout the network, give you a very good sense of how well your infrastructure is built, behaving, and set up for AI.

44:26Sabina Anja: And a lot of observability tools focus on giving you that number as soon as you have that in your infrastructure. And the way users feel that is, you know that I'm sure you had this with days when OpenAI or Entropic or whatever, not having one of the best days, you're seeing the text coming like one, two, three words at a time. And you're like, okay, what is going on? Well, part of it is like, how fast am I able to get that data out? Is that time to first token? So the behavior that you're seeing is everything is just a little bit choking. Like it's coming out, but it's like, yeah.

44:58Amey Ambade: In bursts.

44:59Sabina Anja: Exactly. In slow bursts, just to get the frustration out of there. And it's usually right before a deadline when you're thinking like, you know, I have five minutes to finish this. Come on, Claude, just get on with it. There's a key thing on inference, right? Because it's not just this, it's the fact that it also has two phases, right? On pre-fill, you process the prompt. It's compute bound, it sets that time to first token, and then you have decode, which will end up generating the output one token at a time. So it's also memory bandwidth bound, and it will set the time for the output token, right?

45:32Sabina Anja: So all of this, you want to run both of these on the same GPUs to avoid causing interference. If you want to use a disaggregated model, then you want to put them even on separate GPU pools. So that's something you might want to consider for this.

45:47Amey Ambade: So what I understand is that there's a useful split in inference between the phase that reads the whole prompt and the phase that generates these tokens one by one, and that they have different appetites. One can be compute heavy, one can be more memory and latency bound. Correct. Now, as you said, some systems now put them on separate pools of GPU. What has to travel across the network between these pools now? And why would anyone accept that extra network cost?

46:14Sabina Anja: Why not? Where do you see the downside? Let me put it like this.

46:18Amey Ambade: I mean, I see the point here being, okay, a separate pool of GPUs is specifically working toward one task and that makes it easier and I suppose therefore cheaper to do just the prompt ingestion versus just the token generation. Am I getting somewhere with that?

46:37Sabina Anja: You are. And it's also the direction of the KV cache, right? Because the KV cache will hold the model state for the conversation that will move from the pre-fill pull to the decode pull and it will move it over the network and it will tolerate that reasonably well. So it's not that much worse than you think it would be if you keep them on the same system and you deal with all of the issues that come with that.

46:59Amey Ambade: Let's talk about like mixture of experts models. When they route different tokens to different specialized parts of the model, which themselves live on different GPUs, that would produce like an everyone to everyone type of traffic pattern. Yes. Can you talk more about that?

47:14Sabina Anja: Are you talking about the traffic model that results out of that?

47:17Amey Ambade: Yes.

47:18Sabina Anja: I think the main problem there is it will be very hard to predict how it saturates. And because if you have multiple experts kind of gathering traffic, it's who's sending the most, where are your experts, which servers are they consolidated on, and how able are you to move the data between these? I think that would be my biggest concern at this stage. Even what's your service level objective? Like, what can you tolerate? What's good and what's bad? What are you allowing to run through the network? Because again, with the potential spikes that you're going to have as a result of this, how are you going to accommodate for that?

47:53Amey Ambade: Let's step back a bit. If I'm an engineer choosing how to deploy a large model for inference, what are the network-shaped trade-offs that I would want to have in my head that based on your expertise? I probably wouldn't initially.

48:09Sabina Anja: That's a good question. Where I'm thinking or where I'm going with this is I probably would want to have, obviously, it's still that same design. I would leverage a similar design to the one for training in a lot of ways, like definitely low latency. But what I'd apply is I'd look at some of the congestion control and quality of service in a way that prioritizes the traffic in the way that I want it most. Like, what is something that I should prioritize over my network? We're back to where can I tolerate the latency? Where can I not? What are some of the things that are important to me? And again, I can pass this information back to the network team to go like, tag this kind of traffic, make sure this always runs.

48:48Sabina Anja: This is important. Potentially, this isn't. So that's something that I would definitely think about designing. Because at the end of the day, your backend AI network, the one that we designed, discussed before, the one that's for training, you're very likely to be in a position where you're going to use it for inference as well. So your design won't vary that much, but there are ways to customize the path specifically for your inference traffic. So at this point, you're kind of looking for this slice of inference and going like, OK, I want to treat this differently. Do this with it instead.

49:20Amey Ambade: We've deliberately stayed away from picking technologies and vendors here. But let me ask you a more reasoning based version. When an engineer hears a debate about one fabric approach versus another, are there any specific questions that they should ask to reason about for their own workload rather than looking for a single right answer? How would you go about doing that?

49:42Sabina Anja: I would go back to principles of good networking, to be entirely honest. I'm sure I'm going to anger one vendor or another by saying this, but it's not so much about the vendor. It's up to you to figure out which vendor can deliver best for what you're building. If you need a higher level of customization, if you need a higher level of this or that. So there are infrastructures for which InfiniBand could make sense. I prefer Ethernet every day. Ethernet is dead long loop. Ethernet has been a longstanding thing. But on the other hand, what are you trying to achieve? So it's not which vendor or which technology can deliver the best.

50:22Sabina Anja: Start with what you're trying to do here. Your network is a design constraint. the same way you treat your compute and your memory, right? In the past for any workloads, like how are you building the scale out? How often are you building for training or for inference? Which traffic has to leave the server? How am I prioritizing it? And then your network fabric needs to accommodate for all of that. And that will lead you to the right vendor, the right technology. Can RDMA over Ethernet solve this for me? Can it solve the latency problem? Can it do lossless? Do I need to buy into a locked-in system like InfiniBand?

50:56Sabina Anja: Not really. Maybe. That's entirely up to you. Within the server, you already have your answer. The GPUs on the MVLink is the best way you're going to pass information between the GPUs. What you're going to want to figure out is that backend network and how you're doing your forwarding.

51:11Amey Ambade: So I need to go back and study distributed systems and networks all over again.

51:16Sabina Anja: I'm sorry for that. It's definitely something that's a lot of fun.

51:19Amey Ambade: If you could give one piece of advice to a software engineer who wants to reason more clearly about the infrastructure that the AI code generally runs on, what would that be?

51:28Sabina Anja: Networking is really a watermelon through a keyhole problem. If I wanted to have one takeaway from now is, in general, AI as a shape, whether it's training or inference, is a watermelon through a keyhole problem. And the shape will be a little bit different. Training has a lot more data. It's a little bit bigger. Inference is a bit spikier at times. But at the same time, you are designing for a system that's in full forwarding all the time. And you have certain key criteria you have to think of, but by and large, the job of your networking is to support what you're building. To do that, you need to give them what you need.

52:03Sabina Anja: You need to tell them, this is my GPU infrastructure. This is how much traffic I'm going to be forwarding. This is the kind of traffic I'm going to be, and ask them to design systems that fit for that.

52:11Amey Ambade: That's a great point. Sabina, thank you for your time today. Before we wrap up, would you like to direct our listeners to where they can find more about you and your work?

52:20Sabina Anja: Oh, absolutely. I'm in the usual places, things like LinkedIn, definitely. Look, my name is out there. I've actually published some, I want to call it interesting, but I'll leave that up to the readers. Some interesting research on some of the issues and security challenges that we have with AI models and KVCache. So that's all on ACMQ, same handle as on LinkedIn. Just any number of articles, I'm out there. for lack of a better description.

52:46Amey Ambade: That's great to know. I implore the listeners to reach out to you. Sabina, thank you so much for taking the time to speak with Software Engineering Radio.

52:54Sabina Anja: This was a lot of fun.

52:56Amey Ambade: Thanks for listening. I'm your host, Amir Bhadeh. See you next time. Thanks for listening to SE Radio, an educational program brought to you by IEEE Software Magazine. For more about the podcast, including other episodes, visit our website at se-radio.net. To provide feedback, you can comment on each episode on the website or reach us on LinkedIn, Facebook, Twitter, or through our Slack channel at seradio.slack.com. You can also email us at team at se-radio.net. This and all other episodes of SE Radio

53:28Sabina Anja: is licensed under Creative Commons License 2.5. Thanks for listening.

53:44Thank you.

From the publisher

Sabina Anja, Chief Technologist and executive advisor at VMware Cloud Foundation, talks with host Amey Ambade about how AI workloads reshape GPU network design, and why the network moves into the critical path of computation once a model is too large for a single GPU. Using Llama 3's 405 billion parameters as a starting point, Sabina explains how sharding spreads model weights across many GPUs. She then walks through the difference between scaling up inside a server over NVLink and scaling out across servers over the cluster network. She describes collective traffic as synchronous: no GPU moves to the next step until every GPU finishes, so one slow GPU or congested link, called a straggler, stalls the whole job. The conversation covers data, tensor, and pipeline parallelism and the distinct traffic pattern each produces, with analogies such as splitting a restaurant bill to explain all-reduce. It then moves to physical topology, including rail-optimized designs, dedicated back-end AI networks that echo the storage area networks of the past, and why oversubscription, a sensible cost bet in enterprise networks, fails when AI traffic runs every link at full capacity.

The discussion then turns to congestion and latency: why synchronized collectives produce sudden bursts that overflow switch buffers, how older techniques such as priority flow control return to pause traffic before loss, and how overlapping communication with computation hides some network delay. On inference, Sabina explains how sharded models pay network latency on every generated token, why the prefill and decode phases have different resource demands, and why some systems separate them into different GPU pools and move the KV cache between them. She also describes how mixture-of-experts models can concentrate traffic on the servers that host popular experts. The episode closes with a vendor-neutral framework for evaluating network fabrics: treat the network as a design constraint in the same way as compute and memory, and give the network team concrete information about the traffic a workload will generate. Her summary of the challenge is that AI networking is a watermelon-through-a-keyhole problem.

More from Software Engineering Radio - the podcast for professional software developers

All episodes