Download scripts/run_tiny_matrix.sh from ramachandrajoshi/LoopedPhai-A1-35B: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/ramachandrajoshi/LoopedPhai-A1-35B/resolve/main/scripts/run_tiny_matrix.sh
- Command line
-
hf download hf://ramachandrajoshi/LoopedPhai-A1-35B/scripts/run_tiny_matrix.sh
-
curl -L -o run_tiny_matrix.sh https://huggingface.co/ramachandrajoshi/LoopedPhai-A1-35B/resolve/main/scripts/run_tiny_matrix.sh
1.35 kB
| # Runs the vLLM plugin check matrix on the tiny model; one vLLM process per config. | |
| set -u | |
| cd "$(dirname "$0")/.." | |
| OUT=${1:-runs/tiny-matrix} | |
| PY=${PY:-.venv/bin/python} | |
| M=${MODEL:-runs/tiny-qwen35moe} | |
| mkdir -p "$OUT" | |
| run() { # name, env..., -- args | |
| local name=$1; shift | |
| echo "[$(date +%T)] start $name" | |
| env "$@" timeout 900 $PY scripts/vllm_probe.py --model $M --out "$OUT/$name.json" ${EXTRA:-} > "$OUT/$name.log" 2>&1 \ | |
| && echo "[$(date +%T)] ok $name" || echo "[$(date +%T)] FAIL $name (see $OUT/$name.log)" | |
| } | |
| L=LoopedQwen3_5MoeForCausalLM | |
| EXTRA="" run base X=1 | |
| EXTRA="" run base2 X=1 | |
| EXTRA="--arch $L" run t1 LOOPED_NUM_PASSES=1 | |
| EXTRA="--arch $L" run t3none LOOPED_NUM_PASSES=3 | |
| EXTRA="--arch $L" run t3rand LOOPED_NUM_PASSES=3 LOOPED_ADAPTER=runs/tiny-adapter-rand | |
| EXTRA="--arch $L --eager" run t3rand_eager LOOPED_NUM_PASSES=3 LOOPED_ADAPTER=runs/tiny-adapter-rand | |
| [ -n "${QUICK:-}" ] && { echo "[$(date +%T)] matrix done"; exit 0; } | |
| EXTRA="--arch $L --batch-repeat 3" run t3rand_batch LOOPED_NUM_PASSES=3 LOOPED_ADAPTER=runs/tiny-adapter-rand | |
| EXTRA="--arch $L" run t5rand LOOPED_NUM_PASSES=5 LOOPED_ADAPTER=runs/tiny-adapter-rand | |
| EXTRA="--arch LoopedQwen3_5MoeForConditionalGeneration" run t3rand_vl LOOPED_NUM_PASSES=3 LOOPED_ADAPTER=runs/tiny-adapter-rand | |
| echo "[$(date +%T)] matrix done" | |