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
aien-train / evidence / OMEGALLM / wsp-patch-20261107 / README.md
| 1 | # wpatch host-CPU receipt, 2026-11-07 |
| 2 | |
| 3 | Note added with the pure-Omega port: `tools/omegallm/wpatch/build.sh` and |
| 4 | `check.py`, named in the commands below and in REVIEW.md, were deleted and |
| 5 | replaced by the Omega drivers `wpbuild.om` and `wpcheck.om`. The records below |
| 6 | are kept unchanged as history. Current commands and receipts: `pure-omega/`. |
| 7 | |
| 8 | Status: IMPLEMENTED and EXERCISED, PASS on the recorded host CPU paths. |
| 9 | GPU qualification, inference-quality improvement, merge and deployment: NOT_RUN. |
| 10 | No GPU was opened and no live service was changed. Round40 was read-only. |
| 11 | |
| 12 | Base source: aien-train `0518c915dea370b3bffbb90d579b1daa5ba8b8f5`. |
| 13 | Compiler source: omega-mv `e5b32567a7aff3ce594e3254a622a846a6cd190b`. |
| 14 | Build output: `/home/drakestapleton/work/wsp/wpatch-build`. |
| 15 | Final binary SHA-256: |
| 16 | `330660c5963b116aa9e50fd1c2ff3376a27d8cc73788f09878c80280f74c48e3`. |
| 17 | |
| 18 | ## Commands and observed results |
| 19 | |
| 20 | All commands ran from the WPatch private worktree unless their arguments show |
| 21 | otherwise. The evidence records the literal commands, outputs and exit codes. |
| 22 | |
| 23 | ```text |
| 24 | OUT=/home/drakestapleton/work/wsp/wpatch-build CORE=0 sh tools/omegallm/wpatch/build.sh |
| 25 | exit 0; build.log includes compiler, SHA source, composed source and binary hashes. |
| 26 | |
| 27 | taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ |
| 28 | --build /home/drakestapleton/work/wsp/wpatch-build \ |
| 29 | --work /home/drakestapleton/work/wsp/ck/wpatch-small-2 |
| 30 | exit 0; small.jsonl: 685 assertions PASS, 100 subprocess commands, 0 failures. |
| 31 | |
| 32 | fuser /home/drakestapleton/handoffs/hive/queen/pool-19.lock |
| 33 | exit 0; holder 735700. Used the required core-0/nice-19 fallback, not core 19. |
| 34 | |
| 35 | taskset -c 0 nice -n 19 python3 tools/omegallm/wpatch/check.py \ |
| 36 | --build /home/drakestapleton/work/wsp/wpatch-build \ |
| 37 | --work /home/drakestapleton/work/wsp/ck/wpatch-test \ |
| 38 | --real /home/drakestapleton/.local/share/omega-tool-model/round40/model.ck |
| 39 | exit 0; real.jsonl: 21 assertions PASS, 6 subprocess commands, 0 failures. |
| 40 | ``` |
| 41 | |
| 42 | The small test initializes V256 T8 D16 H2 F32 L2 B2, trains two steps on |
| 43 | `b'abc abcd abcde\0'*200`, then checks every tensor and all optimizer policies. |
| 44 | Each policy passes inspect, diff, show, validate, apply, verify, revert, bind and |
| 45 | checkbind. The independent verifier checks exact header/entry/moment bytes, |
| 46 | per-tensor and whole-file SHA, f32 SHA, exact rollback, and f32-surviving counts. |
| 47 | One f64 edit deliberately disappears in f32. Boundary vectors cover signed zero, |
| 48 | subnormal values, ties, overflow, NaN and infinity. Inspect's scaled RMS remains |
| 49 | finite with the largest finite f64 while separately counting nonfinite values. |
| 50 | |
| 51 | Required corruptions PASS with distinct codes: wrong base SHA 50, geometry 36, |
| 52 | tensor shape 37, out-of-range index 38, NaN 40, infinity 41, magnitude 42, |
| 53 | unsorted 39, duplicate 43, old bits 47, named-manifest bit flip 30, truncation 32, |
| 54 | and existing OUT 52. Additional entry/hash/moment/count/output/binding controls |
| 55 | are in small.jsonl. Every subprocess code is asserted, including refusals. |
| 56 | Refused apply paths leave no newly created checkpoint, and existing/base files |
| 57 | remain identical. Postwrite cleanup on an externally injected write race and |
| 58 | forced process termination were NOT_RUN; the stable-file precondition applies. |
| 59 | |
| 60 | Round40 edits exactly ten consecutive layer-3 w2 entries starting at flat index |
| 61 | 8162304 by adding 0.001 to each in a copy. Policy 2 clears their m/v. The recorded |
| 62 | verify result is `PASS f32_surviving=10 changed=10`. Raw per-command elapsed |
| 63 | nanoseconds are in real.jsonl; they are MEASURED on a shared CPU host, not a speed |
| 64 | qualification. Reverted and source SHA both equal: |
| 65 | `7c7b5b5260f2d9453b6076b64e7f23e88341d96498584f2dfaa229c31ad2e346`. |
| 66 | Output SHA: |
| 67 | `95c8676227161d5fd425082462333a9180fe0c870478b69446bbf92678f47eac`. |
| 68 | F32 output SHA: |
| 69 | `168f305d64d3d4192ae8fb8d854fa4c9b9a28ec12e7d399d30ec62153f5e831e`. |
| 70 | Canonical patch: |
| 71 | `e0b262208c29d55f11a8dd53a82d8dd43ceac9cc5064b1c90e942fed34dd8658.wp`. |
| 72 | The additional CPU-only `wpatch show` command exited 0; its output is |
| 73 | `real-show.json`. Large checkpoint artifacts remain under `ck/wpatch-test/`, |
| 74 | not in git. No outside model weights were downloaded or used. |
| 75 | |
| 76 | ## Source composition |
| 77 | |
| 78 | Composition order is `om2`, SHA layout, CPU ollm with its main renamed `wpollm`, |
| 79 | SHA functions, then wpatch. Layouts must precede the first function at this pin. |
| 80 | Only one `om2` is emitted; SHA `export fn` becomes `fn`. On non-note lines the |
| 81 | mechanical renames are: |
| 82 | |
| 83 | ```text |
| 84 | kinit -> wskinit iv -> wsiv sched -> wssched |
| 85 | rounds -> wsround compress -> wscomp run -> wsrun |
| 86 | blocks -> wsblks finish -> wsfin tobuf -> wstobuf |
| 87 | absorb -> wsabsb |
| 88 | ``` |
| 89 | |
| 90 | The exact unified source transformation is retained in `sha256.diff`. `wpbuild.om` writes it again as |
| 91 | `OUT/sha256.diff` on every build; only the two header lines (paths and times) change. The pinned SHA source digest is |
| 92 | `dbf002dd6aa36585632b9d01d98ac3f0bd2fa0f0475082940de53638847994bb`. |
| 93 | The compiler digest is |
| 94 | `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. |
| 95 | |
| 96 | The tool-directory `.crumb` this lane first generated is not part of the change: crumbs were retired |
| 97 | (Drake, 2026-11-08), and the tool's purpose is in `tools/omegallm/wpatch/README.md`. `review-crumb.log` |
| 98 | records that earlier crumb operation as history only. No language extension or existing harness |
| 99 | pin/guide behavior changed; tool-specific format and usage documentation is included in this change. |