okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221bench: Strata vs llama.cpp v0.6.0 head-to-head script and results (3060, P100, 5070 one round)e2de691c7

main
534 B12 linesraw
1#!/bin/bash
2# usage: driver.sh ROUNDS "cfg1 cfg2 ..."  -- one flock job per (round, config); alternate order each round
3cd /data/1402-h
4R=$1; shift
5CFGS=($1)
6for ((r=0;r<R;r++)); do
7  if (( r % 2 == 1 )); then ORDER=($(printf '%s\n' "${CFGS[@]}" | tac)); else ORDER=("${CFGS[@]}"); fi
8  for c in "${ORDER[@]}"; do
9    flock /data/gpu.lock timeout 1790 /data/venv/bin/python bench_vs_llama.py run --machine res/$MACH --out res --rounds 1 --start-round $((r+10)) --configs $c >> drive.log 2>&1
10  done
11done
12echo DRIVER-DONE >> drive.log