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 / gpu-r9 / run / leg.sh
| 1 | #!/bin/sh |
| 2 | # one rung-9 leg: gtrainb (BF16, CONTRACT-BF16 7) to the next stop, then geval of the saved checkpoint |
| 3 | D=/home/drakestapleton/handoffs/omega-llm-20261101/v1-data |
| 4 | B=/tmp/gk/r9/ollm-gb10 |
| 5 | S=3000 |
| 6 | cd /tmp/gk/r9/run || exit 2 |
| 7 | cur=$(grep -h '^T ' train.txt 2>/dev/null | tail -n 1 | cut -d' ' -f2) |
| 8 | [ -z "$cur" ] && cur=0 |
| 9 | if [ "$cur" -eq 0 ]; then u=250; else u=$((cur + S)); fi |
| 10 | for m in 2000 9000 30000; do [ $cur -lt $m ] && [ $u -gt $m ] && u=$m; done |
| 11 | echo "from=$cur until=$u binary=$(sha256sum $B | cut -c1-16)" >> train.txt |
| 12 | date -u +%s%N >> train.txt |
| 13 | timeout 1100 $B gtrainb ck.bin $D/train.tok $u 250 >> train.txt 2>&1 |
| 14 | r=$? |
| 15 | echo rc=$r >> train.txt |
| 16 | date -u +%s%N >> train.txt |
| 17 | [ $r -ne 0 ] && exit $r |
| 18 | case $u in 2000|9000|30000) cp ck.bin ck$u.bin ;; esac |
| 19 | { echo "step=$u ck=$(sha256sum ck.bin | cut -c1-64)"; date -u +%s%N |
| 20 | timeout 300 $B geval ck.bin $D/held.tok 2243 $D/merges4096.bin 2>&1; echo rc=$?; date -u +%s%N; } >> geval.txt |
| 21 | exit 0 |