Why LLMs Hit the Memory Wall

Large Language Models are often memory-bound, not compute-bound; naive execution of operations like `y = gelu(x + bias)` involves multiple expensive trips to global memory (HBM) for intermediate results, rather than keeping data in fast on-chip memory.

Sources

Open the full topic