Macalinao StudioLearnAll foundation lessons ↗

3 ATTENTION TOPICS / TWO LEVELS / FULL LOCAL NARRATION

Share. Compress.
Choose what to read.

Start with a concrete example. Follow the calculation. Change one assumption. Explain the result. Choose a level, then move freely between Signal Room, Workbench and Field Notes.

High school begins with intuition and arithmetic. College adds derivations, shape reasoning and implementation assumptions. Each path keeps its own notes and progress.

EXTENSION gqa

Grouped-query attention: many questions, shared memory

Map query heads to shared cache heads, compute distinct attention outputs, and budget memory without promising speed.

7 sections per path · full local narration · connected experiments

EXTENSION latent

Latent attention: store a compact representation

Trace joint KV compression, verify a small projection identity, and understand positional and quality constraints.

7 sections per path · full local narration · connected experiments

EXTENSION sparse

Sparse attention: choose what to read

Construct sparse visibility sets, calculate changed outputs, and distinguish fewer reads from reliable retrieval.

7 sections per path · full local narration · connected experiments

Continue into position, computation and precision

RoPE, FlashAttention and quantization: both levels →