AI Base

Chapter 06 · overview · 1 min read

Efficient and Scaled Attention

Plain multi-head attention gets expensive fast: its cost grows with the square of sequence length, and its memory traffic during inference grows with every token generated. This section covers the engineering responses to both problems.

Topics in this section: