I really appreciate this type of articles. I feel like a lot of knowledge in LLM training and inference is locked inside the heads of practitioners. Similar to compiler engineers before.
To work in LLM training/inference you’re expected to know this stuff but to know this stuff you need to be working in the space.
rjzzleep · 2026-06-30 06:08:59 UTC
Gentle reminder that while most money is spent on LLM inference, the vast majority of useful AI use is in fact not LLMs. Also, more and more work is poured into making small models. One thing I like about the whole export controls saga is that people are finding creative ways to squeeze performance out of these devices as witnessed in this post. But, if you then look at solutions like vLLM, vLLM will just fill whatever VRAM is available, no matter the context size, or the model size. So then you have two things to worry about:
First, where do you know exactly what the optimal VRAM assignment per model, per context size is, which seems to be currently based purely on experience and second how do you make sure that only that amount is available to your infra/containers, which is being handled by DRA and stuff like https://project-hami.io
While only tangentially related to the blog post here. The title is picked in such a way that I couldn't help, but put the shameless plug here. When he wrote popping the bubble, I thought we're talking about devices and reducing NVIDIA dependency, but this seems very focused on Cuda.
Disclaimer: I work with Dynamia.ai, the founders of which created HAMi.
esperent · 2026-06-30 09:21:02 UTC
> the vast majority of useful AI use is in fact not LLMs
Can you explain what you mean here? Are you talking about small neural networks doing specific tasks?
radq · 2026-06-30 06:15:39 UTC
Thank you for the kind words. We will write and share more of these.
someonebaggy · 2026-06-30 09:10:00 UTC
Most industries are like that.
alfiedotwtf · 2026-06-30 09:31:33 UTC
> Similar to compiler engineers before.
I guess the difference here being that we have ample compiler literature and practically know 99% of all there is to know about compilers that exist in the wild vs this new field.
Until we’ve gathered and agreed on a few “dragon books” for LLMs and have explored all there is to LLMs, you’re probably right - know-how will be with the practitioners and in source code until it’s distilled (pun intended).
Melatonic · 2026-06-30 09:38:02 UTC
Better comparison would be low level code running on smaller chips. Intersection of hardware and software engineering
nl · 2026-06-30 05:50:21 UTC
> you find that the GPU often sits idle, not for lack of work, but because the CPU hasn't told it what to do next yet. This phenomenon is called a GPU bubble.
This is true, but I've never heard anyone refer to this as a GPU bubble before.
I think most people hear "GPU bubble" and think of a financial bubble of some kind.
nnevatie · 2026-06-30 05:52:56 UTC
Yes, the title seems off - I also thought I am going to be reading about the AI/pricing bubble.
rusk · 2026-06-30 05:54:58 UTC
The term I would use would be “underutilised”
barries11 · 2026-06-30 05:59:36 UTC
"stall" is the best term I can think of as in "pipeline stall".
Better term, anyone?
_zoltan_ · 2026-06-30 07:05:12 UTC
it's not stalled, as that would imply that it waits for something, which is not necessarily the case with bubbles. most often it shows lack of proper pipelining or wrong pipeline dependencies (pipeline A waits for pipeline B, pipeline C waits for pipeline B, while pipeline B waits for an event X, now you've just made all three pipelines stalled on event X - not good).
rusk · 2026-06-30 07:16:11 UTC
When an engine stalls, the implication is that the chain reaction that drives it is failing - I don’t think that is the case with a GPU as it will quite happily sit there drawing watts til you give it things. In systems nomenclature the inverse term for bubble is utilisation. This or that link is or node is using x% of its capacity. Indeed, if you monitor your GPU with nvidia-smi you will see that very term in the instrumentation.
cma · 2026-06-30 06:02:02 UTC
It's very common to call it a GPU bubble in gamedev, though not strictly for CPU induced bubbles.
Very odd, but perhaps more familiar to graphics programmers? I will say I'd probably call it a stall, which is exactly what the Vulkan docs call it moments later, so :shrug:
kibibu · 2026-06-30 06:10:55 UTC
"bubble" used to be used a lot more when talking about very deep pipelines, eg Pentium 4 depth.
tux3 · 2026-06-30 08:09:46 UTC
Or in the case of my poor Verilog, even very short pipelines :(
alfiedotwtf · 2026-06-30 09:34:14 UTC
And before that, graphics programmers called it vertical retrace :upsidedown:
ralferoo · 2026-06-30 15:42:06 UTC
I'm a rendering engineer and have used this term frequently.
It's actually a very common technique in rendering to not always be able to easily fill in the gaps, that we frequently deliberately introduce an extra frame of latency, so that the GPU is rendering jobs for the latter half of rendering passes for frame N+1 and the early half of rendering passes of frame N+2 while frame N is visible. This still means that a frame takes the same total GPU time to render, but means that the gaps between jobs on a single frame can be usefully filled with something else from the other.
vkazanov · 2026-06-30 06:16:25 UTC
I saw it in literature on cpu pipelines in quotes, never without.
IshKebab · 2026-06-30 06:45:28 UTC
I've never seen it in quotes, but yeah it is a very common term in pipelined CPUs.
_zoltan_ · 2026-06-30 07:03:23 UTC
while the title is misreading, when reading GPU profiling data, we do call these bubbles - where the GPU _could_ do something, but it's idle.
any time your GPU is idle = you are losing $$$ = your TCO is going up. you don't want that.
spaqin · 2026-06-30 07:41:06 UTC
Pretty sure that would be "[GPU performance] bottlenecked [by the CPU]" in most common terms.
Eisenstein · 2026-06-30 10:38:31 UTC
I thought it was normal for the AI field to confuse people by repurposing other terms of art? To: "transformer", "lora", "diffusion", "hallucination", etc, we can now add "bubble".
That's a terrible name for that and I can't say that Hanlon's razor applies. Bubble that everyone's knowingly referring to is the stock market collapsing like in 2001. To choose a headline that can be mistaken for that just to get clicks is shit. You could've called it GPU-CPU pipeline stall, but no, you intentionally chose a name that would be confused for something else just to get clicks?
radq · 2026-06-30 08:48:39 UTC
This is what people in the field call it. I'm sorry you're offended.
fragmede · 2026-06-30 09:49:50 UTC
You. You are people in the field. You can choose to name it anything else in the article that you just wrote. "We call it the GPU-CPU pipeline stall, but others might call it the GPU bubble."
ksbd-pls-finish · 2026-06-30 14:58:00 UTC
The term is much older than the current GPU craze though. Ypu're trying to regulate how experts in a field communicate, which is... Weird.
cubefox · 2026-06-30 09:30:19 UTC
Yeah the title is obviously clickbait.
dingdingdang · 2026-06-30 10:02:50 UTC
Yeah, it works though, and the content is genuine enough which I guess trumps the issue with the title for me ;)
augment_me · 2026-06-30 08:26:58 UTC
As someone who works in the field, the blog is nice but it has a lot of CODEX fingerprints on it, and it's also very specific to the size of the model in question in a way that is not explicit from the blog until the very last section.
In general, for some reason CODEX loves CUDA-streams, it's the first optimization it goes for every time when writing GPU kernels. However in many cases this is not a bottleneck, it happens to be so here because the model in the blog is small (2.4ms FW-pass is tiny, and 9B params sit on a single GPU). Large models are closer to 30-40ms. The CPU-GPU sync is 1-2ms, when working on larger MoE models the scheduling of tokens in this way is much less important than for example scheduling of computation/communication or kernel optimization.
I wish the blog would state this at the start with the premise of what has been done, or show that this is indeed the bottleneck with some benchmarking. Otherwise is kind of overselling things imo.
radq · 2026-06-30 08:45:56 UTC
Appreciate you saying the blog was nice. Not sure what you mean by "CODEX fingerprints", but I'll engage with the other points. We work on small models, and our customers want real-time inference on modern GPUs. The sub-title says "near-realtime VLM inference". 20-30ms forward passes are a non-starter for these workloads.
If you scroll down to the section titled "A cost model for the bubble", you will find both benchmark results and us saying, "you get back anywhere from a few percent to a third; more the faster your accelerator/model is".
augment_me · 2026-06-30 12:13:48 UTC
My comment is aimed to highlight that the "GPU Bubble" is frames as a general solution when it's not, its a specific bottleneck based on your model size. Your dont mention your model size anywhere, the reader has to infer it from the runtimes, and if they dont know the average forward pass of a model, well too bad, they will leave without understanding the actual trade-off.
The benchmarks you point to in the section titled "A cost model for the bubble" dont include any CPU overheads or the T_block-T_pipe you mention, they just give the improvement %.
In general, you answers here in the thread read as defensive and unhumble. They leave a sour taste of your company, you should consider how you engage with your audience.
tjoekbezoer · 2026-06-30 08:43:29 UTC
Regarding the critique on the title: perhaps an analogy can be made to propeller cavitation on ships. Water influx rate, propeller design and operational parameters all influence the detrimental effect of water bubbles forming — deteriorating the system's efficiency.
The GPU would be the propeller, the influx is the work, and the operational parameters is what this article's about.
radq · 2026-06-30 08:54:30 UTC
I'm disappointed with the commentary here. "GPU bubble" is an industry standard term, and literally how I would describe this to my colleagues in the industry. Look for example at the second slide here https://media.steampowered.com/apps/valve/2015/Alex_Vlachos_...
tjoekbezoer · 2026-06-30 12:37:47 UTC
Just trying to be helpful by making an adequately coined term more palatable to a critical audience, thereby expediting the end of a fruitless discussion on an otherwise excellent article. Compliments.
amelius · 2026-06-30 10:32:31 UTC
The real GPU bubble will be when AI companies figure out they can better make their own ASICs and ditch all their GPUs onto the market.
aleph_minus_one · 2026-06-30 10:39:37 UTC
In data center operations, GPUs have some specific lifetime. Because datacenter GPUs are currently so expensive and hard to get, they don't get dropped on the market at some point (even if a better replacement has arrived), but used as long as possible.
Even if the AI companies decide to use their own ASICs, they will rather slowly, but continuously introduce them, while removing GPUs that have reached their end of life.
amelius · 2026-06-30 11:27:13 UTC
Yes, short term this is right. But at some point PyTorch will have a model.toVHDL() method, and we'll have a PCBWAY-style website for tapeout of the circuit. Nvidia's future looks less bright than they think and their GPU market will certainly pop.
knollimar · 2026-06-30 14:29:32 UTC
Doesn't that assume that VHDL is trivial? I feel like there are tons of performance tradeoffs or hardware designers wouldn't have jobs
dragonwriter · 2026-06-30 14:53:15 UTC
I can't imagine that model lifetimes will ever justify using model-specific ASICS for public serving (maybe something like serving fixed certified AI models in a vehicle or robot) over more generic GPUs/NPUs until after the AI bubble pops.
aleph_minus_one · 2026-06-30 16:16:45 UTC
Be aware that currently the hardware costs and electric bill are two huge problems of modern LLMs.
If such AI models will deliver on their qualitative promises, and just the huge cost is the burden to overcome, custom ASIC might be a part of the solution.
If, on the other hand, AI models will still be unsuitable for many applications because of their qualitative issues, it is a much harder and different problem to solve - in this case, the AI bubble will plausibly burst.
NooneAtAll3 · 2026-06-30 11:04:02 UTC
I thought this was going to be an announcement of another GPU manufacturer :(
Comments
To work in LLM training/inference you’re expected to know this stuff but to know this stuff you need to be working in the space.
First, where do you know exactly what the optimal VRAM assignment per model, per context size is, which seems to be currently based purely on experience and second how do you make sure that only that amount is available to your infra/containers, which is being handled by DRA and stuff like https://project-hami.io
While only tangentially related to the blog post here. The title is picked in such a way that I couldn't help, but put the shameless plug here. When he wrote popping the bubble, I thought we're talking about devices and reducing NVIDIA dependency, but this seems very focused on Cuda.
Disclaimer: I work with Dynamia.ai, the founders of which created HAMi.
Can you explain what you mean here? Are you talking about small neural networks doing specific tasks?
I guess the difference here being that we have ample compiler literature and practically know 99% of all there is to know about compilers that exist in the wild vs this new field.
Until we’ve gathered and agreed on a few “dragon books” for LLMs and have explored all there is to LLMs, you’re probably right - know-how will be with the practitioners and in source code until it’s distilled (pun intended).
This is true, but I've never heard anyone refer to this as a GPU bubble before.
I think most people hear "GPU bubble" and think of a financial bubble of some kind.
Better term, anyone?
Very odd, but perhaps more familiar to graphics programmers? I will say I'd probably call it a stall, which is exactly what the Vulkan docs call it moments later, so :shrug:
It's actually a very common technique in rendering to not always be able to easily fill in the gaps, that we frequently deliberately introduce an extra frame of latency, so that the GPU is rendering jobs for the latter half of rendering passes for frame N+1 and the early half of rendering passes of frame N+2 while frame N is visible. This still means that a frame takes the same total GPU time to render, but means that the gaps between jobs on a single frame can be usefully filled with something else from the other.
any time your GPU is idle = you are losing $$$ = your TCO is going up. you don't want that.
This appears to be different than the recent "Speculative Pipeline Decoding" paper: https://arxiv.org/abs/2605.30852
In general, for some reason CODEX loves CUDA-streams, it's the first optimization it goes for every time when writing GPU kernels. However in many cases this is not a bottleneck, it happens to be so here because the model in the blog is small (2.4ms FW-pass is tiny, and 9B params sit on a single GPU). Large models are closer to 30-40ms. The CPU-GPU sync is 1-2ms, when working on larger MoE models the scheduling of tokens in this way is much less important than for example scheduling of computation/communication or kernel optimization.
I wish the blog would state this at the start with the premise of what has been done, or show that this is indeed the bottleneck with some benchmarking. Otherwise is kind of overselling things imo.
If you scroll down to the section titled "A cost model for the bubble", you will find both benchmark results and us saying, "you get back anywhere from a few percent to a third; more the faster your accelerator/model is".
The benchmarks you point to in the section titled "A cost model for the bubble" dont include any CPU overheads or the T_block-T_pipe you mention, they just give the improvement %.
In general, you answers here in the thread read as defensive and unhumble. They leave a sour taste of your company, you should consider how you engage with your audience.
The GPU would be the propeller, the influx is the work, and the operational parameters is what this article's about.
Even if the AI companies decide to use their own ASICs, they will rather slowly, but continuously introduce them, while removing GPUs that have reached their end of life.
If such AI models will deliver on their qualitative promises, and just the huge cost is the burden to overcome, custom ASIC might be a part of the solution.
If, on the other hand, AI models will still be unsuitable for many applications because of their qualitative issues, it is a much harder and different problem to solve - in this case, the AI bubble will plausibly burst.