The alpha, twice a week
That was 8 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Latent Space · 8 min · Aug 18, 2025
Transformer inference is limited by memory bandwidth
Thomas Sohmers explains why transformer inference moves far more data per operation than training or CNN workloads.
The episode’s best minutes
Full analysis- 8:54Transformer inference is limited by memory bandwidth8 min
- 17:40Make new hardware a zero-step change for customersPro pick 5 min
- 41:09Longer generations make decode speed more important5 min
- 3 more moments in the full episode
“we're shipping right now to be achieving 93% of the theoretical memory bandwidth of our device consistently across all use cases.”
Thomas Sohmersat 15:25 · Latent SpaceTakeaways
- Transformer inference can be memory-bound at roughly one flop per byte.
- Model weights are too large to fit in on-chip cache.
- Positron reports 93% memory-bandwidth utilization on its hardware.
About this segment
Thomas Sohmers explains why transformer inference moves far more data per operation than training or CNN workloads. Positron says its architecture uses 93% of its memory bandwidth, compared with about 29% for an H100 in the example.
Co-founder & CTO, Positron AI
Co-founded Positron AI, building inference chips on commodity memory; earlier founded REX Computing as a Thiel Fellow.

Shawn Wang (swyx), Host · Co-founder, AI Engineer
Wrote “The Rise of the AI Engineer” and founded Smol AI, maker of AI News.

Alessio Fanelli, Host · Founder, Kernel Labs
Partner at Decibel, backing technical founders who build developer tools.
From “⚡️Accelerators @ 3x NVIDIA H200 perf, Made in the USA - Thomas Sohmers + Mitesh Agrawal, Positron AI”, Aug 18, 2025. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 8:59
The real key thing here that this is showing is that in the top right corner here is an example of one of the most compute bound problems you could have of doing your inner product matrix matrix multiplication for CNN, where depending on the exact parameters can be anywhere from 500 to 1000 flops for every byte that actually needs to be moved. and on the other side of this chart you have the case of a transformer where when you're actually you know doing attention or really just any case where you're doing you're fundamentally doing matrix vector multiplication rather than matrix matrix multiplication and in that case you are are now actually completely memory bound for every step in the sequence that you're doing you're now having a one-to-one ratio of flops to bytes that have to be moved.
- 9:58
And so in that case, the really big realization at the beginning of Positron was, hey, this looks a lot like when you're doing QAM 256 in a mobile base station for LTE, just in terms of what actually needs to be moved. And the systems built for doing that, namely utilizing FPGAs and specialized DSP chips for that, have extreme focus on the memory system and the ability to actually saturate whatever dsp compute elements you have and be able to feed through at that one-to-one memory to compute ratio and if you look at sort of traditional big iron compute systems the last like major compute compute platform that had that balance of memory to compute ratio was the cray2 supercomputer so you know we're pushing you know 40 plus years of computing development uh you know that has been focused on just providing more and more flops just just you know raw math compute capability while not
- 11:07
balancing that by actually having memory scale in the same way and capacity and memory yeah uh yeah i'm really mainly talking on the memory bandwidth side here but yeah that this this was like the key thing that we saw like okay everyone had been optimizing for the cnn portion of the workload and the other thing i should point out here is when you're doing training for for transformers you're also in this very compute bound case in the case when you're doing training that what is matrix vector in inference because you're you're generating one token at a time and you're just appending that to your kvcache in training you already have the full sequence of you know whatever you're you're feeding in from a data set perspective so that gets to be a matrix and it is compute bound but it is this particular case of transformer inference
- 11:59
that is just massively memory bound can i can i also just spell out that this also applies to grok and the cerebras and other sort of big chip companies right yeah i mean this is just fundamental to the algorithms. Right. I mean, just because most people are familiar with NVIDIA H series, I just wanted to clarify. Yeah. I mean, this really is kind of hardware agnostic from the perspective of the operational intensity of the algorithm.
- 12:29
You know, the way in which different people approach that. And I would say Grok, Cerebrus, and others have tried to say that, hey, we're providing more memory bandwidth. But typically that comes at a massive trade-off of them not having the memory capacity. I'll get to the kind of the memory technology in a second, but the, you know, very quick thing I'll just throw up here is, you know, just trying to visualize the difference between matrix-matrix and matrix-vector.
- 12:58
And so when it comes to the actual memory axes that happen, when you're doing a matrix-matrix multiply, the simple way to say this doesn't take into full effect the tiling and more complexities there. But the simple high school math version of this would be for every element in matrix B, you get to reuse the same element in matrix A when you're then making matrix C. while when you're doing matrix vector you actually need to change the elements in both matrix a and vector b for every single operation that you do so the the second level of this is that matrix vector multiplication is basically uncashable when you're doing transformer inference matrix a is the weights of your model and so if you're talking about model weights that are tens of gigabytes, hundreds of gigabytes, now going into terabytes of memory, you're not going to be
- 13:55
fitting that in any on-chip cache. And so even if you had perfect cache prediction, it just won't work. And so a lot of the memory architecture decisions of the past few decades just go completely against what you need for this workload. So fundamentally kind of getting to The Positron here, what we're showing here with A100 and H100 is that sort of in NVIDIA's absolute best case scenario for an H100, for Llama 7DB here, they're able to achieve about 29% of the theoretical memory bandwidth in device.
- 14:34
So you pay for 3.35 terabytes per second memory bandwidth for an H100, and in practice, you're only actually getting about a terabyte per second. And the A100 comparison here is interesting because in most of these cases, the percentage of theoretical memory bandwidth actually has gotten worse generation over generation. And we'll see exactly where Blackwell ends up, but all indications are, even though they more than doubled the theoretical memory bandwidth going from Hopper to Blackwell, the actual percentage of theoretical that you can achieve is, again, going to be less than the previous generation.
- 15:14
And really what Positron's whole mission is about is getting absolute maximum memory bandwidth utilization possible. And so our fundamental architecture is enabling us today with hardware that we're shipping right now to be achieving 93% of the theoretical memory bandwidth of our device consistently across all use cases. So you can see that this degrades in the NVIDIA case as you scale up the number of concurrent users.
- 15:44
but you would see the same degradation as you scale the context length or scale the model size. You know, our architecture, the key things is that we have, you know, our core compute elements are designed to be optimized for one-to-one flops to memory bandwidth, so we can actually feed and completely saturate our device. And, you know, even when you then scale out and, you know, to external memory, you know, we're able to fully utilize that.
- 16:17
And basically that missing 7% that we've got is effectively just due to the refresh on the DRAM, which can't really get around right now. So, you know, what that actually results in is like today, we're, you know, able to achieve about, you know, 70% higher performance than NVIDIA with the cards that we're shipping today, significantly lower power and price point. yeah that's uh and just to re-emphasize you know this we're actually shipping yeah i think i think