okami.mom/strata

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

Niko1221Merge f-clean-3 (321794636): docs and history (cleanup step 3, items 3.0-3.10); release manifest and capability table with checks, history/ with pointers, link check, tools/ split, bench index; owner OK'd the wording 11-082b36e8a02

main
1.2 KiB23 linesraw
1# Tuning through the App Host HTTP API
2# repo: 79ead84224f6b6d982b9ca71b02f6a4174cb55e3
3# The job contract is Strata Control's (strata_control/tuning.py), driven through 'strata tune'.
4# The plan is computed from the SELECTED ENGINE BINARY's own --help output, so a sweep cannot
5# be offered a dimension the engine would refuse.
6
7POST /api/tune/plan   {engine, backend, model, objective?, trials?, repeats?}
8GET  /api/tune/jobs   recorded jobs, newest state
9GET  /api/tune/job?id=<id>   one job's durable record and report
10
11# Observed, metal backend against the real built engine:
12#   searches: ple_io, kv, kv_grow, spec_min_p
13#   excluded: 7 dimensions, each with a reason
14#   flags read from the binary: true
15
16# Observed, cuda backend against the SAME (Metal) binary:
17#   vram_reserve -> the engine binary does not accept --vram-reserve-mib
18#   pcie_frac    -> the engine binary does not accept --pcie-frac
19#   (the remaining CUDA dimensions are offered because this binary does accept their flags,
20#    which is the check doing its job rather than trusting the backend label)
21
22# There is deliberately no run route: a sweep needs a measurement harness that boots the
23# engine per candidate, and a fabricated measurement is worse than none.