interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / evidence / amd-speed-20261114 / raw / card-evidence / uxl-l3.sh

38 lines · 2309 bytes Raw Blame History
1# Brief section 6 Level 3, literal commands, then same-session references
2cd /workspace/uxl
3while ! grep -q PRE_DONE pre.log; do sleep 5; done
4grep -q 'PREPARE_RC=0' pre.log || { echo PREPARE_FAILED; exit 1; }
5cd CUDApp/evidence/amd-qwen38-native-20261113
6export AMDSERVE_WEIGHTS=/tmp/qwen3.8-27b-fp8
7set -x
8date -u +%FT%TZ
9mkdir out
10python3 oracle/emit-plan.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" out/real2.plan --capacity=131072 --fixture-json=oracle/lighthouse256.json; echo "EMIT_RC=$?"
11python3 oracle/check-plan.py out/real2.plan "$AMDSERVE_WEIGHTS"; echo "CHECK_RC=$?"
12sha256sum out/real2.plan
13python3 oracle/emit-plan.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" out/real2-controls.plan --controls --capacity=131072 --fixture-json=oracle/lighthouse256.json; echo "EMITC_RC=$?"
14python3 oracle/check-plan.py out/real2-controls.plan "$AMDSERVE_WEIGHTS"; echo "CHECKC_RC=$?"
15sha256sum out/real2-controls.plan
16cut -c1-700 out/real2.plan.cmd
17ls -la out out/code | head -40
18cp /workspace/uxl/launch-x86 out/omega-launch
19cd out
20for r in warmup run1 run2 run3 run4 run5; do
21 echo "$r start $(date -u +%FT%T.%NZ) $(date +%s.%N)"
22 PATH="$PWD:$PATH" sh real2.plan.cmd > /workspace/uxl/uxl-native-$r.txt 2> /workspace/uxl/uxl-native-$r.err; echo "$r rc=$?"
23 echo "$r end $(date -u +%FT%T.%NZ) $(date +%s.%N)"
24 grep -c OMEGA_STEP /workspace/uxl/uxl-native-$r.txt; tail -c 300 /workspace/uxl/uxl-native-$r.err
25done
26echo "control start $(date +%s.%N)"
27PATH="$PWD:$PATH" sh real2-controls.plan.cmd > /workspace/uxl/uxl-native-control.txt 2> /workspace/uxl/uxl-native-control.err; echo "control rc=$?"
28echo "control end $(date +%s.%N)"
29echo NATIVE_DONE
30date -u +%FT%TZ
31cd ..
32python3 oracle/lighthouse-oracle.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" oracle/lighthouse256.json graph /workspace/uxl/uxl-graph-fresh.json --capacity=131072 > /workspace/uxl/uxl-graph-fresh.txt 2>&1; echo "GRAPH_RC=$?"
33tail -3 /workspace/uxl/uxl-graph-fresh.txt | cut -c1-600
34date -u +%FT%TZ
35python3 oracle/lighthouse-oracle.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" oracle/lighthouse256.json reference /workspace/uxl/uxl-reference-fresh.json --capacity=131072 > /workspace/uxl/uxl-reference-fresh.txt 2>&1; echo "REFERENCE_RC=$?"
36tail -3 /workspace/uxl/uxl-reference-fresh.txt | cut -c1-600
37date -u +%FT%TZ
38echo L3_DONE