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-REQUAL-MAIN-710d438c-20261015 / omega-gates.sh
| 1 | #!/bin/bash |
| 2 | # omega chip gates at omega main (worktree ~/workspace/omega-requal-main), pinned physics. One quietlock hold (<=20 min) |
| 3 | # per gate, each under /tmp/aien-gb10.lock. Nothing is killed or timed out. Evidence outside the worktree (the gate |
| 4 | # scripts record `git status` dirtiness), copied into the omega evidence PR afterwards. |
| 5 | set -u |
| 6 | O=$HOME/workspace/omega-requal-main |
| 7 | P=$HOME/workspace/pkv514-pins/physics |
| 8 | E=$HOME/workspace/requal-0c63/omega-gates |
| 9 | mkdir -p "$E" |
| 10 | S=$E/summary.txt |
| 11 | echo "omega $(git -C $O rev-parse HEAD) dirty=$(git -C $O status --porcelain | wc -l) physics $(git -C $P rev-parse HEAD) dirty=$(git -C $P status --porcelain | wc -l) start $(date -u +%FT%TZ)" >> "$S" |
| 12 | g() { # g NAME CMD... (run from the omega worktree) |
| 13 | local name=$1; shift |
| 14 | local t0; t0=$(date -u +%FT%TZ) |
| 15 | ( cd "$O" && quietlock hold --owner OWN30B --minutes 20 --reason "omega gate $name at omega main" -- flock /tmp/aien-gb10.lock "$@" ) > "$E/$name.out" 2>&1 |
| 16 | local rc=$? |
| 17 | echo "$name rc=$rc start=$t0 end=$(date -u +%FT%TZ) verdict: $(grep -E 'PASS|FAIL|FAILED_AS_EXPECTED|UNEXPECTED' "$E/$name.out" | tail -1)" >> "$S" |
| 18 | } |
| 19 | g bf16_gemv tools/run_gpu_bf16_gemv_chip.sh "$E/bf16_gemv" "$P" |
| 20 | g cmdlist tools/run_gpu_cmdlist_chip.sh "$E/cmdlist" "$P" |
| 21 | g decode_attn tools/run_gpu_decode_attn_chip.sh "$E/decode_attn" "$P" |
| 22 | g decode_graph tools/run_gpu_decode_graph_chip.sh "$E/decode_graph" main "$P" |
| 23 | g decode_graph_red tools/run_gpu_decode_graph_chip.sh "$E/decode_graph_red" red "$P" |
| 24 | g decode_graph_cached tools/run_gpu_decode_graph_chip.sh "$E/decode_graph_cached" cached "$P" |
| 25 | g fp8 tools/run_gpu_fp8_chip.sh "$E/fp8" "$P" |
| 26 | g fp8_v2 tools/run_gpu_fp8_v2_chip.sh "$E/fp8_v2" "$P" |
| 27 | g fp8gemm tools/run_gpu_fp8gemm_chip.sh "$E/fp8gemm" "$P" |
| 28 | g l2d_barrier tools/run_gpu_l2d_barrier_chip.sh "$E/l2d_barrier" "$P" |
| 29 | g l2d_prefetch tools/run_gpu_l2d_prefetch_chip.sh "$E/l2d_prefetch" "$P" |
| 30 | g matmul_api tools/run_gpu_matmul_api_chip.sh "$E/matmul_api" "$P" |
| 31 | g prefill_attn tools/run_gpu_prefill_attn_chip.sh "$E/prefill_attn" "$P" |
| 32 | g router tools/run_gpu_router_chip.sh "$E/router" "$P" |
| 33 | g tcgemm tools/run_gpu_tcgemm_chip.sh "$E/tcgemm" "$P" |
| 34 | g attention env PHYSICS_DIR="$P" tools/run_gpu_attention_chip.sh "$E/attention" |
| 35 | g cut4b env PHYSICS_DIR="$P" tools/run_gpu_cut4b_chip.sh "$E/cut4b" |
| 36 | g elementwise env PHYSICS_DIR="$P" tools/run_gpu_elementwise_chip.sh "$E/elementwise" |
| 37 | g reconv env PHYSICS_DIR="$P" tools/run_gpu_reconv_chip.sh "$E/reconv" |
| 38 | g l1g env PHYS="$P" OUT_DIR="$HOME/workspace/requal-0c63/l1g-build" tools/run_l1g_chip.sh "$E/l1g" qmma pfgemm qgemm |
| 39 | echo "end $(date -u +%FT%TZ)" >> "$S" |