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 / v3 / integrated / h16 / run.sh
| 1 | #!/bin/sh |
| 2 | # CONTRACT-V3 check 5 supplement: the attention-probability bound L*H*T^2 = 2^24 reached |
| 3 | # (H 16, L 16, T 256) at a small width; product vs referee after init and after one train step. |
| 4 | set -u |
| 5 | D=/tmp/gk/v3i/h16; cd $D |
| 6 | B=/tmp/gk/v3i/b-aarch64/ollm |
| 7 | W=/tmp/wt-v3 |
| 8 | DATA=$HOME/handoffs/omega-llm-20261101/v1-data/train.tok |
| 9 | S="4096 256 16 16 32 16 1 1 100 3000 1" |
| 10 | T="/usr/bin/time -v" |
| 11 | { |
| 12 | echo "binary $(sha256sum $B | cut -d' ' -f1)" |
| 13 | echo "oracle $(sha256sum $W/tests/omegallm/oracle.py | cut -d' ' -f1)" |
| 14 | echo "data $(sha256sum $DATA | cut -d' ' -f1)" |
| 15 | } > env.txt |
| 16 | ( echo "\$ ollm init p.ck $S"; taskset -c 0 nice -n 19 $B init p.ck $S; echo "rc=$?" |
| 17 | sha256sum p.ck > p0.sha256 |
| 18 | echo "\$ ollm train p.ck train.tok 1 1"; $T taskset -c 0 nice -n 19 $B train p.ck $DATA 1 1 2> p.time; echo "rc=$?" ) > p.out 2>&1 & |
| 19 | ( echo "\$ oracle.py ollm init r.ck $S"; taskset -c 1 nice -n 19 python3 $W/tests/omegallm/oracle.py ollm init r.ck $S; echo "rc=$?" |
| 20 | sha256sum r.ck > r0.sha256 |
| 21 | echo "\$ oracle.py ollm train r.ck train.tok 1 1"; $T taskset -c 1 nice -n 19 python3 $W/tests/omegallm/oracle.py ollm train r.ck $DATA 1 1 2> r.time; echo "rc=$?" ) > r.out 2>&1 & |
| 22 | wait |
| 23 | cmp p.ck r.ck > cmp.txt 2>&1; echo "cmp rc=$?" >> cmp.txt |
| 24 | sha256sum p.ck r.ck >> cmp.txt |
| 25 | echo done > done |