interplane.Get Omega
Read in your language

aien-train

AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.

Brought by drakestapleton

branch main Branches Tags History

aien-train / evidence / OMEGALLM / gpu-bf / g1 / prereg.txt

76 lines · 5921 bytes Raw Blame History
1BF16 gate window bf-g1, pre-registered before the window opens (2026-11-02, UTC)
2
3Purpose: before any BF16 training step, show on the chip that (a) the ten BF16 kernels compute
4exactly the contract numerics (docs/omegallm/CONTRACT-BF16.md 4.1, 4.2), (b) the gates catch the
5four planted kernel/reference defects, (c) a BF16 gradient stays within the 4.3 heuristic bound of
6the CPU f64 gradient, and (d) every f32 command of the BF16 binary still reproduces the rung-7
7receipts (4.5).
8
9Source: aien-train feat/omega-llm-bf16, kernel code e329675 (unchanged), gb.om gate harness amended
10 in the commit that carries this prereg (see Amendment), contract a00bdfe.
11Binaries, rebuilt from that tree with the pinned omc 2c824805...:
12 P /dev/shm/ollm-bf/build-gb10/ollm-gb10 54fb8233c62a13c0b3bac13a38dd5b583943e9e9097342baaa57fc22db2ceb49
13 Mu ollm-mut-u-gb10 efc983e9... Ml ollm-mut-l-gb10 b62ce7f8...
14 Mo ollm-mut-o-gb10 af048991... Mv ollm-mut-v-gb10 ef2ddbfc...
15 P7 /tmp/gk/r7/gpu2/ollm-gb10 (rung-7 run binary) 1853303e82e9770822e643d0a22e5af9d3c7377a1a8b2c5cbf55ba6774814f0f
16 The amended tree's gpu-dump code_sha256 is f2628fda..., equal to e329675's: no kernel byte changed.
17
18Amendment (before any window ran; the first version is in commit 5f13cb3 and was never executed):
19 a review of the source found gbfrag case 10 asked for cz 1 with k 96 != m 128, which gkczok
20 refuses, so every binary would have stopped at case 10 (ggdie 98, rc 84) and B1/B2 could not
21 hold. Case 10 now uses k = 128. The same review found that no exact check covered long K loops
22 (gbfrag stopped at 4 K tiles; gbcmp's bound at B 64 is about one K tile of sum |ab|). gbfrag now
23 adds eight long-K cases (gbfl): m = n = 64, k = 16384 (512 K tiles), nz 1, both operand modes for
24 A and B, both role passes; operands zero except kk = 0 mod 29, so every K tile contributes, and
25 the f32 result is exact (sums < 565 * 5 * 17/8 = 6003.125 < 2^13 in multiples of 2^-9); C's padding columns must
26 stay NaN. B1 and B2 are amended to match; nothing else in the predictions changed except the
27 field naming in B10-B12.
28Host evidence already taken: slots 27..36 disassemble clean (GPR declared 152 >= need 145, SMEM
29 target 17, 16 HMMA.16816.F32.BF16 each); every f32 slot's code and GPR/SMEM bytes equal the base
30 273ca2a build; the AArch64 build equals the base (6da13670...).
31
32Inputs:
33 /tmp/gk/r7/ckb8.bin 0a4c382cbd2fdbb9fe6bc6f5e07e59b1012ec738491ce05570fe38a15be854a3 (v2 max, B 8)
34 /tmp/gk/r7/ckL0.bin fc8835feae77a7ee93b59807337d51c72dd5df277b48fd93f011e5c592c5ac86 (rung-7 start, B 64)
35 /tmp/gk/r7/run/ck30000.bin 378d5a2d877841007a1e9319ba2f7c2378a8ad575520adc71f08ca6b15113a73
36 /tmp/gk/r6/ck30000.bin 8ccaa099ad68ab02afafef9743b8fddc793b9cad029ab8291e91fb86e82d5509
37 /tmp/gk/r6/ck9000.bin e91349fbfe2e0851491af1a02799af5bad045b09a602fb7b56f4f320df8b206d
38 /tmp/gk/r7/g/ckg.bin 1ab162bf8d2e06e56884045ef17ca6999c4d328f01f75d666e0433c92c9b7094 (rung-7 gate step 250)
39 cks.bin c8693160c03c47781d69b6001794be43148221c4995bb0bfa07b18e0931a40ac
40 (cpu/ollm init cks.bin 256 32 64 2 128 2 8 1 100 10; the parity shape, P 84288. It replaces
41 the earlier small checkpoint 8e6a879b..., which no longer exists on this host, so B10 compares
42 P with P7 on the same input instead of with the k9 receipt.)
43
44Predictions (each a pass/fail line in REPORT.txt):
45B1 gbfrag ckb8 with P: GBFRAG PASS, rc 0, GFS 0 (26 GF lines and 8 GFL lines, all bad 0).
46B2 gbfrag with Mu, Ml, Mo, Mv: each GBFRAG FAIL, rc 50. The GF/GFL lines with bad > 0 are reported
47 per mutant; Mo must also fail at least one GFL line (a dropped K tile at k = 16384).
48B3 gbcmp ckb8 train.tok 7 with P: GBCMP PASS, rc 0 (gbcmp itself fails on a sample past its bound,
49 no BF16 GEMM, or coverage short of epilogues 1 and 2, cz 3, beta false and true). The GBC
50 line's gemms, worst_e6 and idmask are reported.
51B4 gbcmp ckL0 train.tok 7 with P (B 64, the training shape): GBCMP PASS, rc 0.
52B5 gbcmp ckb8 with Ml, Mo, Mv: each GBCMP FAIL, rc 48. Mu: reported, not gated (CONTRACT 5).
53B6 gbcmp2 ckb8 train.tok 7 with P: GBCMP2 PASS, rc 0, with tolb_e9 649703979 (Wolfram
54 nc*(2u+u^2) at L 8 -> 0.6497039794921875). cos, rel0, rel1 and dlossrel are reported; they are
55 the measured BF16-vs-f64 gradient distance at the v2 maximum.
56B7 geval r7 ck30000 with P: exactly `E 30000 2243 1254741 468077` (the rung-7 run's geval.txt
57 line), rc 0.
58B8 geval r6 ck30000 with P: exactly `E 30000 2243 1338156 499194`, rc 0.
59B9 gtrainf 9200 200 from a copy of r6 ck9000 with P: rc 0 and ck_after
60 ec4a8c2125791277047b80dff00c18f4dcbcce0f16f5d0b8028c6cc5d1d1a047 (bit-identical to the v1 and
61 rung-7 binaries).
62B10 gcmp2 cks.bin train.dec 3 with P and with P7: both GCMP2 PASS rc 0, and the two GC2 lines are
63 equal in every token except gpu_ns (the 14th value after GC2).
64B11 gcmp2 ckb8 train.tok 7 with P: GCMP2 PASS rc 0, and its GC2 line equals the rung-7 gate2
65 receipt `GC2 15833472 342030 991 122070 425 91553 5 5 267282 2213833 0 8408630 8408630 * 0`
66 in every token except gpu_ns (the `*`).
67B12 gacmp ckg.bin train.tok 7 with P: GACMP PASS rc 0, and the GA line equals the rung-7 gate2
68 receipt `GA 15833472 59587 4063468404 14664 132 15259 3147017 2774219` in every token except
69 adam_ns (the 7th value after GA, 3147017 there).
70
71Decision: BF16 training (window bf-t1) starts only if B1-B4 and B6-B12 hold and every mutant in B2
72and B5 (Ml, Mo, Mv) fails. A mutant that passes means that gate does not cover its defect; the
73training window does not open and the gate is fixed first. Nothing is rerun to replace a failing
74receipt. Infrastructure failures (window, ENOSPC, timeout without a verdict) are disclosed and the
75affected item reruns in a new window, recorded as a rerun.
76Window: spark-window bf-g1, --lease 40 --gb10 shared --quiet none. Timings are non-quiet.