· via dev.to (home feed)
vLLM inference is memory-bound, not compute-bound: dev.to walkthrough charts FP8 gains
A dev.to deep dive argues LLM token generation is limited by HBM bandwidth rather than compute, and reports FP8 quantization and fused attention kernels roughly tripling throughput in its benchmarks.

Token generation is a memory problem first
A technical walkthrough published on dev.to takes aim at a misconception that surfaces repeatedly in production LLM serving: that inference latency tracks how much compute a GPU has. According to the article, generating a token is not arithmetic-bound. It is bound by how quickly the accelerator's memory bus can move model weights and the Key-Value (KV) cache into the cores. A card can advertise enormous floating-point throughput and still generate tokens slowly, because the High Bandwidth Memory (HBM) bus is the real ceiling.
The author frames per-token latency as approximately the time to read the parameters plus the accumulated KV cache over the memory bus, with compute time as a secondary term. As context length grows, the KV cache expands linearly and starts to dominate that read. Naive PyTorch-based serving, the piece argues, fragments memory or hits out-of-memory errors at that point. The downstream symptom is worse than slow responses: when memory pressure forces cache eviction, attention has to be recomputed from scratch, so throughput collapses unpredictably under load rather than degrading gracefully.
What vLLM changes, and where it stops
vLLM's answer to the memory-management side is PagedAttention, which organises the KV cache into non-contiguous blocks in roughly the way an operating system handles virtual memory. The dev.to article's position is that this alone is not enough for high-density workloads, so it layers on two further optimizations.
The first is FP8 E4M3 quantization, which halves parameter size relative to FP16/BF16 and therefore halves the bytes that must cross the bus per generated token. The second is kernel fusion: combining the query-key-value projection and the attention scoring step so intermediate tensors are read once instead of several times.
The executive summary claims a 3.8x throughput acceleration from combining the two. Worth noting: the article's own benchmark table shows smaller gains, roughly 2.9x on the tested Tesla V100 and 2.8x on an RTX 4090. The post does not reconcile the figures, and the headline number appears to trace back to the theoretical simulation included in the piece rather than to the measured runs.
The numbers the article reports
The author benchmarks Llama 3 8B and Mistral 7B on a Tesla V100 SXM2 (around 900 GB/s of HBM2) and a consumer RTX 4090 (around 1008 GB/s of GDDR6X):
- Llama 3 8B on the V100: 21.4 tokens/sec at 46.7 ms per token in FP16, with 92% memory utilization flagged as an OOM risk; FP8 moves that to 62.1 tokens/sec at 16.1 ms per token and 58% utilization.
- Mistral 7B on the RTX 4090: 35.2 tokens/sec at 28.4 ms per token in FP16 at 88% utilization; FP8 reaches 98.5 tokens/sec at 10.1 ms per token at 45% utilization.
The piece also ships a self-contained Python simulation that models throughput as memory bandwidth divided by the total bytes touched (parameters plus KV cache), toggled between FP16 and FP8 via a quantization factor. The author is explicit that this models theoretical gains and that real deployments need the actual vLLM and transformers stacks with proper drivers. All of these figures are the author's own; no third-party verification is presented.
Why it matters
For teams self-hosting models, which the article frames around privacy-preserving deployments where third-party API access is prohibited, the practical lesson is about where to spend money and effort. If token generation is bandwidth-bound, a compute-heavier GPU buys little, while halving the bytes moved through quantization buys a lot. Memory headroom matters for a second reason: it determines the batch size the system can sustain before eviction and recomputation make throughput erratic. The post also offers a diagnostic for operators, since load-dependent, non-deterministic performance is a memory symptom rather than a compute one. The exact multipliers deserve some caution given the gap between the claimed 3.8x and the measured 2.8-2.9x in the article's own table, but the core argument holds up: profile the memory bus, not the FLOPs, before scaling a production inference deployment.
- #vllm
- #llm-inference
- #quantization
- #gpu
- #memory-bandwidth