Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 lines
956 B
Bash
9 lines
956 B
Bash
#!/usr/bin/env bash
|
|
# usage: lap-verify.sh BIN LABEL [cold] [extra engine args...]
|
|
BIN=$1; LABEL=$2; COLD=$3; shift 3
|
|
M=~/laptop/model
|
|
export VT=$(printf 'x%.0s' $(seq 1 40))
|
|
if [ "$COLD" = cold ]; then sync; for f in $M/*.gguf $M/qwen-iq3-s-l2-v4.kar; do dd if="$f" iflag=nocache count=0 status=none; done; fi
|
|
echo "=== $LABEL $COLD $* $(date -u +%T)"; fincore $M/*.gguf $M/qwen-iq3-s-l2-v4.kar | awk '{print $1, $4}' | tr '\n' ';'; echo
|
|
/usr/bin/time -f "wall=%es user=%Us sys=%Ss maxrss=%MKB" $BIN --listen 127.0.0.1:19999 --token-env VT --shard0 $M/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf --shard1 $M/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf --gpu 0 --gpu-budget 16106127360 --context-tokens 8192 --kar-archive-file $M/qwen-iq3-s-l2-v4.kar --kar-provenance $M/qwen-iq3-s-l2-v4.kar.provenance.json --mtp-pack ~/laptop/data/mtp-rt --mtp-staging /tmp/mtp-stg --backend-mode original --expert-source mapped --verify-only "$@" 2>&1
|