the path · chapter 05 of 15 · part i, the descent · this layer's own depth

the gap

Between the compiler's ceiling and the kernel language's floor, there is no middle layer.

mastery work · this chapter0/1
manual items are your word; auto items complete from your streaks, labs, and can-you ticks · stored in your browser only
the layer

The two modes

Above the gap: XLA, where the compiler decides everything and you cannot intervene. Below it: Pallas, where you decide everything: block shapes, memory residency, pipeline depth, all of it, tangled together with your math. There is no dial between the modes. Either you accept the compiler's ceiling, or you take over completely.

This is why the famous kernels exist as hand-written artifacts maintained by a small number of specialists. Flash attention is the online-softmax theorem plus expert memory choreography, welded together in one file. Every kernel like it is a crossing of this gap on foot: someone applied an algebraic identity the compiler could not, then hand-scheduled the result.

The track teaches you to make that crossing yourself. Stage 2 shows you the ceiling from above, in the compiler's own dumps. Stage 3 hands you the theorem and has you build the crossing: derive online softmax, prove its combine associative, then write the streaming kernel the compiler could not produce. After you have crossed once, the priesthood kernels read as engineering rather than magic.

later on the path Stage 3 is the crossing (chapter 13). Keep descending; the path arrives there in order.