Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-train/blob/main/evidence/OMEGALLM/gpu-bf/t1/run.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / evidence / OMEGALLM / gpu-bf / t1 / run.sh` 30 lines ยท 1134 bytes Raw Blame History 1 #!/bin/sh 2 # BF16 window bf-t1: per-kernel profile f32 vs BF16 (alternating, 3 rounds), then gtrainb from the 3 # rung-7 start checkpoint for 0 -> 250 -> 2000 with a geval after each leg 4 D=~/handoffs/omega-llm-`20261101`/v1-data 5 P=/dev/shm/ollm-bf/build-gb10/ollm-gb10 6 L0=/tmp/gk/r7/ckL0.bin 7 cd /dev/shm/ollm-bf/chip/t1 || exit 2 8 run() { 9 o=$1; c=$2; shift 2 10 { echo "binary: $(sha256sum $P | cut -c1-64)"; echo "ck: $(sha256sum $c | cut -c1-64)"; echo "cmd: $*" 11 s=$(date -u +%s%N) 12 case $1 in 13 gprof|gprofb) timeout 600 $P $1 $c $D/train.tok $2 2>&1 ;; 14 gtrainb) timeout 1500 $P gtrainb $c $D/train.tok $2 $3 2>&1 ;; 15 geval) timeout 600 $P geval $c $D/held.tok 2243 $D/merges4096.bin 2>&1 ;; 16 esac 17 echo rc=$?; echo wall_ns=$(( $(date -u +%s%N) - s )) 18 [ "$1" = gtrainb ] && echo "ck_after: $(sha256sum $c | cut -c1-64)"; } > $o 19 } 20 for r in 1 2 3; do 21 run prof-f32-$r.txt $L0 gprof 3 22 run prof-bf-$r.txt $L0 gprofb 3 23 done 24 cp $L0 ck.bin 25 run tb-0-250.txt ck.bin gtrainb 250 250 26 run ge-250.txt ck.bin geval 27 cp ck.bin ck250.bin 28 run tb-250-2000.txt ck.bin gtrainb 2000 250 29 run ge-2000.txt ck.bin geval 30 exit 0