- settings register and docs/SETTINGS.md: the 15 new names of the M5 Max and
Intel Arc work (opt-in / research), tools/test_settings_register.py passes
- sycl: STRATA_INK_INTELARC=1 opts into Level Zero V2 only in a build without
oneMKL (release builds link oneMKL, where V2 is the known SIGSEGV)
- intel-runner.yml: DFlash 2 comes from strata-engine/Inkling-2-Mini-DFlash2
at 04ecd36f (Inkling-2-Mini-DFlash2-mix.safetensors, 551,600,700 B,
sha256 cf7dbb08...), saved as dflash2.safetensors
Option A (owner, 2026-11-27): the Q8 attention + SF4 feed-forward mix (format strata-dflash2-q1), uploaded as one commit of the public repo strata-engine/Inkling-2-Mini-DFlash2:
04ecd36faef74e696f0a7b6b3c119264442a6234, file Inkling-2-Mini-DFlash2-mix.safetensors, 551,600,700 bytes, SHA-256 cf7dbb08560dfd99544af0cdbab2915406fc571f516b19aff0fe113b9458d387 (downloaded back
with curl -fL: same size and hash). inkling_family: DFLASH2_OWN_COMMIT is that commit and DFLASH2_OWN_COPY is "mix", so our copy is fetched first and the pinned incoai file stays the last resort; both pins are
accepted. The download size menus, docs and the drafting line state (0.99 GB -> 0.55 GB: inkling_fit.DFLASH2_GB, drafting_cmd, docs/MODELS.md). Tests: the placeholder test now pins the commit, the choice and the
URL (our copy first, the original last), the pin test of the sources, the lineup comment.
The Inkling engine (HIP now, CUDA through the residency-first drafter rule) leaves DFlash 2 out when loading it would move a model that fits whole into the
slower hybrid mode (or cut a noticeable part of the experts' room). It prints ONE line to its log, "DFlash 2 not loaded: it would move part of the model off
the card (...)", and says `--draft on` (or STRATA_INK_DFLASH2_FORCE=1) loads it anyway.
- Showing it: after READY the server reads this start's engine log (inkling_kind.veto_line); the line is printed as "[strata] DFlash 2 not loaded: ..." (what the
Terminal's start and the app's start log read) and becomes the drafting note of /metrics and the Monitor, in place of the generic "see its log for why".
`--draft off` is the person's own choice: nothing is repeated at them. `--draft on` counts as a drafter that was asked for.
- Forcing it: the word `on` of `--set draft=on` and of the Advanced screen used to read as "present", so the engine got a bare `--draft`; --draft is now a word-valued
flag (settings.WORD_VALUE_FLAGS) and `on` / `off` go through as typed. `strata launch --draft on|off` is an explicit option (`--draft` alone was ambiguous
between --drafting and --draft-vocab); the other models ignore it. The Inkling engine_args keep a `--draft on` already in the arguments.
Tests: serve/test_inkling_draft_veto_line.py, with a stub engine that prints the real line to stderr unless it is started with `--draft on` (47 passed with
the Inkling dialect and effort-tail tests, boston). docs/MODELS.md.
The Ornith catalog entry took one base figure (q36's base with the dense
part swapped to 1.85 GiB, from the reporter's Q5_K_M log) for every size.
A real start of each size with `strata launch --family ornith` (the 0.2.23
Control tree, engine 0.1.69 CUDA 13 package, RTX 3090 24 GB, the files of
the pinned revision, --max-context 32768, 2026-11-27) printed this for the
weights that stay on the card: Q4_K_M 1.65 GiB, Q5_K_M 1.85 GiB, Q6_K
2.06 GiB, Q8_0 4.40 GiB. For Q8_0 the context advice was about 2.5 GiB too
optimistic. The base is now q36's base with each size's own dense figure
(DENSE_GPU_GIB_ORNITH). The staging figures stay q36's: the same starts
printed 0.00 (Q4_K_M), 1.10, 1.23 and 1.59 GiB, all at or below them.
All four sizes loaded, answered correctly (capital of Norway, a Fibonacci
function, a time sum) and accepted MTP drafts (about 70 to 85 percent);
decode on the 3090 was 150 to 207 tok/s (Q4_K_M), 119 to 149 (Q5_K_M),
88 to 118 (Q6_K) and 55 to 65 tok/s (Q8_0). The KV figure matched the
engine (1.43 GiB per session at 32768 tokens).
Test: the per-size figures are pinned in test_ornith_catalog_7134.py.
docs/MODELS.md says what was measured.
Patch and tests of the catalog entry by eSPiYa (PR #7140)
Ornith-1.5-35B-A3B has the architecture, tensor layout, tokenizer and MTP
block of Qwen3.6-35B-A3B (qwen35moe), so it runs on the same engine path.
It is now a family of its own in the shared table: the four plain
quantizations the publisher's GGUF repository has (Q4_K_M, Q5_K_M, Q6_K,
Q8_0), pinned to one revision with sizes and SHA-256 values (checked against
Hugging Face), the picture reader, the MIT licence line, KV and fit figures
(q36's KV and state, a base figure with the dense part swapped; the staging
figures are q36's and marked as not measured for Ornith).
- `strata models import PATH --plan` reads an Ornith-named file as family
ornith with its own size; any other name stays qwen36.
- Model ids "ornith-1.5-..." are Strata ids in `strata serve` and the app's
gateway; the picture step leaves Ornith to setup like Qwen3.6; the launch
display name is the family's.
- App: Ornith is its own display group after Qwen3.6 (its title contains
"35B-A3B", which put it under Qwen3.6), with no KV choice like Qwen3.6, and
the short name "Ornith Q4_K_M".
- Docs: a section in docs/MODELS.md and the README.
- Tests: terminal/tests/terminal/test_ornith_types.py with four fixtures (the
tensor type tables read from the GGUF headers at the pinned revision),
test_ornith_catalog_7134.py (model list, run config, pictures, model ids),
app/host/tests/ornith-family.test.mjs.
Not measured by us: a load and answer of an Ornith file on our own box.
Patch and tests by eSPiYa (PR #7140)
strata_control/vision_reader.py: inkling_reader / inkling_lines / reader_arg / set_reader_arg on top of default_mode, the plain-words lines, the shared
constants (ELASTIC_IDLE_S_DEFAULT = 120). setup.py install_inkling2 resolves the reader for the card and writes --vision-reader gpu|cpu beside --vision
(--vision gpu|cpu kept as asked, with a note on a small card; no = no Vision file). strata launch settings take --vision-reader away with the Vision file
and set it for gpu / cpu. serve/inkling_kind.py: the flag goes only to an engine whose --info says vision_reader=1; a config with --vision and no flag gets
the reader this card's rule gives when the card can be read; the picture size cap and the silence allowance follow the reader the engine chose (INFO
vision_reader=gpu|cpu, else the flag, else the old backend rule). pictures.fetch says the reader for an Inkling model. Docs: DETAILS.md Images (vision), MODELS.md.
Tests: tools/test_vision_reader.py (rule at 8/12/16/24/32 GB, Mac, Intel, unified pool, forced modes, unknown card, engine constants), serve/test_inkling_vision_reader.py.
0.2.21 made the dot_x4 kernels of the native CPU expert path opt-in
(STRATA_DOT_X4=1) because a single-thread cold bench showed them slower on a
DRAM-bound row. #7075 measured the other side (2x RTX 5090, PCIe-streamed
NVFP4, 4 slots): without them warm batched decode lost ~15% and short prompt
reads ~8% against 0.1.66, and STRATA_DOT_X4=1 recovered both, while solo
decode (one token per expert) was better with them off.
The default now follows the call, as the reporter suggested and the reply on
the issue promised: on from kDotX4MinTokens = 2 tokens that share the expert in
one call, off for one token. STRATA_DOT_X4=1 forces them on for every call,
STRATA_DOT_X4=0 off for every call (exactly the 0.2.21 / 0.2.22 default),
STRATA_NO_DOT_X4 (any value) still wins. The two forms give the same bits:
dot_x4_test, and cpu_dispatch_dump hashes of every nt 1..8, whole and off-vector
row ranges, both arithmetics, identical for off / default / on / NO_DOT_X4
(zz_x4_proof.sh); pool_determinism passes in all three modes.
dot_x4_policy.hpp: dot_x4_mode() (read once) and dot_x4_enabled(mode, nt);
dot_x4_policy_test covers every case.
What the routing now does, the switches (STRATA_INKLING_KEEP_CHATS, STRATA_INKLING_KEEP_IDLE_S), the price (the chat in slot 1 decodes without drafts)
and the measured A/B on an RTX A4000 with SQ-15 (cached tokens, first-token time, decode of the chat in slot 1, drafter on and off).
Ornith-1.5-35B-A3B has the architecture, tensor layout, tokenizer and MTP
block of Qwen3.6-35B-A3B (qwen35moe), so it runs on the same engine path.
It is now a family of its own in the shared table: the four plain
quantizations the publisher's GGUF repository has (Q4_K_M, Q5_K_M, Q6_K,
Q8_0), pinned to one revision with sizes and SHA-256 values (checked against
Hugging Face), the picture reader, the MIT licence line, KV and fit figures
(q36's KV and state, a base figure with the dense part swapped; the staging
figures are q36's and marked as not measured for Ornith).
- `strata models import PATH --plan` reads an Ornith-named file as family
ornith with its own size; any other name stays qwen36.
- Model ids "ornith-1.5-..." are Strata ids in `strata serve` and the app's
gateway; the picture step leaves Ornith to setup like Qwen3.6; the launch
display name is the family's.
- App: Ornith is its own display group after Qwen3.6 (its title contains
"35B-A3B", which put it under Qwen3.6), with no KV choice like Qwen3.6, and
the short name "Ornith Q4_K_M".
- Docs: a section in docs/MODELS.md and the README.
- Tests: terminal/tests/terminal/test_ornith_types.py with four fixtures (the
tensor type tables read from the GGUF headers at the pinned revision),
test_ornith_catalog_7134.py (model list, run config, pictures, model ids),
app/host/tests/ornith-family.test.mjs.
Not measured by us: a load and answer of an Ornith file on our own box.
Patch and tests by eSPiYa (PR #7140)
The Inkling template writes `Thinking effort level: X` before the first non-system message, so a request at another level starts differently and the
engine reads the whole conversation again (reporter, RTX 3090: +10 s at 20K tokens, +29 s at 50K, +71 s at 100K).
With the config's "effort_position": "end" (until now ignored for Inkling) the history is rendered at the default level (STRATA_INKLING_EFFORT, low)
and a request at another level adds the template's own system turn `<|message_system|><|content_text|>Thinking effort level: X<|end_message|>` at the
end, right before the answer; level 0 still gets the text opener, thinking levels nothing. A request at the default level, a prefilled reply and every
config without the option render exactly as before. The strata_prefix head follows the same rule.
effort_end_args knows Inkling: it passes --tail-role-token with the id of <|message_system|> only when the engine binary has that flag. No Inkling
engine has it yet, so today the option is refused at start with a plain sentence and the level stays at the top. The engine half (a checkpoint in
front of the trailing system turn, as the main engine's #458) is NOT done; the level at the end also blends with the level at the top (reporter:
header 0.9 + tail 0.2 gave 485 thinking tokens between 253 and 712), so it stays opt-in until measured.
Tests: serve/test_inkling_effort_tail.py (real template: prefix kept across a level change, openers, prefill, config switch, nothing changes
without the option). docs/DETAILS.md.
Offered, in this order in setup, the launcher, `strata launch` and the app's model table: SQ-20, SQ-15, SQ-10, GSQ-RCO-IQ3_S, UD-Q4_K_XL.
Files and pins (strata_control/inkling_family.py, inkling_fit.py):
- SQ-20 is the re-adjusted 16 KiB-layout file Inkling-2-Mini-SQv2-20.strata (19,374,768,128 bytes, sha256 429671f8...); the Vision shard is
Inkling-2-Mini-Vision-v2.strata (636,551,168 bytes, 34a17650...), used with every pack. The shown name and the model id stay SQ-20 /
inkling-2-mini-sq-20.
- Every .strata download (packs, Vision, tokenizer files) is pinned to commit 5623ceb47d7a of strata-engine/Inkling-2-Mini-Strata (STRATA_PACK_COMMIT),
which holds both v2 files and still the 0.2.22 files.
- An install that has the old SQ-20 or the old Vision file keeps running it (model_file_in, vision_in, LEGACY_FILES), is marked "update available" in the
model table, the Terminal list and the app, and gets the new file only when the person installs again. No old file is ever deleted.
- Unsloth: UD-Q4_K_XL is the refreshed file (17,629,760,736 bytes, e6427665...) at commit 8078d149286e; the other nine quants are no longer offered,
but an install that has one keeps working and the lists show it as installed, "no longer offered" (INKLING_FAMILIES legacy_models, ModelRow.offered).
- GSQ-RCO IQ3_S (ISTA-DASLab, Apache-2.0): Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf, 11,425,259,648 bytes, sha256 8a351537..., pinned to commit
357051619a88. Planner figures (routed experts 9.52 GB, eight expert types) are read from the file's GGUF header; credit "GSQ + RCO by IST Austria
DASLab, Apache-2.0".
Drafter: DFlash 2 only, on every device. setup and update fetch dflash2.safetensors beside every Inkling model that Strata downloaded (packs and GGUFs);
no DSpark GGUF and no mtp.safetensors is fetched, passed (--dspark) or offered any more. Without the file the model starts with --draft off and
the launcher does not probe. The status word is dflash2. An old config that names the DSpark file still starts.
Also: the Terminal and `strata launch` lists carry the credit line, the no-longer-offered mark and the update mark; models.py reads SQv2 and GSQ file names;
the release grid pins follow the new tables; docs (README and translations, MODELS.md, DOCKER.md) and the DFlash 2 notice credit tjm8874.
Tests: terminal/tests/terminal/test_inkling_lineup.py (pins, order, hidden-but-installed, update offer, no DSpark fetch, DFlash 2 for every model);
the older Inkling tests follow the new tables.
- ink_attn_tc.cuh: slices per KV head = two full waves of resident blocks (85 on a 5090, 24 on a 5070; STRATA_INK_TC_ATTN_SPLITS overrides), partial buffers sized
for 96 + the tail; the runner takes the kernel for mode 0 rows up to 16 as well (the teacher-forced KL harness runs small chunks through it).
- ink_cuda_backend.cu plan_vram_reserve(): STRATA_INK_KV_FIRST=1 sets the K/V of the whole context, the DSpark state of every context token and a growth margin aside
before the experts get the rest, on cards of up to 20 GiB and one slot, with a floor of 1.5 GiB for the experts (the placement rule of f-lctx, RESULTS-LCTX.md
section 3: 64K 9.9 -> 28.5 tok/s, 128K 5.6 -> 23.0 on a 5060 Ti 16 GB). Off by default, not yet measured on the merged code.
- docs/INKLING_SM120.md: the TC_ATTN part.
- ink_attn_tc_test.cu: plain rows, bandwidth probe.
FASTQ on the 5060 Ti failed with its in-place FP8 trunk (tool calls 6/26 against 23/26 off; 24/26 with FP8_TRUNK=0), the 5090 FP8 trunk passed every
suite. The table rows of the small cards now use the 5090 FP8 cache engine (it does not start when the card has no room for the copy, and the BF16 /
Q8_ROW GEMMs run); the 5060 Ti row reserves the 5090's 768 MiB for it in the K/V sizing as a placeholder. The in-place engine stays in the tree behind
STRATA_INK_SM120_FP8_INPLACE=1 only, in no fast set, until its defect is found.
Builds on the RTX 5090 and RTX 5060 Ti hand-over branches.
FASTQ on the 5060 Ti failed with COMPACT on (tool calls 6/26 vs 23/26, MATH 27/50 vs 46/50), the 5090 fast set passed. COMPACT is no longer
in the small-card fast set (it comes back after a FASTQ pass); STRATA_INK_SM120_COMPACT=1 still asks for it by name. COMPACT_XCODE and COMPACT_KV
switch the layer 20-23 transcode and the FP8 KV cache apart; both are on when COMPACT=1 and not named. Table test and docs updated.
Builds on the RTX 5090 and RTX 5060 Ti hand-over branches.
Owner decision (option B) on top of the cap of the earlier #7133 commit, which lowered every number a client sent. Now:
- the Messages-API frontend (frontend.py) marks a request whose thinking.budget_tokens is exactly 31999 (CLIENT_DEFAULT_THINKING_BUDGET) and that carries no reasoning_budget_tokens of
its own, with strata_default_thinking_budget.
- Service.reasoning_budget lowers a number to the default budget of the level the request runs at (31,999 at high is 8,192) only for a marked request. Any other budget goes
through as before, still limited by the context and max_tokens: 20,000, 32,000, 31,998, a reasoning_budget_tokens or alias sent by a client (31,999 included), a budget with the
OpenAI route's reasoning_effort and max_completion_tokens. A request's own 0 still means no budget; the run config's own budget and other families are untouched.
- Opt-out kept: run config "inkling_budget_cap": false, or STRATA_INKLING_BUDGET_CAP=0, lets the default use the full 31,999. The once-only log line now says "the client's default
thinking budget of 31999 is held to 8192 ..." and is printed only for a held request.
Detection is by the number alone. The coding client's request headers (a beta-features list and a user-agent naming it) were not used: they were not observed in this work, a proxy
can remove or rewrite them, and the number is what makes the request slow, so a header would only narrow the rule (a 31,999 from another client would pass uncapped).
docs/DETAILS.md (inkling_budget_cap row) and docs/MODELS.md say it. serve/test_inkling_client_budget_cap_7133.py rewritten (22 tests): capped for the marked 31,999 at every level; uncapped for
20,000, 32,000, 31,998, 5,000, 100,000, every alias and a 31,999 not marked; the OpenAI reasoning_effort high with max_completion_tokens 32,000 (level default 8,192, no budget number) and
with an explicit reasoning_budget_tokens 20,000; both opt-outs; the one-number setting; the config's budget; other families; the once-only line; the default request through the
frontend; a scripted engine that thinks 12,150 tokens (cut at 8,192 for the marked default; whole for 20,000, for the opt-out; cut at 3,000 for a 3,000 budget).
From PR #7091 by @svonolfen (the switch and the measurements).
The first version of this fix reserved half of the lend regions on a drive that reads 3 GB/s or more. Measured on 2 x RTX A6000 made RAM-tight
like the reporter's PC (9 interleaved rounds, same 2170-slot / 6.3 GiB lend regions): no decode gain at 50% (median ratio 0.996 and 1.012,
run-to-run spread about 5%), cold 18K-token prefill 5 to 7% slower in every round. At 0% decode +5.5% (4 of 4 rounds) and cold 18K prefill
-17%. The reporter's own table has the same shape (decode +9%, prefill at 18K -4.6%, at 36K -0.8%). A half-way default has a cost and no
measured gain, so the default is back to the whole reservation (0.1.66 / 0.1.67 behaviour) on every drive, and the drive probe is gone.
STRATA_SPLIT_LEND_RESERVE stays as an opt-in: 0 fills the expert complement first (the order before #6583, the reporter's PR), 1..99 reserves
that percent of the borrowed slots' bytes counted from the highest slot of each stage, unset / full / 100 / anything else reserves all. The
reserved first part of every region is appended first, so the reserved slots are certain to be kept and the stages stay balanced; with the
default nothing in the placement changes. The startup line names the percent when it is not 100.
Answers do not change in any setting (the same experts are read from RAM or from the file; gate on 2 x A6000: KL 0, identical ids, noise floor 0).
docs/DETAILS.md describes the setting and the measured trade; the settings register entry is rollback / off by default; the unit tests
cover the rule (unset / auto / full / 0 / percent / bad values) and the fixture at full / 50 / 0.
Version strings only, from rel0222/int/bump_0222.py (same edit list as bump_0221.py): terminal PRODUCT_VERSION 0.2.21.2 -> 0.2.22,
app/desktop and app/host package.json and package-lock.json, Cargo.toml and Cargo.lock 0.2.21 -> 0.2.22, AGENTS.md, the bug report
template, the settings update line, tools/packaging/README.md, and the tests that pin those strings. Control and the Qwen engine are
0.1.69 (the CMake project version; the engine sources were set by the engine bump and are not touched here); Inkling CUDA is 0.1.69.
Hy4 and the non-CUDA Inkling packages stay 0.1.67 and ride on the v0.2.21 release by absolute url.
docs/data/release.json: tag v0.2.22, product and Terminal 0.2.22, Control and engines 0.1.69, and the asset list of the v0.2.22 release
(installers, 4 Control, 14 Qwen engines, 5 Inkling CUDA, feeds); "engines_from" is dropped because the engines are built in this release.
tools/release_manifest.py --write and tools/capability_table.py --write follow; both --check pass.
MIN_ENGINE in terminal/setup.py is not touched.
The minimum stays macOS 15 (nothing changed in tauri.conf.json or any check). docs/MAC.md (What you need) now says macOS 15 is supported and gives the slower
prompt reading with its number: 635 against 60 tokens a second for a 1,970-token prompt, 10.6x, measured on macOS 27 with the three switches Strata sets below macOS 26
(RESULTS-02213; no Mac with macOS 15 was available, the page says so). The same sentence is added where the minimum is stated: docs/INSTALL.md, docs/SOURCE_INSTALL.md,
docs/AI_SETUP.md, and the Apple silicon row of the capability table (docs/data/capabilities.json, docs/CAPABILITIES.md rebuilt with tools/capability_table.py --write;
--check and tools/check_links.py pass).
The engine's own default is temperature 0.0, top_p 1.0, top_k 64 (ink_serve.h), i.e. greedy for a request with no sampling field, and Control had no model-card entry for
Inkling (MODEL_CARD_SAMPLING held qwen4exp, qwen35moe and hy4flash only). Greedy picking is the classic way to loop in an agent harness.
Source of the values: the model card's generation_config.json at huggingface.co/thinkingmachines/Inkling-2-Mini, read 2026-11-25 (read only):
{"do_sample": true, "temperature": 1.0, "eos_token_id": 200006, "pad_token_id": 199999}
The README and the Unsloth GGUF page name no other sampling value (no top_p, top_k, min_p or penalty; the README only says "We recommend setting limits on output tokens and
agent turns"), so only temperature 1.0 is set, for thinking and non-thinking alike, for the arch names inkling2_loop, inkling2 and inkling2_loop_text; the engine keeps its
top_k 64 and top_p 1.0. Nothing was invented for the other fields.
Precedence is unchanged: the request, the Chat settings shared with apps, the run config's sampling block, then the card; temperature 0 asked for is still greedy. Other
families keep their cards.
docs/DETAILS.md and docs/MODELS.md say it. New tests serve/test_inkling_card_sampling_7092.py (8): the table for the three arch names, the other cards unchanged, over HTTP on
chat and Messages routes (card applied; request, shared settings and config block win; 0 stays greedy), and Service.run with the scripted Inkling engine; the inkling / sampling
/ card serve tests (282) pass.
Since 0.2.21 the default request of the client in the issue (thinking enabled, budget_tokens 31999) gave Inkling level high AND a budget of 31,999 tokens with max_new 32,000, because
Service.reasoning_budget takes the request's number before the level's own default (high 8,192): minutes of hidden thinking a step at 25 to 60 tokens a second. v0.2.20
forced level 0 for Inkling, so this is a change of 0.2.21.
reasoning_budget now lowers a number that comes from the client (reasoning_budget_tokens, which the Messages route fills from budget_tokens, and the aliases
thinking_token_budget, thinking_budget, thinking_budget_tokens) to the default budget of the level the request runs at, and never raises one: 31,999 at high is 8,192, at
low 2,048; 1,024 at low stays 1,024. STRATA_INKLING_THINKING_BUDGET (one number for every level) is the cap when set, and 0 ("no default") lifts it. A request's own 0 still
means no budget; the run config's own reasoning_budget_tokens is not a client's and is not capped; other families are untouched. The first lowered request prints one line
that names the opt-out.
Opt-out: run config "inkling_budget_cap": false, or STRATA_INKLING_BUDGET_CAP=0 (also known to the app's run-config checker). Documented in docs/DETAILS.md and
docs/MODELS.md.
New tests serve/test_inkling_client_budget_cap_7133.py (15): the cap per level, smaller numbers kept, every alias, 0, both opt-outs, the one-number setting, the config's own
budget, other families, the once-only line, that default request through the frontend (level high, budget 31999 asked, 8192 allowed, side calls with 1,024 kept) and a
scripted engine that thinks 12,150 tokens (cut at 8,192 with the cap; thinks it all without). The Inkling serve tests (80) pass; app/host run-config-check test added (runs on
a box with node_modules).
The app shows the stopping line and its hint, not the lines printed before it, so "The engine for Inkling-2-Mini could not be installed - See the line above.
Nothing was downloaded ..." pointed at nothing. setup.shape_engine_fetch now keeps what shape_engine.ensure said and puts the last line (download error,
checksum, the feed has no engine for this computer, the feed cannot be read) into the hint. New words key setup_failed_why; the old hint stays for the case
that no line was said.
shape_engine.hand_install_note names a package that somebody unpacked by hand into a wrong place, with the right one
(<components>/shapes/<shape>/engine/<package>/, engine-component.json directly inside): a package folder with an unreadable manifest, the files one folder too
deep, a shape engine in the Strata engine's own folder. It reads folder names and engine-component.json only.
docs/MODELS.md (Inkling-2-Mini): one paragraph with the right folder for hand-unpacked packages.
New tests tests/terminal/test_shape_engine_failure_reason_7119.py (9); test_shape_engine.py and test_arc_feed_models.py unchanged and passing (66).
The Qwen Metal engine compiles kernels that include <MetalPerformancePrimitives/...>, a header only macOS 26 ships, and Context::compile() ends the process
(exit 3) when a library does not build. On macOS 15 it stopped at the prompt kernels (a resident Mac: the prompt chain; a streaming Mac: the prompt GEMM that
stream_arena sets up with the arena) or at the matmul layout probe of the decode window.
Read in engine/metal at the 0.1.67 engine: every library that holds an MPP kernel (lib_prompt, lib_prompt_qsa, lib_coop_probe) is compiled behind exactly one of
STRATA_METAL_PROMPT=window (Window::prompt -> pc_setup), STRATA_METAL_PROMPT_GEMM=0 (prompt_gemm_init) and COOP_K4=0 (both coop_k4 probes, m5_layout); the other
MPP files (gdn_tprobe, mm_i8) are test programs only.
Control starts the engine with those three settings on macOS below 26, for each one the person has not set (their own environment and the run config win), and prints
one line saying why. Inkling (supports_metal4) and Hy4 (compile with a fallback) keep their own guards and are not touched. Decode kernels do not change: a GPU
without the M5 layout, which every chip a Mac below macOS 26 can have, answers COOP_K4=0 by itself.
Tests: values per macOS version, person-set values kept, the server's child_env (once-per-version line, Inkling and Hy4 and other platforms untouched), and the
engine-source reading pinned as a test. docs/MAC.md says what macOS 15 gets.
As 0.2.14.1 did (Control 0.1.60.1): the Terminal says 0.2.21.2 (strata_cli PRODUCT_VERSION), Control is 0.1.68.1 (the CMake
project version, which strata --version and a source checkout read; the Control packages get it from pack-control --version),
and the app, its installers, latest.json and every engine package stay as v0.2.21 shipped them.
Why 0.1.68.1 and not 0.1.69: the feed and the updater compare versions with feed.version_key, which pads to four numbers, so
0.1.68.1 sorts above 0.1.68 (the Control of 0.2.21.1, installed by `strata update` as "available") and below 0.1.69, which stays
free for the next engine release. A 0.1.69 Control would take that engine number (0.1.68 is already skipped as an engine number).
docs/data/release.json names terminal_version 0.2.21.2 and control_version 0.1.68.1 and lists the four 0.1.68.1 Control packages
(the 0.1.67 and 0.1.68 ones stay as rollback targets); the pages release_manifest.py and capability_table.py write, and
tools/packaging/UPDATES.md, follow; test_tui2_023_versions.py pins the new numbers.
strata-inkling reads a picture with its GPU encoder where it has one (HIP, SYCL, Metal). CUDA has none, so the engine falls
back to a CPU encoder that only downscales above 4096 x 4096 and says nothing while it works. Measured on the owner PC (6 cores,
12 threads, nothing else running, one picture, prompt to first token): 0.25 MP 15 s, 0.5 MP 32 s, 0.75 MP 55 s, 1.0 MP 74 s,
2.07 MP 334 s, 3.0 MP 743 s (about the square of the pixels from 2 MP up). The engine has no option for any of it, so Control
does two things where the reader is the CPU (the run config's backend cuda or cpu):
- It scales a picture down before it writes the file the engine reads (Pillow, same proportions, LANCZOS; JPEG stays JPEG,
else PNG) to at most 0.8 MP, where the measured reader takes about a minute. A picture at or under the cap, a 1024 x 768 one for
instance, is passed on byte for byte; a 1920 x 1080 screenshot becomes about 1190 x 670. One line in the server window names
every picture that was scaled.
- A request with pictures gets a silence allowance in StrataEngine.generate: 3 times the measured time of its pictures (the
measured table, read on a log-log line, the square beyond 3 MP) plus a minute, at most 3 hours, and never less than the
server's own engine_silence_s (the person's larger value stays). So a big picture, with the cap raised or off, is slow and
answered, not killed. One line says how long the request may stay silent.
Setting: "inkling_image_max_mp" in the run config (megapixels; 0 turns the cap off; a number above 0 sets it on every backend,
HIP, SYCL and Metal included, which have no default cap) or STRATA_INKLING_IMAGE_MAX_MP in the environment (the config wins).
A value that is not a number >= 0 stops the start with a message naming the key. Documented in docs/DETAILS.md.
Tests: the setting by backend, scaling (proportions, near the cap, JPEG / PNG / RGBA / palette, unreadable passed on, a sliver),
a picture under the cap written to the engine's folder unchanged, the allowance (follows the pixels, covers the measured time
with the margin, unmeasurable pictures count as the cap), and live starts of a fake engine that stays silent for 2.5 s: ended
without the allowance, answered with it, the person's larger silence kept.
The engine sizes the RAM for parked conversations itself when --conversation-cache-mib is not given: 40% of the
RAM free once the model is loaded, at most 8192 MiB. One conversation above about 490K tokens never fits, whatever
the RAM, so a long agent session read its whole prompt again every turn. The owner decided the budget should follow
the PC's RAM.
No engine change: at each start of an engine program that has --conversation-cache-mib (checked in the binary, as
for --conversation-cache-min-tokens), engine_args adds it from the RAM Control sees before the model loads:
40% of (free RAM - the model file - 4 GiB - the RAM floor, 2560 MiB by default), but at most a quarter of the PC's
RAM and 128 GiB, in steps of 256 MiB, and only when that is above 8192 MiB. Everything else is left to the engine
as before: a PC of 32 GiB or less, a model that fills the RAM, an unreadable RAM figure (inside a container the
memory limit counts), the options the person set (--conversation-cache-mib including 0, --prompt-cache 0,
--conversation-cache-slots 0), Hy4 and Inkling, and STRATA_NO_AUTO_CONVERSATION_CACHE=1. The engine's own gate
still refuses a park that would leave less than the floor free. The size is added after the min-tokens default so
that default is not pulled in by it. One line at the start says what was set.
Documented in docs/DETAILS.md. Tests: the sizing (big PC, quarter of the RAM, ceiling, never below the engine's
8 GiB, growth with the RAM), the arguments (what is added, what is never touched) and engine_args.
The 900 s READY deadline was one absolute time from the start of the engine. The Terminal launcher already gave
big models more, but the app and `strata serve` did not, so a model read from a slow hard disk failed with
"the engine did not report READY within 900 s" while still loading.
ENGINE_READY_S (config "engine_ready_s", STRATA_ENGINE_READY_S, default 900, 0 = no limit) now counts from the
last sign of life: a new line in the engine's log or more bytes read from disk by the engine process (psutil;
without it the log alone). Each sign moves the deadline to a full period after it. An engine that goes quiet is
still ended after that period. The whole start ends at 2 hours (or four periods if that is longer) whatever it
prints. The override keeps its meaning, the Terminal launcher's size-based value still applies, and the error
now says it counts from the last sign of life and how to change it.
engine_ready_s is documented in docs/DETAILS.md (config keys and troubleshooting).
Tests: the deadline with a fake clock (silent, log growth, disk reads, ceiling, failing probe) and live starts of a
fake engine (slow but writing: not ended; quiet: ended after the period).
effort_default() returned None for Inkling (from the time it could not think), so a config's
reasoning_effort and the level shared with other apps were skipped; since 0.2.21 a request with no level
thinks at low, so the ignored config mattered. The order is now the same as for other models: the request's
level, then the shared Chat settings, then the config, and only when none is set the Inkling default (low,
STRATA_INKLING_EFFORT), which 0.2.21 chose on purpose and stays.
The start-up line (thinking_level_line) names only a level that is used; for Inkling with no
reasoning_effort in the config it says the default is in use. The unused constants in inkling_family
(REASONING_EFFORTS, DEFAULT_REASONING_EFFORT, HAS_THINKING) that still said "none" are gone.
As 0.2.14.1 (2ad883b61, d94ab5e27) and 0.2.13.1 did: the Terminal says 0.2.21.1 (strata_cli PRODUCT_VERSION), Control is 0.1.68 (the CMake
project version, which `strata --version` and a source checkout read; the Control packages get it from `pack-control --version`), and the app,
its installers, latest.json and every engine package stay as v0.2.21 shipped them. docs/data/release.json keeps tag v0.2.21 and the app 0.2.21,
names terminal_version 0.2.21.1 and control_version 0.1.68, and lists the four 0.1.68 Control packages.
Control 0.1.68 is not Control 0.1.67.1: 0.1.68 is skipped as an engine number (as 0.1.61 was after 0.2.15), so release_manifest.py learns that
"engines_from" may name the release's own tag (a Control-only update adds Control packages to that release and builds no engine); a test for it.
The pages the manifest writes (docs/AI_REFERENCE.md, tools/packaging/README.md, docs/CAPABILITIES.md) and tools/packaging/UPDATES.md follow.
tools/release_manifest.py --write (the version lines and installer file names of the current pages and
tools/packaging/*.md, AGENTS.md) after the version bump of the previous commit, then
tools/capability_table.py --check ok and tools/release_manifest.py --check ok (0.2.21, engine 0.1.67).
Documentation only: no source, engine or Terminal payload file changes.
Version strings only, from bump_0221.py (same edit list as bump_0220.py, version tests included):
engine/CMakeLists.txt, engine/metal/CMakeLists.txt, terminal PRODUCT_VERSION, app/desktop and app/host
package.json and package-lock.json, Cargo.toml and Cargo.lock, AGENTS.md, the bug report template,
the settings update line, tools/packaging README and build_hip_linux.sh PKGVER, docs/data/release.json
(tag v0.2.21, versions, 41 asset names), and the tests that pin those strings.
Also the engine source version strings that the binaries print: strata-hy4 (CUDA / HIP, Metal, SYCL), strata-inkling
(CMake project, ink_main, ink_serve, Metal, SYCL).
MIN_ENGINE in terminal/setup.py is not touched.