okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
2b36e8a02
main
1# A real tuning sweep, end to end, against a stub engine 2# repo: 64fca7e172daa6ec3f811ff4e6a5dfc573b6fe16 3 4# The stub speaks the real serve protocol (READY/PP/T/DONE) and makes its decode speed depend 5# on one flag, so the sweep has something real to find. It is NOT a model: its numbers say 6# nothing about any hardware. It exists so the sweep machinery is exercised without weights, 7# which do not fit this Mac. 8 9$ strata tune run --engine tests/tuning/stub_engine.sh --backend metal --model stub \ 10 --trials 4 --repeats 3 --prompt-tokens 16 --max-new 6 \ 11 --hold ple_io --hold kv_grow --hold spec_min_p 12 13sweeping kv 14backend metal · objective generation · repeats 3 · at most 4 trials / 1800s 15job 0bd6141d39d94c9fa9aad22957d14d4d -> completed 16 baseline median 20.0 over 3 runs 17 trials 4 of 4 18 drift baseline 20.0 -> 20.0 (+0.0%) — within noise 19 recommend index 2: --kv int8 20 median 24.0 against a baseline of 20.0 21 22 measured through the engine's own serve protocol. Before trusting a recommendation, 23 re-measure the exported configuration through the full API the agent uses, and apply 24 it as a separate reviewed step. No profile has been changed. 25 report: strata tune status 0bd6141d39d94c9fa9aad22957d14d4d 26 27# And a bounded sweep that did NOT find the winner, to show the search space is disclosed: 28 29sweeping ple_io, kv, kv_grow, spec_min_p 30backend metal · objective generation · repeats 2 · at most 6 trials / 1800s 31job 6e0ffef942374f6994fb4e7003693787 -> completed 32 baseline median 20.0 over 2 runs 33 trials 6 of 6 allowed, from 96 possible combinations (a prefix of the enumeration) 34 drift baseline 20.0 -> 20.0 (+0.0%) — within noise 35 recommend none — no candidate beat the baseline outside its own spread; keeping the current configuration 36