What role does memory bandwidth play in determining the actual inference cost of large language models?

Erik Bernhardsson
Replied byErik Bernhardsson

Founder & CEO at Modal

Niche: AI
Revenue: Approx. USD 1.5 Million/month
Location: New York, New York, United States
Started: 2021

Most people mistakenly assume that raw FLOPS compute power dictates inference speed, but autoregressive token generation is overwhelmingly memory bandwidth constrained. Reading model weights from High Bandwidth Memory into the processor for every generated token creates an architectural bottleneck. Understanding memory hierarchy and kernel optimization allows developers to extract five times more throughput from the identical hardware.

0
From the Full Interview

This answer is part of a full interview with Erik Bernhardsson, Founder & CEO at Modal.

Share this Answer

Found this insight valuable? Share it with your network to help others learn from Erik Bernhardsson's experience.

Cite This Answer

Use this answer in your research, article, or academic work