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/g1/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 / g1 / run.sh` 40 lines ยท 1783 bytes Raw Blame History 1 #!/bin/sh 2 # BF16 gate window bf-g1: gbfrag, gbcmp, gbcmp2 on the product and the four mutants, then the 3 # f32 regressions of the BF16 binary against the rung-7 binary 4 D=~/handoffs/omega-llm-`20261101`/v1-data 5 G=/dev/shm/ollm-bf/build-gb10 6 P=$G/ollm-gb10 7 P7=/tmp/gk/r7/gpu2/ollm-gb10 8 CKB8=/tmp/gk/r7/ckb8.bin 9 cd /dev/shm/ollm-bf/chip/g1 || exit 2 10 run() { 11 o=$1; b=$2; c=$3; shift 3 12 { echo "binary: $(sha256sum $b | cut -c1-64)"; echo "ck: $(sha256sum $c | cut -c1-64)"; echo "cmd: $*" 13 s=$(date -u +%s%N) 14 case $1 in 15 gbfrag) timeout 900 $b gbfrag $c 2>&1 ;; 16 gbcmp|gbcmp2|gcmp2|gacmp) timeout 900 $b $1 $c $D/$2 $3 2>&1 ;; 17 geval) timeout 600 $b geval $c $D/held.tok $2 $D/merges4096.bin 2>&1 ;; 18 gtrainf) timeout 900 $b gtrainf $c $D/train.tok $2 $3 2>&1 ;; 19 esac 20 echo rc=$?; echo wall_ns=$(( $(date -u +%s%N) - s )) 21 [ "$1" = gtrainf ] && echo "ck_after: $(sha256sum $c | cut -c1-64)"; } > $o 22 } 23 run bf-frag-P.txt $P $CKB8 gbfrag 24 for m in u l o v; do run bf-frag-$m.txt $G/ollm-mut-$m-gb10 $CKB8 gbfrag; done 25 run bf-cmp-b8-P.txt $P $CKB8 gbcmp train.tok 7 26 cp /tmp/gk/r7/ckL0.bin ckL0.bin 27 run bf-cmp-L0-P.txt $P ckL0.bin gbcmp train.tok 7 28 rm -f ckL0.bin 29 for m in l o v u; do run bf-cmp-b8-$m.txt $G/ollm-mut-$m-gb10 $CKB8 gbcmp train.tok 7; done 30 run bf-c2-b8-P.txt $P $CKB8 gbcmp2 train.tok 7 31 run f32-ge-r7-30000.txt $P /tmp/gk/r7/run/ck30000.bin geval 2243 32 run f32-ge-r6-30000.txt $P /tmp/gk/r6/ck30000.bin geval 2243 33 cp /tmp/gk/r6/ck9000.bin ckv1.bin 34 run f32-t200-v1.txt $P ckv1.bin gtrainf 9200 200 35 rm -f ckv1.bin 36 run f32-c2-small-P.txt $P cks.bin gcmp2 train.dec 3 37 run f32-c2-small-P7.txt $P7 cks.bin gcmp2 train.dec 3 38 run f32-c2-v2max-P.txt $P $CKB8 gcmp2 train.tok 7 39 run f32-ga-v2-250-P.txt $P /tmp/gk/r7/g/ckg.bin gacmp train.tok 7 40 exit 0