interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / q38-stress-gb10-20261120T143359Z / run.sh

35 lines · 1588 bytes Raw Blame History
1#!/bin/bash
2set -euo pipefail
3out=$1
4cd "$out/source"
5test "$(git rev-parse HEAD)" = 371a882a5dc8509809abd9d4bbdf1316963f9d51
6test -z "$(git status --porcelain)"
7printf '%s CLAIM Codex Q38 and attention stress, 371a882a5, exclusive GPU and quiet timing window, 15 minute lease. Contact via board.\n' "$(date -u +%FT%TZ)" >> ~/handoffs/BOARD.md
8spark-window open codex-q38-stress-371a882a5 --gb10 exclusive --quiet exclusive --lease 15 --wait > "$out/window.txt"
9wid=$(spark-window id)
10monitor=
11cleanup() {
12 if [ -n "$monitor" ]; then kill "$monitor" 2>/dev/null || true; wait "$monitor" 2>/dev/null || true; fi
13 spark-window close "$wid" > "$out/close.log"
14 cp ~/yardsticks/windows/"$wid"/{open,close}.json "$out/"
15 printf '%s RELEASE Codex Q38 and attention stress %s.\n' "$(date -u +%FT%TZ)" "$wid" >> ~/handoffs/BOARD.md
16}
17trap cleanup EXIT
18nvidia-smi --query-gpu=timestamp,utilization.gpu,clocks.sm,temperature.gpu,power.draw --format=csv,nounits -l 1 > "$out/telemetry.csv" &
19monitor=$!
20run() {
21 name=$1; shift
22 printf '%s %s start\n' "$(date -u +%FT%TZ)" "$name" >> "$out/results.txt"
23 set +e
24 spark-window run /usr/bin/time -v -o "$out/$name.time" "$@" > "$out/$name.log" 2>&1
25 code=$?
26 set -e
27 printf '%s %s exit %d\n' "$(date -u +%FT%TZ)" "$name" "$code" >> "$out/results.txt"
28 return "$code"
29}
30run graph ./build/gpu_q38_graph_test
31sleep 10
32run stroke ./build/gpu_q38_stroke_exact_test
33sleep 10
34run stress "$out/q38_stress_bench"
35for h in 64 128; do run "attention-$h" ./build/gpu_attention_test --hd "$h" --out "$out/attention-$h.json"; done