Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/evidence/amd-speed-20261114/raw/amd-launch-gap/card/bundle4/gap-run4.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / amd-speed-20261114 / raw / amd-launch-gap / card / bundle4 / gap-run4.sh` 45 lines · 2860 bytes Raw Blame History 1 #!/bin/sh 2 # Launch-gap card run 4: buffer-placement hypotheses. Strictly interleaved cycles (1 warmup + 9) of 3 # plan3, plan3a (2 MiB buffer placement), plan3v (token cell in VRAM) and HIP graph; then the plan3v 4 # altered-weights control. 5 G=/workspace/gap4 6 L=$G/logs 7 mkdir -p $L 8 exec > $G/run.log 2>&1 9 set -x 10 while ! test -f $G/bin-upload.json; do sleep 5; done 11 echo "`657db853484df0f6ad1a2ac861522f16cce5542283201b53d60b4924cb16c3be` $G/bin-new/omega-launch" | sha256sum -c || exit 1 12 while ! grep -q PRE_DONE $G/pre.log; do sleep 5; done 13 grep -q 'PREPARE_RC=0' $G/pre.log || { echo PREPARE_FAILED; exit 1; } 14 { date -u +%FT%TZ; uname -a; rocminfo 2>/dev/null | grep -E 'Marketing Name|Name: +gfx' | head -4; } > $L/card.txt 2>&1 15 cd $G/CUDApp/evidence/amd-qwen38-native-`20261113` 16 export AMDSERVE_WEIGHTS=/tmp/qwen3.8-27b-fp8 17 mkdir -p out 18 python3 oracle/emit-plan.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" out/real2.plan --capacity=131072 --fixture-json=oracle/lighthouse256.json; echo "EMIT_RC=$?" 19 python3 oracle/check-plan.py out/real2.plan "$AMDSERVE_WEIGHTS"; echo "CHECK_RC=$?" 20 python3 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=$?" 21 python3 $G/gap-tokvram.py out/real2.plan out/real2v.plan; python3 $G/gap-tokvram.py out/real2-controls.plan out/real2v-controls.plan 22 sha256sum out/*.plan out/code/*.hsaco > $L/plan-and-code.sha256 23 cd out 24 for mode in plan3 plan3a; do sed "s/^omega-launch plan /omega-launch $mode /" real2.plan.cmd > cmd-$mode.sh; done 25 sed "s/^omega-launch plan real2.plan /omega-launch plan3v real2v.plan /" real2.plan.cmd > cmd-plan3v.sh 26 sed "s/^omega-launch plan real2-controls.plan /omega-launch plan3v real2v-controls.plan /" real2-controls.plan.cmd > cmdc-plan3v.sh 27 grep -c "plan3v real2v" cmd-plan3v.sh cmdc-plan3v.sh 28 cp real2.plan.cmd cmd-*.sh cmdc-*.sh $L/ 29 omega() { echo "$1 start $(date -u +%FT%T.%NZ)"; PATH="$G/bin-new:$PATH" sh "$2" > $L/omega-$1.txt 2> $L/omega-$1.err; echo "$1 rc=$?"; } 30 hip() { echo "$1 start $(date -u +%FT%T.%NZ)"; (cd .. && python3 $G/gap-hip.py oracle/driver-real2.py "$AMDSERVE_WEIGHTS" oracle/lighthouse256.json $L/hip-$1.json 131072 > $L/hip-$1.txt 2>&1); echo "$1 rc=$?"; } 31 for c in warmup c1 c2 c3 c4 c5 c6 c7 c8 c9; do 32 omega new-plan3-$c cmd-plan3.sh 33 omega new-plan3a-$c cmd-plan3a.sh 34 omega new-plan3v-$c cmd-plan3v.sh 35 hip graph-$c 36 echo "ROUND_DONE $c" 37 done 38 omega control-new-plan3v cmdc-plan3v.sh 39 echo MAIN_DONE 40 cd $G 41 python3 gap-verdict.py $L published-ids.json > $L/verdict.txt 2>&1; echo "VERDICT_RC=$?" 42 cp pre.log run.log gap-*.sh gap-*.py published-ids.json $L/ 2>/dev/null 43 cd $L && sha256sum $(ls | grep -v SHA256SUMS) > SHA256SUMS 44 cd $G && tar czf gap-evidence.tar.gz logs && sha256sum gap-evidence.tar.gz > gap-evidence.tar.gz.sha256 45 echo RUN_DONE