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/aien-sovereign-core-mv/blob/main/docs/inference/evidence/own30b-omega4799-20261015/pkv-run.sh # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. 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 `aien-sovereign-core-mv / docs / inference / evidence / own30b-omega4799-20261015 / pkv-run.sh` 23 lines ยท 1847 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # #514 persistent-KV chip items 1-4 (2a/2b) on the omega `4799f9eb` pin bump. Same steps as 3 # docs/inference/evidence/pkv514-chip-`20261014`/run-all.sh; item 5 (two 30B processes, ~71 GB) is 4 # not run: the GPU is shared with the MAX 8B experiment and MemAvailable is ~71 GB. 5 # Each step under its own quietlock hold; nothing is killed. 6 set -u 7 R=$HOME/workspace/sc-pinbump 8 E=${E:?evidence dir} 9 T=${T:?kv_persist_chip test binary} 10 BIN=$HOME/handoffs/pin-bin-`afe59ae1`/aien-serve-http 11 export OWN30B_MODEL_DIR=$HOME/models/qwen3-30b-a3b-instruct-2507-fp8 12 mkdir -p "$E" 13 { 14 echo "commit $(git -C $R rev-parse HEAD) dirty_files=$(git -C $R status --porcelain | grep -v '^?? docs/inference/evidence/' | wc -l)" 15 echo "binary sha256 $(sha256sum $BIN | cut -d' ' -f1)"; echo "test sha256 $(sha256sum $T | cut -d' ' -f1) ($T)" 16 echo "omega $(git -C $R/target/pins/omega rev-parse HEAD) driver $(nvidia-smi --query-gpu=driver_version --format=csv,noheader) kernel $(uname -r)" 17 echo "start $(date -u +%FT%TZ)"; grep MemAvailable /proc/meminfo 18 } > "$E/ground.txt" 19 step() { local name=$1; shift; echo "== $name $(date -u +%T)"; quietlock hold --owner PINBUMP --minutes 20 --reason "PKV chip $name on omega `4799f9eb`" -- "$@" > "$E/$name.log" 2>&1; local rc=$?; echo "$name rc=$rc" | tee -a "$E/rc.txt"; grep -E "^SNAP|^test |test result|panicked|PASS|FAIL|VERDICT" "$E/$name.log" | head -40; } 20 step item1-3-4-roundtrip env PKV_CHIP_SCRATCH=/tmp $T --ignored --exact fused_cache_round_trip_cost_and_restore_latency_on_the_chip --nocapture 21 step item2a-inprocess-restore $T --ignored --exact restored_turn_two_equals_the_uninterrupted_turn_two_on_the_chip --nocapture 22 step item2b-chip-check env PKV_CHECK_PORT=18098 PKV_CHECK_EPHEMERAL_KEY=1 $R/scripts/own30b-pkv-chip-check.sh $E/chip-check $BIN 23 echo "end $(date -u +%FT%TZ)" >> "$E/ground.txt"