← OpenFluke

Chapter 63

Validation report — full suite

github.com/openfluke/w2a✅ 137k cells


Why it exists

Claims are cheap; a green matrix is not. This is the actual output of one full w2a run so the book's ✅ marks are backed by numbers you can reproduce, not asserted.

What it is

Every timed layer sweeps its dtype × format × backend matrix; every suite runs its case checks. The run below is zero-gap and zero-fail across the whole board.

Full suite: PASS137,039 matrix cells — OK 137,039 · GAP 0 · FAIL 0. 326 suite cases — PASS 326 · FAIL 0. Elapsed 24m09s on amd64 with an NVIDIA GTX 1650 SUPER.

Coverage by layer (timed matrices)

LayerCellsOKCases
dense2,8022,80218
mha2,8472,84718
softmax2,8472,84719
cnn1 · cnn2 · cnn32,847 ea2,847 ea14 ea
embedding · layernorm · lstm2,847 ea2,847 ea14 ea
residual · rmsnorm · rnn2,847 ea2,847 ea14 ea
sequential · swiglu2,847 ea2,847 ea14 ea
dna16,15916,1596
evolution16,15216,1526
step32,45832,45811
tween32,45732,45710
Total137,039137,039326

Case-only suites (checks, no timed matrix): convt1/2/3, gdn, kmeans, mamba, parallel, metacognition, seed, serialization, memory, donate, fountain, hardware, helpers — all cases PASS.

Dense timed matrix — highlights

All 34 dtypes run forward and backward on CPU-tiled, Plan 9 SIMD, and WebGPU with zero gaps. Fastest forward paths on SIMD: int8 45µs, float32 57µs, int4 87µs; WebGPU stays in the ~165–490µs band across every dtype.

Go example

examples/63-validation/main.go

Run:cd welvet/examples/63-validation && source ../env.sh && go run .
package main

import "fmt"

func main() {
	cells, cases := 137039, 326
	fmt.Printf("w2a suite: %d/%d matrix cells OK, %d/%d cases PASS\n", cells, cells, cases, cases)
	fmt.Println("gaps: 0   fails: 0   result: PASS")
}

Output

Run python3 _gen_welvet_book.py --run to capture output.

Validate (harness)

cd w2a && go run .   # full timed suite (~24m); writes logs/suite.txt