ESSAYS · · 5 MIN READ

Does AI Inference Need HBM at Every Stage?

An eight-page study asks whether cheaper GDDR accelerators can run prefill while HBM hardware handles decoding.

Zuliang Zhao
Does AI Inference Need HBM at Every Stage?

This essay is a personal reading of an engineering paper and its possible industry implications.

In 2017, Google published Attention Is All You Need. A once-contested paper became one of the most cited in AI, and its Transformer architecture became the basis of models from BERT and GPT to DeepSeek. Nine years later, researchers from Shanghai Jiao Tong University and UltraRISC borrowed the title for an eight-page paper: HBM Is Not All You Need.1 High-bandwidth memory is among the most costly components of flagship NVIDIA accelerators. The new paper asks whether it’s necessary for all of inference. After reading it, I think the authors have something.

The second card didn’t make my model faster

I had a server with 256 GB of system memory and an RTX 5070 Ti with 16 GB of VRAM. DeepSeek V4 Flash’s model file was 161 GB. A quantized version ran because most weights stayed in the CPU’s memory and the software moved the part it was working on to the GPU. It was slow, stable, and sufficient for one person.

Adding a second 5070 Ti gave me 32 GB of VRAM, and then things started failing. An 8-bit KV cache gave me segmentation faults. Increasing the batch size failed too. Moving the cache from CPU memory to the GPUs ran out of CUDA memory by 493 MB. The stable configuration I found was a 256K context, two concurrent requests, and the cache still in system memory. The second card made almost no difference to speed. Weights still had to cross the same PCIe link. The GPU could do the arithmetic if I could get the data there.

Prefill and decoding have different bottlenecks

Prefill reads the prompt and computes the intermediate state. Many operations can happen together, making that phase relatively compute-intensive. Decoding generates the output token by token and repeatedly accesses memory. At small batches, bandwidth can matter more than peak arithmetic performance. My setup was struggling on the memory side.

In the study’s tested A100 prefill workloads, compute utilization exceeded 70% while HBM bandwidth utilization was under 3%. That doesn’t mean HBM is unused throughout inference. It raised a more specific question. Why reserve the most expensive bandwidth for the phase that scarcely uses it?

What the HMA-Serve prototype did

The HMA-Serve architecture and data transfers between the accelerators

Diagram from Wei et al. The prototype uses GDDR accelerators for prefill and an HBM GPU for decoding.

The researchers ran prefill on four Tenstorrent p150 cards, each estimated at about $1,400, and decoding on an NVIDIA A100 estimated at around $10,000, connected by a 100 Gbps network. The experiment had to make two vendors’ software and hardware work together.

  • Representations. Tenstorrent prefill used BFP8, packing values in 32 × 32 blocks. The A100 decoding stage used BF16. Instead of expanding every value before transfer, the system sent quantized bytes and converted the layout on the decoding GPU with integer units. The conversion took about 1.5 ms versus 72 ms in the straightforward comparison, leaving tensor cores for other work.
  • Transfers. Waiting for prefill to finish before sending its intermediate state would add 100–200 ms in the examples discussed. Sending each completed layer while later layers were still computing hid nearly all of that transfer time in the measured pipeline.
  • Quality. The team used lower precision for prefill and kept decoding in BF16. On the reported math reasoning benchmarks, including MATH500 and AIME, the output quality was close to the all-high-precision setup.

The four GDDR cards, around $5,600 together at those estimates, could beat one A100 on prefill under the reported conditions. HBM stayed in the decoding stage. Across four Qwen3 sizes and three production traces, the paper reports up to 4.8 times the goodput per hardware dollar versus its baselines. That is the study’s cost/performance result for the tested setup, separate from a fleet’s full operating costs.1

A way to buy memory where it earns its keep

My GPU was idle for lack of bandwidth, while the researchers saw bandwidth going unused in another phase. Those are two sides of the same engineering issue: buying compute and memory as an inseparable package means paying for capacity when a part of the job doesn’t need it. Jim Keller argued in 2024 that HBM wasn’t always essential.2 This paper gives that idea a hardware example for prefill while keeping HBM for decoding.

I see a question for SK hynix, Samsung, and Micron if separate prefill becomes common. Some expected inference demand for HBM could shift to cheaper alternatives. I would watch how this affects the market rather than treating the experiment as a stock forecast. The movement in memory stocks around Meta’s sale of spare compute shows how sensitive expectations can be, without establishing why any investor sold.

Where the result stops

The team tested Qwen3 from 4B to 32B, not Llama, DeepSeek, or Mixtral. On the 4B case, the single A100 was faster under the study’s strict 0.1-second latency target. A more relaxed target wasn’t tested in that comparison. Purchase prices leave out the cost of maintaining two software stacks, and data centers moving from 100 Gbps to higher network speeds may value the transfer optimization differently. The collaborators and hardware supplier also have an interest in RISC-V routes succeeding. The linked p150 reporting is one more reason to check the configuration and costs before applying the results.3

For inference engineers, the distinction opens up a design choice. For memory investors, it suggests looking at demand one inference phase at a time. For chipmakers that have trouble getting HBM, the result suggests that a GDDR route can compete for a particular part of the job.

It doesn’t fix my PCIe bottleneck. I still wonder what happens if a GPU can reach a bigger pool of shared memory through optical links, or two cards can exchange data over optics instead of depending on PCIe. Less time moving data could let more of the compute go to work. That’s one reason I’m paying more attention to light.

Footnotes

  1. Zhixiang Wei et al., “HBM Is Not All You Need: Efficient Disaggregated LLM Serving across Memory-heterogeneous Accelerators”, June 29, 2026. ↩ ↩2

  2. DigiTimes, Jim Keller on more affordable AI accelerators, July 2024. ↩

  3. Tom’s Hardware, report on the Blackhole p150 configuration change. ↩