interplane.Get Omega
Read in your language

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

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
4D=~/handoffs/omega-llm-20261101/v1-data
5P=/dev/shm/ollm-bf/build-gb10/ollm-gb10
6L0=/tmp/gk/r7/ckL0.bin
7cd /dev/shm/ollm-bf/chip/t1 || exit 2
8run() {
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}
20for r in 1 2 3; do
21 run prof-f32-$r.txt $L0 gprof 3
22 run prof-bf-$r.txt $L0 gprofb 3
23done
24cp $L0 ck.bin
25run tb-0-250.txt ck.bin gtrainb 250 250
26run ge-250.txt ck.bin geval
27cp ck.bin ck250.bin
28run tb-250-2000.txt ck.bin gtrainb 2000 250
29run ge-2000.txt ck.bin geval
30exit 0