omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / OWN30B-CUT0-2-25dd7c1 / run_chip.sh
| 1 | #!/bin/sh |
| 2 | # OWN-30B cuts 0 and 2 chip window. Run as: flock /tmp/aien-gb10.lock sh evidence/OWN30B-CUT0-2-25dd7c1/run_chip.sh |
| 3 | # One lock hold, one memory state: Cut 0 matmul baseline x3, attention hd128 battery (gqa8 = 32q/4kv), Cut 2 window gate x3. |
| 4 | set -u |
| 5 | E=evidence/OWN30B-CUT0-2-25dd7c1 |
| 6 | SHAPES="1,2048,5120;1,4096,2048;1,2048,1536;1,768,2048;1,2048,12288;1,768,16384;1,2048,151936" |
| 7 | { |
| 8 | echo "omega_sha=$(git rev-parse HEAD)" |
| 9 | echo "omega_tree_dirty_lines=$(git status --porcelain | wc -l)" |
| 10 | echo "physics_lock=$(cat physics.lock)" |
| 11 | echo "physics_dir=$HOME/workspace/physics-own30b physics_sha=$(git -C $HOME/workspace/physics-own30b rev-parse HEAD)" |
| 12 | for b in gpu_matmul_api_test gpu_attention_test gpu_moe_window_test libomega_gpu.a; do echo "binary_sha256 $b $(sha256sum build/$b | cut -d' ' -f1)"; done |
| 13 | echo "settings spin_us=2000 cta_budget=1024 (the serving daemon defaults) shapes=$SHAPES" |
| 14 | echo "start=$(date -u +%FT%TZ)" |
| 15 | } > $E/manifest.txt |
| 16 | { nvidia-smi; uname -a; free -g; } > $E/device.txt 2>&1 |
| 17 | for r in 1 2 3; do |
| 18 | OMEGA_GPU_MATMUL_SHAPES="$SHAPES" ./build/gpu_matmul_api_test --timing --spin-us 2000 --cta-budget 1024 --out $E/matmul-baseline-r$r.json > $E/matmul-baseline-r$r.log 2>&1 |
| 19 | echo "matmul-baseline-r$r rc=$? end=$(date -u +%FT%TZ)" >> $E/manifest.txt |
| 20 | done |
| 21 | ./build/gpu_attention_test --hd 128 --spin-us 2000 --out $E/attention-hd128.json > $E/attention-hd128.log 2>&1 |
| 22 | echo "attention-hd128 rc=$? end=$(date -u +%FT%TZ)" >> $E/manifest.txt |
| 23 | for r in 1 2 3; do |
| 24 | ./build/gpu_moe_window_test --spin-us 2000 --cta-budget 1024 --out $E/moe-window-r$r.json > $E/moe-window-r$r.log 2>&1 |
| 25 | echo "moe-window-r$r rc=$? end=$(date -u +%FT%TZ)" >> $E/manifest.txt |
| 26 | done |
| 27 | echo "end=$(date -u +%FT%TZ)" >> $E/manifest.txt |