When the engine ends a start with "N requests at once do not fit in this PC's memory", the
Terminal now says: "This PC's memory cannot hold that many requests at once. Lower Concurrent
requests in the app (or `--parallel` in the Terminal) by one and start again." Before, the
step was the generic "Run it again; if it repeats, report the log." On a PC whose graphics chip
shares the RAM, the saved settings with a fixed expert cache and a RAM budget also got the
advice about the expert cache for this failure; the new step now wins over it.
One entry at the end of KNOWN_CAUSES, a one-line change in explain_engine_exit, and
tests/terminal/test_batch_memory_words.py (the step, the step against the shared-memory advice
with a control, another failure keeps its own step).
Nine conflicts, one hunk each, all of the kind "ds-out removes DeepSeek next to a line that
main's fixes bundle (c1ff07f1a) or f-agent-turn changed". Resolved by keeping the other side's
addition and ds-out's removal (resolutions a-i accepted by the coordinator):
- apps/host/src/lib/native-fit.ts FitInput, apps/host/src/lib/native.ts NativeSize: ds-out's line
(no DeepSeek fields or note) plus main's context_fit field.
- apps/host/src/components/GuidedSetup.tsx, NativeModels.tsx imports: contextCacheGb kept,
deepseekContexts / OLD_DEEPSEEK_CONTEXT out.
- apps/host/tests/ui-r3.test.mjs: ds-out's first assert, main's second (context_fit).
- serve/server.py READY line: f-agent-turn's can_hold kept, the DeepSeek self.multi read out.
- strata_cli/launch/cmd.py: ds-out's suppressed --speed / --full-quality, main's new --gpu help.
- strata_cli/launch/screens.py: ds-out's STEP_LABELS, main's middle_shorten kept,
speed_choice_available out.
- data/settings-register.json: the 39 STRATA_DS4_* entries out.
The register's stale "line" values are not regenerated here.
DeepSeek V4.1-Flash leaves every user page, as written in par/dsout/DOCS-DRAFTS.md:
- README.md and its 7 translations lose the DeepSeek block; docs/media/models/deepseek.svg is
removed with its credit lines.
- MODELS, INSTALL, docs/README, MAC, TROUBLESHOOTING, AMD_HIP, DOCKER, INTEL, MULTI_GPU,
TERMINAL_LAUNCH, AI_SETUP, AI_REFERENCE, MEDIA_KIT, DETAILS, SAFETY, DGX_SPARK_LINUX, STRIX_HALO,
STRIX_HALO_WINDOWS, AGENTS.md and the packaging pages (README, UPDATES, ENGINE-COMPONENT,
mac/README): DeepSeek sections, rows and clauses deleted; the eight approved new sentences.
STRIX_HALO's WSL sentence (true for every AMD engine) moves to the Quick start.
- The three links to DEEPSEEK41.md anchors that no longer exist (MODELS.md twice,
TERMINAL_LAUNCH.md once) went with their sections, so the link check passes again.
- docs/data/capabilities.json drops the deepseek41 family; docs/CAPABILITIES.md and the cap
blocks regenerated by tools/capability_table.py --write. MEDIA_KIT.md has no cap block left,
so tools/capability_table.py no longer lists it; tools/test_capability_table.py points its two
contradiction tests at qwen38 / qwen36 and loses the DeepSeek-on-a-Mac test.
- docs/SETTINGS.md: the three STRATA_DS4_* rows go (count 280 -> 277). The page is not fully
regenerated: tools/settings_register.py --docs would also change seven rows that are not about
DeepSeek and were already out of date on f-own-int 9bef5255d; they wait for the owner.
- The four approved help texts lose their [DRAFT] prefix: strata launch --context, and
"choose the Qwen engine" (strata components use / remove).
Kept on purpose: DeepSeek as a cloud provider and search key, every DeepSeek Harness mention,
docs/release-notes-*.md and history/, docs/DEEPSEEK41.md and DEEPSEEK_MAC.md (the five-line page).
The Python side of the product no longer knows DeepSeek-V4.1-Flash (the refusal of commit 2 answers every way
it can still come in):
- setup.py: MULTI_FILE_FAMILIES / the DSV41_* pins, install_dsv41, mac_dsv41_setup, the engine package fetch and
its helpers, the --check line, the menu row and --family deepseek41 go; model_alias is the identity; a hidden
--dsv41-package answers the "no longer offers" line; the AMD one-card widening and the per-start card memory,
which acted on DeepSeek configs only, go; setup_config.py loses Dsv41Inputs / dsv41_config_for.
- strata_control: dsv41_{context,engine,fit,flags,parallel,paths,sets}.py and gpu_pick.py are deleted;
folder_use.in_use is dsv41_paths.in_use (every package kind used it); updater: no DeepSeek engine step, report
or notice (discover_run_config leaves DeepSeek configs out through retired.py); engine_library: the Qwen family
and the shape engines only ("deepseek" answers the "no longer offers" line); engine_component / engine_update:
no DeepSeek offer; feed.py does not read the dsv41 member (it may stay in the feed for older Strata);
cfg_paths / runtime: no engine-dsv41 repair; models.py: no DeepSeek import preview; the one-line deepseek41
guards in vram_fit, amd_four_card, split_engine, replica_profile go (pictures.py keeps a retired.py guard).
- strata launch: no DeepSeek rows, Speed step, tuner, context list, picture tower, --parallel words or engine
package; --dsv41-package, --speed, --full-quality and --dspark stay hidden and answer the "no longer offers"
line. The --context help loses its DeepSeek parenthesis ([DRAFT] until the owner reads it).
- tools/strata_mcp.py (the catalog of the app, the Terminal and the MCP tools): no DeepSeek rows or plans; rows keep
"multi_file": False, "disk_gb" / "rdna4_faster": None as every Qwen size had them.
- tests: the DeepSeek-only files go (tests/terminal 21 + the launch speed file, tools 4, fixtures); the DeepSeek
cases leave the shared ones; the snapshot matrix loses its DeepSeek set and its 8 goldens (every Qwen golden is
unchanged byte for byte); new: each dropped launch flag answers the line, an engine-dsv41 folder is neither
listed nor touched, a DeepSeek config is left as it was by the path repair.
Wired to strata_control/retired.py, before anything starts or is written:
- runtime.start (the app, `strata start`, a saved `strata launch` profile): the profile's run config is a DeepSeek
one -> ProfileError with the approved refusal (the folder and size of the model files when they can be read),
before the path repair, the engine check or any process.
- cfg_paths.repair: a DeepSeek config is never rewritten (it may still serve an older Strata).
- serve/server.py main: a config with arch deepseek41, the strata-dsv41 engine or a DeepSeek tokenizer stops with one
line before the engine starts (exit 2).
- strata_control/models.py: a DeepSeek config is listed with component_status "retired", its line and the refusal,
and is never inspected; `models import` / plan_import of DeepSeek files says what they are.
- setup.py: --family deepseek41 or a DeepSeek size stops with one line (exit 2); installed_configs() leaves DeepSeek
configs out (update, calibration, the card pick, "set up like the earlier install"); retired_configs() names them,
one line each on a plain start and on --update.
- strata launch: a DeepSeek name typed (--model, --family) or in a saved preset; the person's own DeepSeek files
(--model-path and the own-files screen).
D1 is the owner's approved text; the other lines stay [DRAFT]. Also: retired.py back to LF line endings (commit 1
had CRLF) and UD-IQ1_S out of the name list (it is also an Unsloth Qwen name).
Test: tests/terminal/test_retired_entry_points.py (a fake DeepSeek install: config, pack, model folder, a stub
engine that would leave a mark if started; the config's sha256 before and after) + test_retired_deepseek.py:
25 passed on p1006.
A feed host that refuses the connection (a proxy that is set but not
running, a firewall that resets) costs about 2.0 s on Windows before the
refusal is reported (measured 2.03-2.04 s on the owner PC). A launch of a
model with its own engine shape reads the feed on every start to look for a
newer engine, so such a PC paid it on every start. The existing host memory
(rule 4) lives in one process only and never notes refusals.
Rule 4b (strata_control/netpolicy.py): a refusal is written to a small note
in Strata's own state folder (paths.state_base()/net/refused-hosts.json:
host:port and the time, nothing else), kept 6 hours (REFUSED_NOTE_S). Only
automatic reads (open_url(..., automatic=True)) read it and fail at once
with the existing "offline" words. Every read the person asked for by name
(strata update, setup, a download) ignores it and tries. The first answer
from the host (also an HTTP error answer) removes it. A damaged or
unreadable note counts as no note, without a message. Rule 4's text now
points at 4b.
automatic=True is passed only by `strata launch` -> shape_engine.ensure,
and only while an engine of that shape is installed (feed.fetch,
transfer.read_small and updater.Context carry the flag); setup's call and a
shape with no engine read the feed always. No new user-visible words.
Tests: tests/terminal/test_net_refused_note.py (the note's values, 6 hours,
host and port, a clock that went back, damaged notes, open_url's automatic
and explicit reads, removal on an answer, only refusals noted, a real
refused loopback port); two tests in test_shape_engine.py (the launch check
connects once then not again, setup and a shape with no engine still read).
Owner 11-11, item 19 "remembering refused update feeds on Windows": Ok.
A typed `strata launch --gpu 1,0` after an earlier launch with roles (or the
automatic multi-card pick) kept that launch's "gpu_order": "as_given":
apply_cards dropped gpu_roles, gpu_cards and gpu_none but not gpu_order, so
the start kept the typed order (Main = the last typed card) while the plan
and a fresh home let the engine order the cards (the faster card last, with
the memory guard). Now a plain card list drops gpu_order too: the engine
decides in every home. --gpu-roles is unchanged (its own branch writes
as_given).
The --gpu help line now says it, as approved:
"graphics card numbers to use, e.g. 0 or 0,1 (default: the engine's choice).
With more than one card the engine decides which is the Main card;
--gpu-roles (instead of --gpu) sets the roles yourself."
Tests (tests/terminal/test_gpu_plan_main.py): the seven typed orders after a
roles launch give the start Main of a fresh home and the plan agrees (set B
typed 1,0 fails on the old code); roles keep as_given; the help text pinned.
Owner 11-11, item 16 "Ok for --gpu list" (option 1 of case (b) and the help
line, sent 11-10 18:03).
- one more switch in strata_control/speed_switches.py (picture_reader): llama.cpp's writes STRATA_VISION_TOWER=mtmd into the model's run config "env", the default writes nothing; the server hands that env to strata-vision, and an older reader ignores it
- shown for a Qwen run config that reads pictures (a "vision" section), never for DeepSeek (its pictures are read inside its own engine)
- a switch can name its group and its two options: the app shows this one inside the existing Image reading group with the two option names; the other switches stay in Speed with On / Off, unchanged
- label, options and help line approved by the owner 11-11 morning (par/OWNER-WORDING-1111.md); the help line is 275 characters, so the 260 limit of the switch texts is 300 for this one row
- [DRAFT] the Terminal row's frame "Picture reader (Strata's own by default; set mtmd to use llama.cpp's). <help line>" (not yet seen by the owner); its Default cell says auto
- policy-generated.mjs and policy-vectors.json regenerated (python -m strata_control.app_policy; vectors gain Qwen, Qwen3.6 and DeepSeek configs with pictures); English strings in fix-en.json; the other eight languages in the next commit
- tests: tests/terminal/test_speed_switches.py (PictureReader: where it shows, the group and words, one entry written and none by default, --set and off, the Terminal row), apps/host/tests/speed-switches.test.mjs and policy-generated.test.mjs
The Save screen's full layout counts one row per summary line; a storage
folder longer than the row wrapped and pushed "Save the preset and stop here"
off an 80x24 screen. The Storage value is now shortened in the middle to one
row (the start and the folder's own name stay readable; "..." without
Unicode). A path that fits is shown whole; nothing else in the layout changes.
Tests: 36-, 80- and 200-character paths at 80x24, and middle_shorten itself.
One network rule for install, update and launch (netpolicy): connect limits,
one retry, a stall limit and a give-up time; waiting lines after 5 s;
install.sh and install.ps1 give up on a silent server and keep a slow
download; --model-path writes nothing beside the person's model files; the
tests reach no network.
LaunchApp._work told the screen how the run ended with five unguarded
call_from_thread calls after self.running = False. A quit in that window
left the app's event loop closed, the call raised "RuntimeError: Event loop
is closed" in the worker thread, and a traceback could print after the screen
was gone.
All of the worker threads' calls to the app now go through one helper,
_call: it returns False without asking when the app's loop is already closed
(Textual creates the call's coroutine before it finds the loop closed, which
left a "coroutine ... was never awaited" warning on the terminal, also from
the old guarded _emit), and ignores a call that fails. _emit and
_ask_from_run use it too.
Test: tests/terminal/test_launch_worker_closed_app.py (an app whose loop is
closed; finished, cancelled, a launch error and an unexpected error; no
exception and no unawaited coroutine).
A person who already has Unsloth's picture-reader file next to their model files no longer downloads the pinned BF16 reader (0.9 GB) a second time.
lane 14's answers check: the F16 file against the pinned BF16 file on the same tower and card gives 58 of 72 answers word for word (60 after
whitespace), none of the 12 differences wrong about the picture, while the same BF16 file on two different cards gives 55 of 72; embeddings
0.9998 mean / 0.998 worst. Owner's word 11-10: setup may accept it when the check passes.
The rule (setup.ALT_READERS, accepted_alt_reader, resolve_reader; the plan asks the same function through modelstate.reader_present):
- a file named mmproj-F16.gguf with exactly 904,004,000 bytes and SHA-256 1f7b7f0b984cf065c604360c29c8098362ed61b290db0ff12c6f360bb1a8a980
(Unsloth, revision 38bb39ee97821de2c9009abb7e93950eec396e66);
- in a place where setup already looks for the pinned reader: the data folder's models/, an earlier install's models/, and the person's own GGUF
folder (beside the shards, the folder above, that folder's models/);
- only when no pinned BF16 file is found anywhere: the pinned file always wins;
- anything else with that name is ignored as before (not deleted, not renamed); setup never downloads the F16 file, and with no accepted reader it
downloads the pinned file as today.
The SHA-256 (a few seconds) is remembered in a mark in Strata's own marks/ folder, never beside the person's file. The mark is keyed by the file's
real path, size and modification time (_kept_mark), so a replaced file, even one of the same size, is hashed again. The plan hashes without
writing a mark and says nothing; `strata launch --plan` shows no 0.9 GB reader part when an accepted file is there, and still shows it for a wrong
size, a wrong hash or another file of that name, because the start still downloads it.
Wording (owner-approved 11-10, exactly):
" checking mmproj-F16.gguf (SHA-256, 0.9 GB) ..."
"vision encoder: <path> (Unsloth's mmproj-F16.gguf, SHA-256 checked)"
" note: <path> has the name of Unsloth's picture reader but is a different file, so it is not used. The picture reader is downloaded (0.9 GB)."
With the F16 file the engine's own tower runs its F16 mode (nothing changes on the engine side).
Tests: tests/terminal/test_net_alt_reader.py (accepted and checked once; the folders above and models/; wrong size; wrong hash with the note and a
remembered answer; another name; both files present, the pinned one wins; a file accepted once and then replaced by another of the same size is
hashed again and refused; a changed size; a linked folder shares the mark and cannot hide a replacement; plan and start agree in each case; the plan
writes no mark; the pinned values are the owner's).
launch guessed a data folder from the person's own files (the folder above a "models" folder). When Strata could not write there, launch
stopped with "Strata cannot write to ...", and setup's ".done" finish marks were written beside the files (a Hugging Face cache would get them).
Now the guess is used only when Strata can write there and it is not a Hugging Face cache (discovery.writable_beside / in_hf_cache); otherwise
Strata's default data folder is used and launch says so (W9 / W9b): "Your model files are used where they are. ... so Strata keeps its own
files (the prepared data and the picture reader) in <default>." The same rule in the TUI's default folder (app.py). Finish marks of --gguf-dir
files go to Strata's own marks/ folder; marks already beside files are still read.
Tests: tests/terminal/test_net_own_folder.py.
(a) download_plan used the installed copy's folder even when --data-dir named another one, while the start (installed_serves_request) does
not use that copy and downloads everything into the given folder: the plan said "About 1.2 GB" and the start fetched 112 GB. The plan now
counts what setup will fetch into the given folder, and says "About <gb> GB to download into <folder>: ... The copy in <other> is not used
with this --data-dir." The installed copy still counts as present when it sits in a folder setup itself reuses (the remembered data folder,
Strata's own folder).
(b) The plan counted any mmproj*.gguf beside or above the files as the picture reader, while setup accepts only the pinned file name (outer
folders: the name at the pinned size) and downloads 0.9 GB. One helper, modelstate.reader_present, now follows setup's rule in the three
places that asked. Which file setup accepts is unchanged.
Tests: tests/terminal/test_net_plan_truth.py.
setup.py's size request (HEAD) for a download used to run 5 times with a 60 s limit and a 5 s sleep, silently: about 320 s per file, and
launch printed nothing meanwhile. Now every setup request on the download path goes through strata_control/netpolicy.py:
- the connection phase (lookup, connect, TLS, proxy CONNECT, the server's headers) gets 12 s, then one retry with 30 s, 2 s apart;
no lookup answer, a refused port, an unreachable network, a refused certificate and HTTP 4xx fail at once;
- after 5 s a line " Waiting for <host> to answer (<n> s so far) ..." is printed, then every 10 s;
- a host that failed after the whole window is not asked again for 10 minutes in the same process (memory only, never on disk);
- the failure names the host and says what to check and what still works offline (W3/W4/W5); the proxy and ModelScope hints follow.
Launch: the heartbeat also runs in the download phase, the waiting line becomes the status sentence (phase "waiting", W2), a new sentence is
always printed by the non-terminal printer (a second download's first figure was hidden), and a cancelled or stopped launch writes
"(you stopped it: <status>)" to the setup log. The app string "Waiting for {0} to answer ({1} s so far)" is added in nine languages
(translations are first drafts). conftest.py: every test starts with an empty host memory.
Tests: tests/terminal/test_netpolicy.py, test_net_launch_waits.py (local black hole, refusing port, a normal server), test_tls_trust.py,
test_no_acquisition.py, tools/test_setup_*.py (the fakes now patch the netpolicy.urlopen seam), apps/host/tests/net-waiting.test.mjs.
The reader's cudaMalloc line gives the size of the allocation that failed (865 MiB), and the sentences said the reader needed that much. A person who freed that much and nothing more would fail on the next allocation: the reader needs about 1.5 GB in all at the default limit of 1,024 tokens (READER_NEEDS_MIB, 1,342 MiB measured), more above it (3.6 GB at 16,384 tokens, the largest mtmd GPU-reader peak measured, with a straight line between the two).
strata_control/reader_room.reader_needs_mib / whole_need_mib: the larger of the failed allocation and the reader's known need at its limit (vision.max_tokens of the run config, 0 = the largest the Terminal offers). Used by the Terminal's launch error and by the server's note (Vision.max_tokens). Example: 865 MiB failed, 600 MiB free: "it needs about 1.5 GB; 0.6 GB are free". serve/server.py's READER_NEEDS_MIB now comes from the same place.
The NVIDIA reader (strata-vision) is the CPU reader too, without --gpu, but only the on-demand reader had it as a fallback. A resident reader (two or more cards, parallel slots, a reader pinned to a card) that did not start ended the server and the launch. Vision now always has the CPU reader to fall back on (the person's image limit stays), with the existing log line; when the card had no room the sentence for the person goes with it: Vision.cpu_note, shown in /metrics (engine.vision_note) and by the Terminal's launch summary (Runner.report_vision): "Pictures are read on the processor, which is slower: graphics card N has no room for the picture reader (it needs about X GB; N.N GB are free). To read them on the card, close the other programs that use it and start again." The card number is looked up in the cards the reader was shown, the free memory is read after it failed; what cannot be known is left out.
When another program has filled the card, the picture reader's cudaMalloc fails, ggml aborts, and the launch used to end with whatever line came last in the engine log (a debugger's error, a backtrace frame, or the assert text), because the cause search only trusted the engine's own prefixed lines.
strata_control/reader_room.py reads ggml's lines ("allocating N MiB on device D: cudaMalloc failed: out of memory", "failed to allocate CUDA0 buffer of size N"; the same for AMD) and holds the two sentences the person reads. explain_engine_exit uses it when the engine itself said nothing about memory (an engine out-of-memory line later in the log still wins): "The picture reader could not start: graphics card N has no room for it (it needs about X GB; N.N GB are free). Close the other programs that use the card and start again, or add --vision off to start without pictures." The card is looked up in the list the reader was shown, the free memory is read after the reader is gone; what cannot be known is left out. serve: vision_start_error names the cause for the server's log, a VisionNoRoom error carries it, and a start reads only the log lines it wrote itself (the engine log is shared by launches).
ggml's abort path forks gdb (then lldb, then backtrace_symbols) to print a backtrace. On a launch onto a card another program had filled, gdb attached to the crashing picture reader, wrote its own errors into the reader's output and the engine log, and the launch ended with "Couldn't get registers: No such process" instead of the cause.
strata_control/childenv.quiet_crash_env sets GGML_NO_BACKTRACE=1 unless it is already set or STRATA_BACKTRACE is on (a developer who wants the backtrace). It is applied where an environment is built (the engine and picture reader through child_env/vision_env, sd-cli, the runtime host's server, the tuning workers, the launcher's children) and once at the entry points (strata, serve.server, the runtime host, setup.py) so every program that inherits an environment gets it. tests/terminal/test_no_debugger_children.py checks the helper, each environment, and lists every place product code starts a process: a new one fails the test until it is looked at.
The snapshot goldens that record the engine's environment (env_set) are part of this commit: 116 entries in 32 golden files (launch, app_plain and app_models in all 32 machine classes x model sets, and the 20 setup entries that are driven), each exactly one added "GGML_NO_BACKTRACE": "1" in env_set (84 entries where env_set was empty, 32 where it already held other variables), nothing else. Regenerated with STRATA_SNAPSHOT_UPDATE=1 python -m pytest tests/snapshot/test_config_snapshot.py and reviewed as a diff; tests/snapshot is green against them.
Setup already left out the Flash-Next MTP head for it (Q4-P8 F3), but the start and the Terminal's plan still went through the usual
drafter decision (G14). Setup now also writes "drafting": "off", drafting.apply starts and reports none for a model whose draft layer
is off, and the Terminal resolves "off" for such a family.
Item 6 (owner 11-08, after 0.2.13). engine_library.list_engines adds one family per installed shape engine (shape:<shape>, an id never
shown; title None), after the Qwen and DeepSeek families; a PC without one lists what it did before. use_engine pins within the shape's
own folder (engine.pinned in its .updates/state.json, which every start of that shape's model reads), the newest unpinned;
delete_engine refuses the one in use and one a running program uses with the existing lines and drops a stale pin. The Strata engine's
files and state are untouched. The app titles the group with the model's catalog title (qwen4exp_<shape>), the shape's name without
one; the Terminal prints the shape's name. --family takes shape:<shape> (help and errors unchanged). No new words.
Owner's answers of 11-08 evening:
- size = the model's download minus the n-gram / PLE / Engram table's file (28.8 GB for most sets, 54.4 GB for UD-Q5_K_XL / UD-Q6_K_XL / Q8_0, 51.2 GB for NVFP4, the stated
memory figure for Gyro, the plan's Engram file for DeepSeek), against VRAM + RAM. UD-IQ4_XS and UD-IQ4_XS-v31 are 64.9 GB.
- the Terminal's "Needs" column and the app's version line show that same figure (DeepSeek: the whole size, not the CPU's share).
- no graphics card, or a Mac with too little memory: "may run slower" instead of "too big" / "Doesn't fit"; the app's "Doesn't fit" state and its "Uses SSD N GB" figure are gone.
DeepSeek's "tight: needs more disk space" and the feed's "not available on this engine" rows are unchanged.
- docs/UNSLOTH_Q4.md names the rule instead of a 48 GB minimum.
On a Tesla V100-PCIE-32GB with 31 GB of RAM every Unsloth set said "too big (can still try)" while IQ3_S, with the same 50 GB of experts, said "fits, a bit slower". The
catalog compared an Unsloth set's 48 GB RAM floor with the RAM alone and never counted the card. Not a hardware limit: UD-IQ4_XS is measured on that card.
Owner's rule (11-08): the model's weight files WITHOUT the n-gram / PLE lookup table (the "Needs (RAM + VRAM)" figure) against the graphics memory plus the RAM, nothing
taken off either side: "fits", else "may run slower". strata_control/fit_label.py holds it; the Terminal model menu, `setup.py --check`, the catalog's `on_this_pc` (tools/strata_mcp.py),
the install plan's RAM line, setup's size menus and the app's version list use it. Replaced: "fits, a bit slower", "too big (can still try)", "does not fit", the SSD-GB suffix,
the RAM-floor menu line ("<- needs 48 GB RAM, you have 31") and the install's RAM-floor warning where the set fits. Kept: "(recommended)" / "(installed)", DeepSeek's
"tight: needs more disk space" and "needs one or more graphics cards", a Mac's "too little memory", the feed's "not available on this engine", NVFP4's AMD notes in --check.
An engine is compiled for one geometry and refuses a GGUF of another, so the engine of a new Qwen4 shape must not replace the Strata engine (Flash-Next users keep theirs).
* feed: member shape_engines (engine entries plus shape); a feed model of family qwen4exp_<shape> runs on that shape's engine; build-feed --shapes refuses a model of a shape with no engine
* packaging: package_engine.py --shape (manifest id strata-q4-lite and the shape in the signed manifest), pack-engine names the archive by the component
* Control: strata_control/shape_engine.py installs it into <components>/shapes/<shape>/engine/ (resumable download, archive and manifest hashes, signature, shape, one test start), the run config says component:strata-q4-lite and engine_component.expand resolves it there; strata update brings an installed shape engine up to date beside the older one; strata components engine reports it
* setup (the app's Download, the Terminal's launch) fetches it when the model is chosen; the Terminal's first step checks it instead of the Strata engine; a shape model's min_engine is not compared with the Strata engine; not offered on a Mac yet
* older Controls ignore the member, read only strata-engine manifests and do not know the family, so they never offer the model
Tests: tests/terminal/test_shape_engine.py, tools/test_setup_shape.py.
60 files, 94 names: strata_control, strata_cli, serve, integrations/harness,
metal/setup_mac.py, packaging/make_local_feed.py, sycl/tools/fixups.py and the
tools/ scripts. Left alone: test files and tests/, bench/results, __init__.py
re-exports, apps/host/audit-fixes (moving in 3.5), tools/dflash2/final_tables.py
(its exec() uses the namespace), tools/nvfp4_verify_gguf.py (torch) and the
platform import in strata_control/doctor.py (tests patch doctor.platform).
1. strata launch --help: "dflash2 (downloads its drafter once, 0.3 to 1.2 GB depending on the model; the size is shown before the download)"; the docs row: "...and downloads its drafter once (0.34 GB for the models that have a tuned drafter, 0.52 GB on Intel Arc, else 1.2 GB)".
2. The Arc launch line ends "No model files were downloaded." (was "Nothing was downloaded.").
3. After "Drafting: off (no drafter is downloaded yet)", only when a recent miss mark exists and the choice is DFlash2 or Auto on a tuned set: "Run strata drafting fetch to get the DFlash2 drafter now."
(drafting.fetch_hint, printed by the server's start; the miss mark and its 12 h window move to drafting.py, drafting_fetch keeps its names).
4. A bare strata drafting fetch with several DFlash2-capable models set up: "Several models are set up here. Say which one: strata drafting fetch --model <name>, or --config <file>."
(exit 2, nothing downloaded; before, it fetched the stock drafter).
- drafting plan --model (+ tuned, drafter_gb, tuned_needed, file); mtp or nothing needed says so; launch --plan sees a model not installed yet and a stock pack from 0.2.11
- drafting fetch --throttle (12 h rule, silent when the feed is not there); a bare fetch uses the one installed model's run config
- app: plain load, restart of stopped models and tuning run fetch the tuned drafter when Auto resolves to it; install plan passes the model; Drafting hint number from the plan
- launch plan text shows 0.34 / 0.52 GB, not 0.3 / 0.5
drafting.CLASS_DEFAULTS: one removable entry per set, read from the signals the confidence already reads (a CUDA card whose engine slots are under the last-but-one CONF_STEPS step).
IQ3_S: on P2003 the file cache makes the MTP faster than DFlash2 by 12-44% (RTX2 t4b). UD-IQ4_XS-v31: DFlash2 beats the MTP by about 6.5% (t8, 3 starts; DF-VAL forced-fast tuned 0.8 x1.037).
The v31 entry DEPENDS ON RTX2's FILE-TIER FIX (unbuffered reads) BEING IN THE SAME RELEASE; without it remove that entry.
Anything chosen by name wins. Resident CUDA, Strix, gfx1201, Arc and Metal entries and the conf tables are unchanged. The sm_86 support line reads the set: UD-IQ4_XS-v31 gets the existing
'faster on some kinds of text and slower on others' line, every other model keeps 'slower'.
(cherry picked from commit 42412d42ff835d6a66a78fbf6d119911908eda1b)
The SYCL 0.2.11 engine reads only bf16 selector codebooks, so Arc gets its own tuned file (qwen3.8-flash-next-dflash2.strata1.q4_0-bf16sel.pack, 522,458,112 bytes, own SHA-256 pin) through
SetDefault.pack. Only IQ3_XXS, the set measured on the A750 (tuned 0.6 x1.054, 3 of 3 rounds); other Arc sets keep the stock pack. SYCL never gets the selq4 file, CUDA / HIP / Metal never the
bf16sel one. NOTICE names the second file and no longer overclaims about the text.
(cherry picked from commit 6111c583b70e3c88a3d54039e13d76b19f15742d)