13 KiB
The release test grid
Release 0.2.20 went out with a crash for everyone who ran an Unsloth or Q8_0 file on an NVIDIA card from the RTX 30 series up, and with several Inkling failures. No release check had ever started a model on each kind of card with each kind of model file and asked it a question. The grid does that, for every release candidate, before the release.
It is a list of cells. One cell is one release, one machine, one model and the drafter on or off. Every cell installs the release the way a user does, starts the model, talks to it, and writes down what happened. A table at the end says pass, fail or skip for every cell, with the numbers.
The scripts are in tools/release_grid/. The cell list is data (cells.json), not code.
What a cell checks
- Install and start through the user path. The release's own
install.shgoes into a fresh test HOME, thenstrata launch --yes --no-tui --model-path ...starts the model. The engine comes from the release's signed feed, exactly as for a user. A cell never uses a raw engine binary. - First chat. Six fixed questions at temperature 0 (capital of Australia, 17 x 23, the symbol for gold, days in a leap year, the largest planet, "strata" backwards). No reply may be empty, and at least five answers must be right.
- 4K and 32K prompts. A text of about 4 000 and about 30 000 tokens with one sentence hidden in the middle; the model must give back the hidden code. On a slow box the 32K step is skipped, with the projected time written in the table, when it would take longer than the step budget (15 minutes by default).
- Agent session. About 10 turns with four tools (list, read, search, calculator). Fails on an empty reply, on a reply that runs to the token limit or repeats itself, on fewer than four turns answered right, and when the prompt cache is not reused from one turn to the next (the cached share of the previous turn's prompt, median over the session, must be at least 50%).
- Speed. Decode and prefill tokens per second from the server's own timings, several repeats, with the spread. Compared with the previous release on the same box: fail when the candidate is more than 5% slower beyond the spread of the two runs.
- Greedy fingerprint. A short hash of the six first-chat answers and one longer greedy reply. It must equal the previous release's, unless the change was announced (
--declared, a file ofcell-id pattern: reason).
Steps 5 and 6 need the previous release's result for the same cell. grid.py run --prev v0.2.19 runs the previous release first on the same box, in the same job, so both numbers come from the same hour and the same card state. Without --prev the speed and fingerprint rows say "not compared".
The agent session has an opt-in 30-minute version; it is not in the default list.
The cells
| Machine | Card class | Models it runs |
|---|---|---|
vast0221-3060 (rented) |
NVIDIA sm_86, RTX 3060 12 GB (a real small card: Inkling experts live in RAM) | Inkling Unsloth UD-Q4_K_XL, UD-IQ4_XS and SQ-20 first, then SQ-10; Qwen3.8-Flash-Next Unsloth UD-Q4_K_XL and the Q2_0 Strata pack |
vast0221-a6000, vast0221-3090 (rented) |
NVIDIA sm_86, 48 GB / 24 GB | Inkling UD-Q4_K_XL, UD-IQ4_XS, SQ-20; shown against the published A6000 line (see below) |
vast0221-4090b-v8, -v12, -v16 |
NVIDIA sm_89 held to an 8 / 12 / 16 GB card | Inkling UD-Q4_K_XL and SQ-20 with the experts in RAM (see "VRAM classes") |
owner-5070 |
NVIDIA sm_120, 12 GB, Windows | skipped in the runner (POSIX only); the usage suite runs by hand against a test-folder server |
z440 |
NVIDIA sm_86, 2x A4000 | skipped while its data disk has 8.8 GB free |
vast0221-4090b (rented) |
NVIDIA sm_89, RTX 4090 24 GB | Qwen UD-Q4_K_XL and Q2_0 pack; Inkling SQ-10, SQ-20 and UD-Q4_K_XL; Hy4-Flash SQ-64 (full tier) |
l620 |
NVIDIA sm_120, RTX PRO 5000 | skipped: no internet and 4 GB free; needs a staged feed and a shared model copy |
boxia-7900xt |
AMD RDNA3 (gfx1100) | Inkling UD-IQ3_XXS GGUF and SQ-10 |
boxia-6700xt |
AMD RDNA2 (gfx1031) | Inkling UD-IQ3_XXS GGUF and SQ-10 |
p620 |
AMD RDNA4 (gfx1201) | Qwen IQ3_S pack; Inkling SQ-10 |
p1006 |
Intel Arc A750 (SYCL) | Inkling UD-IQ1_S GGUF and SQ-10 |
github-b70 |
Intel Arc Pro B70 | through the GitHub runner: the coordinator pushes ci/intel-runner and starts it; grid.py planfile writes the plan it runs |
m1002 |
Apple M5 Max (Metal) | skipped until its SQ-10 download is done; runs under lockrun.py, which holds both Mac locks |
p2006 |
no discrete card; the Radeon 780M iGPU runs the HIP engine (the feed picks the rx7900 package) | Inkling SQ-10; the Q2_0 pack (full tier). The memory guard is off here: a HIP engine on this iGPU must never be killed mid-run |
Every Qwen and Inkling model runs with the drafter on (the default a user gets) and off (--drafting off). Hy4-Flash has one setting.
A skipped cell stays in the table with its reason. A box without room for a model is shown as skipped, not left out, so a gap in coverage is visible.
Priority and the published reference line
The owner's order for Inkling is Unsloth UD-Q4_K_XL, an Unsloth IQ quant (UD-IQ4_XS, UD-IQ3_XXS), then SQ-20; priority in cells.json puts them first in every plan and every job queue. On the 24 GB and 48 GB sm_86 boxes (reference in cells.json) the table adds the percentage of robertkarl/UnbiasedStrata's published RTX A6000 line for UD-Q4_K_XL (decode about 116 tok/s at 47 tokens, 112 at 4K; prefill about 2 670 tok/s at 4K) to the "why" column.
Target lines
The owner's Inkling speed targets are in cells.json (references, named by a box's targets). The table reports each cell as a percentage of its target; this is not a pass or fail rule yet.
| Class | Target |
|---|---|
| RTX 5090 | decode 500 tok/s at C1, 3000+ total at C64, prefill 10 000 tok/s |
| 8 GB VRAM + 32 GB RAM | decode at least 150 tok/s |
| 12 GB VRAM + 32 GB RAM | decode at least 300 tok/s |
| Strix Halo, Intel, DGX Spark, Metal | prefill and decode at C1 and C32 are recorded; no number yet |
C32 and C64 come from the usage suite's parallel case (--usage-parallel 1,32,64). The 8 GB cell (vast0221-4060) caps the engine's own RAM at 32 GB: the memory guard stops the server when the anonymous memory of the processes started from the cell's HOME passes the cap, and the cell fails with that reason.
VRAM classes
Inkling is a mixture of experts, so a 17.6 GB UD-Q4_K_XL or a 19.3 GB SQ-20 runs on an 8, 12 or 16 GB card with the experts in RAM. The grid never skips "big file on a small card". It runs the real small card where it has one (RTX 3060 12 GB), and otherwise a bigger card held to a smaller class: a cell with vram_class_gib starts vram_hog (an own process that holds the extra memory, built with nvcc from vram_hog.cu, stopped by the runner only), then starts the model the normal way, so the Terminal's planner sees an 8, 12 or 16 GB card. The result keeps the engine's expert split lines (experts in VRAM / RAM), the cache hit lines of the engine log and the server's own status keys beside the speed. A cell fails for "does not fit" only when the engine cannot start with the experts offloaded; the reason then names the RAM the box had.
The usage suite
tools/release_grid/usage/usage_suite.py is a standalone runner against any OpenAI-compatible strata serve endpoint (other lanes use it too). Everything goes through the HTTP API, streamed so the time to first token is real; nothing uses --bench. The cases, in the order of the owner's list: coding (write a function, fix a bug, edit a 300-line file with a diff, explain code; the code is run), an agent loop of 15 to 25 turns with read_file, write_file, run_tests and search on a small repo with six bugs, vision (describe a drawn scene, read a drawn screenshot, read a drawn bar chart, compare two drawings; the pictures are drawn by the script, no personal or downloaded images), a long document of about 32K and 64K tokens, chat at thinking levels low, medium and high, and 1, 2, 4 and 8 parallel clients with their own secret words (cross-talk, stalls, throughput). Per case it records prefill tok/s, decode tok/s, time to first token, cached tokens and the counts of empty, looping and truncated replies, with pass or fail.
python tools/release_grid/usage/usage_suite.py --url http://127.0.0.1:8080 --out usage.json --md usage.md
python tools/release_grid/grid.py run --cand v0.2.20 --boxes vast0221-4090b --models ink-sq20 --usage only # inside a grid cell, after a user-path install
The vision case needs a server started with --vision on; without a picture reader it is a skip with that reason. Context: the 64K document needs a 64K context (--usage sets it).
How to run it
All commands run on the owner PC and start nothing heavy there; every engine run goes through jobq on a test box with that box's lock.
python tools/release_grid/grid.py plan --cand v0.2.21-rc1=<feed> --prev v0.2.20 # what would run
python tools/release_grid/grid.py fetch --boxes vast0221-3060 # download pinned models where the cell says `fetch`
python tools/release_grid/grid.py run --cand ... --prev v0.2.20 --boxes p620,p1006 --work OUTDIR
python jobq.py wait <job id> # for each job id it prints
python tools/release_grid/grid.py collect --cand ... --prev v0.2.20 --work OUTDIR
python tools/release_grid/grid.py summary --cand ... --prev v0.2.20 --work OUTDIR # summary-<label>.md and .json
A box without DNS (p620, l620) cannot reach the release folder: grid.py stage --cand v0.2.20 --boxes p620 copies the files its card class needs (install.sh, the signed feed, the Terminal and the engine packages of its variant) to <grid_dir>/feeds/<label>/, and the runner serves that folder from a loopback thread.
A release is a tag (v0.2.20: the GitHub release folder is its feed) or LABEL=FEED, where FEED is a URL, or a folder on the box that holds a test-signed feed (add --trust <test-trust.json on the box>). That is how a release candidate that is not published yet goes through the grid.
run makes one jobq job per cell (the previous and the candidate release back to back), so a box's lock is free again between cells and the other work on the box is not held up for hours.
Models and disk
models.lock.json pins every model file by size and SHA-256. It is generated by fetch_models.py pin from the tables the product itself trusts (terminal/setup.py, inkling_family.py, hy4_family.py), so the grid checks the same bytes setup checks. fetch downloads with resume and deletes any file whose SHA-256 differs. It refuses to start when the disk would be left with less than 25 GB.
A shared copy another lane holds can vanish (INKOTHER replaced a GGUF on boxia while the grid was queued). The runner checks that every linked file exists and has the pinned size and says so plainly; ln -f of the file into <grid_dir>/models/ keeps it alive without using disk (a hard link), and the first thing to do on a box with a shared copy.
Several boxes are nearly full (boxia 7 GB free, p620 5 GB, l620 4 GB, z440 9 GB). A cell there points at a copy another lane already holds and the grid hard-links it into its own folder (no copy, nothing deleted). A box with no such copy gets a skip with the reason.
Box rules the runner keeps
- One engine at a time, under the box's jobq
gpulock. On the Mac the job is wrapped inlockrun.py, which takes both locks and runs a watchdog. - A memory guard runs beside every model: below the RAM floor, or when swap grows (on boxia by more than 30 MiB, the lender's guard stops at 64 MiB), it stops the server with
strata launch --stopand the cell fails with the reason. - Everything the grid writes is under
<grid_dir>on the box (/workspace/grid0221,/data/grid0221,~/grid0221). Scripts go into a newbin-<hash>folder each time, never over a script a job is running. - Only the server the cell started is stopped, with Strata's own
launch --stop.
How long it takes
Times from the dry run on 0.2.20 (2026-11-23) are in the results file; the budget per cell is 2 hours (2.5 on the slow profile), and most cells on a fast GPU take 10 to 25 minutes with the engine already installed. A cell is dominated by loading the model (a 100 GB Unsloth file read from disk on a 12 GB card takes many minutes) and, on the Intel and CPU boxes, by decode speed of 2 to 5 tokens per second. The first cell on a box also downloads the Terminal and the engine package (about 1 GB). A whole pass over every box is a few hours of wall time because the cells on different boxes run side by side.
What the grid does not cover
- Windows (the owner PC, Strix): the runner is POSIX only.
- Two-card cells (z440, boston): one engine on one card per cell.
- Cards the lab does not have (Pascal, Volta, Turing, RDNA1, Arc B-series other than through the runner).
- Quality beyond the six questions and the needle: that is BASE-05 and the quality gates.
- The desktop app: the app host API is not driven yet; the Terminal path is the same engine start the app uses.