Immutable combinators or proxy-object tracing record score and mask semantics.
score - slopes[h] * ΔCompose causal masks, sliding windows, GQA, softcaps, and ALiBi. attnc lowers the composition into one kernel and proves its semantics against a NumPy oracle.
This browser demo mirrors attnc's lowering rules. Flip a feature and inspect the compiler artifacts change together.
Causal + window bounds become a closed-form key interval. Fully masked tiles issue no memory traffic.
Both frontends converge on one IR, then pass through conservative optimizations before runtime dispatch.
Immutable combinators or proxy-object tracing record score and mask semantics.
score - slopes[h] * ΔConstant folding, boolean simplification, bound inference, and dead-branch removal.
causal ∧ window(4096)Every key tile becomes fully masked, fully unmasked, or partial.
skip · fast · predicateSplice expressions into an online-softmax skeleton, compile with NVRTC, and cache.
hash(IR, shape, arch)The same IR runs through an independent NumPy interpreter, enabling differential fuzzing across variants, shapes, and seeds.