Comparing Architecture Families Fairly › Implementation Maturity Is a Confound You Must Control

Michael BrenndoerferNovember 17, 20261 min read
Language AI HandbookAll chapters
Part 19 of 67Alternative Sequence and Generative Architectures
Chapter 138Comparing Architecture Families Fairly › Implementation Maturity Is a Confound You Must Control
Reading section 6 of 16 · Implementation Maturity Is a Confound You Must Control · 1 minSection 6 of 16 · 1 min

Section 6 of 16 · 1 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy