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