Comparing Architecture Families Fairly › Implementation Maturity Is a Confound You Must Control
Language AI HandbookAll chapters FlashAttention illustrates the difference between attention arithmetic and execution cost. Tiling and online normalization reduce traffic to high-bandwidth memory. Backward recomputation can add FLOPs. Measure runtime for the selected kernel and workload.
That is not an architecture result. It is an engineering result, and it is exactly the kind of result that contaminates architecture comparisons if you are not careful.
Available kernel quality can differ across families. Measured timing reflects both what work the architecture needs and how the tested implementation executes it.
There are three practical consequences.
Use optimized kernels where practical and note which families use reference or fused implementations.
Report the kernel. A throughput number without a kernel name and version is not reproducible. State the library, the version, and whether the implementation is fused, chunked, or naive.
Algorithmic FLOPs count operations. Achieved FLOP/s depends on workload, hardware, and kernel. Bandwidth sets a ceiling at a given intensity. Better utilization can approach it, and reducing transferred bytes can change the intensity.
When measured performance falls below the roofline, investigate utilization, launch overhead, and actual traffic. The ceiling alone does not identify the cause.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!