origin/main carries the README-only commit 067c61cde9 that came after the
0.2.26 hotfix base; the 0.2.27 GUI release was cut from that base, and its
tag stays on 117c554a84 (every artifact embeds that commit). This merge makes
main a fast-forward of origin/main that contains the tag. The merge brings
nothing new in code: the only difference to 117c554a84 is the README change
from 067c61cde9.
The Terminal-notices commit replaced the --loop help in strata_cli/launch/cmd.py by qwen4_family.LOOP_WORDS (the sentence of the app's info popover), but the register still pinned the old "It has no effect while --effort is off" to that file, so settings_register.py --check and tools/test_settings_register.py (test_entries_are_whole_and_still_defined) failed. The where-entry for cmd.py now points at qwen4_family.LOOP_WORDS, which is in the file; the note quotes the new sentence instead of the old Loop description (the Loop file and the Effort-Off facts are kept); docs/SETTINGS.md is regenerated (--docs). settings_register.py --check: clean; tools/test_settings_register.py: 17 passed.
0.2.27 is the GUI release after 0.2.26 (Docker image build, vision install fix, Models page,
Windows VRAM reserve): the owner chose a new app version so that the in-app updater offers it
to every 0.2.26 user (Tauri compares strict semver). Control follows the toolkit's hotfix rule
(Control is the engine version plus one hotfix part): 0.1.74.2, because the Control-only feed
update on v0.2.26 took 0.1.74.1; version_key ranks 0.1.74.2 above 0.1.74.1, so every install
takes it. Every engine package stays 0.1.74 (the files of v0.2.26, carried by the feed).
Files: app/desktop package.json, Cargo.toml, Cargo.lock; app/host package.json,
package-lock.json, SettingsUpdates.tsx, tests/qa1-storage.test.mjs; terminal/strata_cli
PRODUCT_VERSION and test_tui2_023_versions.py; AGENTS.md; bug_report.yml; engine/CMakeLists.txt
(the project version is Control's); docs/data/release.json (tag v0.2.27, installer and Control
asset names) and the pages tools/release_manifest.py --write and capability_table.py --write
rewrite from it. release_manifest --check and capability_table --check pass.
Models: a new Qwen4-35B-A3B entry at the top (Strata Compact, Balanced and Ultra with their sizes and the card each is made for, the Unsloth choices, the link to the Strata packs on Hugging Face). The separate Ornith-1.5-35B-A3B entry is now part of the Qwen3.6-35B-A3B entry. README.md and the 7 translations.
Supporters: refreshed from the current public GitHub sponsors in README.md, SUPPORTERS.md and the 7 translations. Adds monta42, sudocarlos, dacendale, rbravo7054, chaitanyaprem, kazoob and ProPatte; removes bisonbet.
The one word data/qwen4-sources.json "released" is the whole release switch:
strata_control/qwen4_family.py released() / sources() / offered() read it, and
setup.py (CLI and TUI model menu), tools/strata_mcp.py (the model list the app
takes from Control) and the app test them; false hid Qwen4-35B-A3B from every
list (found on a MacBook Air M4 with the 0.2.26 app). True puts the family in
every model list and makes the shipped Hugging Face source count: the repo
strata-engine/Qwen4-35B-A3B-Strata is public.
- terminal/data/qwen4-sources.json: released true, the note says what true and
false do and that the repo is public.
- test_qwen4_fit.py, test_setup_qwen4.py: the shipped file is released, the
shipped source is offered by default; the unreleased case is pinned with a
file of its own.
- terminal/data/settings-register.json and docs/SETTINGS.md (generated): the
qwen4_source note no longer says the model is not published.
- engine/ is unchanged against H11 (tree 5111bcf367).
The Qwen4 engine is the shape component strata-q4-lite (one component, two programs: the q4_lite strata of the GGUF builds and strata-q4-lite of the .strata tiers). Its packages are named strata-q4-lite-0.1.74-<platform>-<backend>[-<variant>].tar.gz by package_engine.py --shape q4_lite. Rows added next to the strata-engine rows: Windows CUDA 13 / 12 and HIP rdna2 / rdna3 / rx9070, Linux CUDA 13 / 12 and HIP halo / rx6000 / rx7900 / rx9070, linux-aarch64 CUDA 13, macOS Metal. No SYCL row (not in this release). Docs and data only; release_manifest --check and capability_table --check pass.
The coordinator's version decision: engine 0.1.74 for strata-engine, strata-inkling, strata-ling32, strata-q4-lite and Control, as 0.2.25 did with 0.1.73 (the DeepSeek packages stay at 0.1.59). Byte-exact stamp (tools: the
count of every replacement is checked): app/desktop/package.json, src-tauri/Cargo.toml and Cargo.lock, app/host/package.json and package-lock.json, SettingsUpdates.tsx, terminal/strata_cli PRODUCT_VERSION, the version
tests, AGENTS.md, the bug report template, engine/CMakeLists.txt (project VERSION: strata-q4-lite --version reads it), engine/metal/CMakeLists.txt, the Inkling version strings, tools/packaging/build_hip_linux.sh PKGVER;
docs/data/release.json (tag v0.2.26, published 2026-12-04, the asset names: the packages of the 0.2.26 assets that are not built yet are listed by the release lane when they exist) and the version lines and installer
file names of the current pages by `tools/release_manifest.py --write`. `release_manifest --check`, the capability table, the bench index, the link check and the settings register pass. No code change.
The Loop switch, the table (gguf cuda and metal ready, gguf hip coming), setup, launch,
catalog row and the app already carried the GGUF build. This commit fixes and adds:
- --loop-direct-t1 never reaches an engine argv (setup, adopt, launcher, serve, app host):
the qwen4exp strata engine rejects it (exit 2); it is the Python server's own option.
The run config now carries loop_direct_t1: true while Loop is on (setup, adopt, launch,
app Load), serve also derives it from the Loop key for the GGUF build, and an older
config with the flag in its arguments gets it taken out at the start.
- Loop on turns the draft layer (MTP) off on the GGUF build and on the standalone
strata-q4-lite (plain --spec 2 where the pack needs it); a Mac .strata tier keeps MTP with
Loop (measured). The sidecar key stays in the config, so Loop off brings it back. Setup,
serve and the Models panel (new string q436, ten languages; the MTP select shows Off and
disabled) say so.
- Tests: serve/test_qwen4_kind.py test_no_engine_argv_ever_has_loop_direct_t1_through_the_real_engine_args_path,
test_gguf_loop_on_starts_without_the_draft_layer_and_says_so_once; setup GGUF Loop on/off
and per backend; Mac setup and launch config key; host table states and argv.
- settings register and docs/SETTINGS.md say the real status instead of coming soon.
The merge of f-0226-q4-opt added the STRATA_Q4_OPT run-time kill switch (the qwen4-opt speed-ups of a q4_lite CUDA build, =0 turns them off) without a register entry. The register is regenerated
(`settings_register.py`: the file:line references moved), the entry is filled by hand (status rollback, owner q4lite, note), docs/SETTINGS.md is regenerated (`--docs`). `--check` exits 0,
tools/test_settings_register.py 17 passed, no status lost or changed (cmp_status).
#7774 new commits (saatvik-viniak: DFlash2 own pack / tap + --draft-tap, the gfx12 q.k WMMA pin, make_profile --n-layer, docs), seankoji's unfused QSA prefill rows from the geometry, smashdog's rdna_gr (already
on the tip), #7784, the bench PRs #7778#7780#7785#7789#7799#7800#7802 (without #7802's agent install guide, which walks a PR-head source checkout, not the 0.2.26 app / Terminal flow), the bench index rebuilt,
and the LF conversion of #7778's CRLF bench folder (ours); #7790 triage only, nothing taken. All contributor commits keep their authorship, our commits have no trailers. Conflicts the lane resolved: engine/src/core/verify.cpp
(Loop tap_here + the PR's !tap_block_ guard, both kept), strata_tokenizer.py / test_strata_tokenizer.py / test_qwen4_intake.py (our qwen4 pre rule and the qwen5 sentinel kept), docs. Shared engine files: core/{family_layout.hpp,
verify.hpp, tap_plan.hpp (new), verify.cpp}, prefill/{kernels.hpp, qsa_query_rows.hpp (new), kernels.cu, qsa_nr_parity.cu}, kernels/cuda/qsa_prompt_attn.cu (gfx12 only), program/generate.cpp, cmake. Lane identity (boston sm_86,
Flash-Next default geometry `strata`, 04a8b197a1 vs 11cdd7885f): host objects identical 71, different 2 (generate.cpp.o --draft-tap parse, verify.cpp.o tap plan); SASS of kv_q8 / qsa_decode_attn / qsa_pattn /
qsa_prompt_attn / rdna_gr identical; prefill/kernels.cu 64 of 66 identical (split_q_kernel and gate_attn_kernel: seankoji's change, same arithmetic for 24 heads). Golden (RTX 3090, UD-Q4_K_XL, q4_lite sm_86, 36 probes):
branch 0.97396 / 0.015646 (repeat 0.97535 / 0.015268), baseline tip 04a8b197a1 0.97535 / 0.015879: inside the run-to-run range of one engine (about 0.0014 top-1 and 0.0004 KL). HIP compile gfx1200 / 1201 and
gfx1100 / 1101 / 1102 rc 0.
Adds the contributor's docs/bench-results folder and its docs/COMMUNITY_BENCHMARKS.md entry with authorship unchanged. docs/QWEN4_35B_AGENT_GUIDE.md is left out of the tree: it walks a source checkout of the PR #7774 head (git fetch refs/pull/7774/head, hand-run split, pack and profile steps, cmake by hand) instead of the 0.2.26 app and Terminal install flow, and tells readers main does not run the model.
Adds the contributor's docs/bench-results folders with authorship unchanged; the docs/COMMUNITY_BENCHMARKS.md list keeps both PR #7799's and this PR's entries.
Adds the contributor's docs/bench-results folder with authorship unchanged. The PR's hand edit of docs/bench-results/README.md is dropped here; the index is regenerated by tools/bench_results_index.py in its own commit.
Takes bd90b8c526 (drafting: a run config's own DFlash2 pack and tap, --draft-tap block-input), ffec4241bd (gfx12 prompt attention: pin the q.k WMMA before the trimmed store), b1f68b4beb and ac85058cad (make_profile --n-layer for the 40x256 q4_lite profile) and the two docs commits (16x128K profile, mixed workload matrix). The contributor's commits and authorship are unchanged.
One conflict in engine/src/core/verify.cpp: the Loop branch's tap_here expression (STRATA_WITH_LOOP) and the PR's block-input tap style meet at the same lines. The merge keeps the Loop code and adds the PR's !tap_block_ guard to both the Loop and the non-Loop tap condition, so the output-tap path is skipped exactly when the block-input tap (verify.cpp ~2075) is active.
Adds docs/bench-results/2026-12-04-community-rtx-3090-qwen4-35b-a3b (speed-only suite-1 bench: 143.65 tok/s decode with MTP drafter, Unsloth UD-Q4_K_M, two-shard split, 262144 context), the matching Community reports entry, and docs/QWEN4_35B_AGENT_GUIDE.md — an eight-step agent-first install/verify guide for running Qwen4-35B-A3B from a PR #7774 checkout. Docs only; no engine or tooling changes. The Qwen4 code itself is PR #7774, not proposed here.
b569fd723b (Codex): larger INT8 expert tiles on sm_61, opt-in STRATA_I8_PASCAL_GRID=1. 92879c33de (Xavier Port Builder): Volta (sm_70) kernels and defaults also for sm_72 (Jetson Xavier).
ef587884ea: settings register + docs/SETTINGS.md for STRATA_I8_PASCAL_GRID. Contributors keep authorship, no trailers. For every other card the INT8 tile choice is the same loop as before.
The looped-core code (loop adapter, verify / prefill / generate / session / conversation state) is compiled only into the q4_lite geometry (STRATA_WITH_LOOP, guard commit 1b0e6a2ba5); the default
Flash-Next geometry builds the same host objects as before (73 of 73 byte-identical on CUDA sm_86). Metal Loop: community PR #7776 (hotocoo, f3eb04075b + 2 commits kept) plus the owner's
strata_dual_coda_loop_v1 file (6b595a9fb1) and the CUDA / Metal side by side (57954faf3a); q4_lite on Metal builds, golden Loop OFF top-1 0.97622 / KL 0.015715, Loop ON T=2 0.97760 / 0.015779.
StrataEngine.sampling_keys no longer sends loop_passes / loop_cd_omega / loop_cd_thinking to the all-cards split engine (15e457cd83); test_split_gen_keys pins it.
The two names of the Q4-HIP lane were registered without a status (the status test failed). STRATA_Q4_HIP_NO_CHUNK: rollback (sends every prompt token through the window kernels instead of the FP32 chunk scan);
STRATA_Q4_TC_MIN_N: rollback (the batch size from which HIP gfx11 / gfx12 prompt batches use Ling's WMMA trunk GEMM, default 16; 0 turns it off). docs/SETTINGS.md regenerated.
strata-q4-lite --serve: the Ling line protocol (INFO / READY / GEN -> PP T STAT DONE, STOP, QUIT), prefix resume, sampling (temperature, top_p, top_k, seed, min_p, penalties), token ids in and out (the app tokenizes);
the not-yet-built flags --mtp --vision --loop* --spec* and the aliases --native --max-context --gpu are accepted and ignored. The expert tiering: a VRAM pool and pinned host slabs read in place (slab_ptrs) with
--vram-budget, --expert-frac, --vram-reserve, --embed-host and --expert-order; the default stays all-resident. Merged with f-0226-q4-core (the graph-attention interface). engine/src/q4lite and engine/tests/q4lite only.
- qwen4_family.LOOP_READY: (strata | gguf) x (cuda | hip | metal), all False; loop_source(build), loop_ready(build, backend), loop_coming_note. Loop runs only on the qwen4exp engine, so only (gguf, cuda) is expected to flip when Q4-LOOP merges; the Compact / Balanced / Ultra .strata tiers run on the standalone strata-q4-lite host (no Loop yet) and Metal / HIP Loop are not done.
- the same table mirrored once in app/host/server/qwen4.mjs and app/host/src/lib/qwen4.ts, pinned together by a host test.
- setup, launcher (adopt, modelstate, runner, settings), serve, strata_mcp and the app use loop_ready(build, backend); strata launch --loop on keeps the choice and says coming for that model and card.
- LOOP_ENGINE_READY and loop_word are gone.
moe_routed now calls strata::q4lite::gpu (q4_moe.cu): the fused single-token kernel for N = 1, the grouped-by-expert kernels from N = 16 tokens,
the per-pair kernels otherwise. q4_moe.cu / q4_moe_cpu.cpp added to the CMake targets.
The speed work of strata-q4-lite reads STRATA_Q4_FUSED, STRATA_Q4_GRAPH, STRATA_Q4_NOFUSE, STRATA_Q4_NO_PACK, STRATA_Q4_ONE_STREAM and STRATA_Q4_PROFILE, which the register did not list
(settings_register.py --check failed, the status test too). Registered with status, owner and note (research: FUSED, PROFILE; rollback: GRAPH, NOFUSE, NO_PACK, ONE_STREAM);
settings_register.py regenerated the read lines of the other entries (the engine files moved) and docs/SETTINGS.md. No status lost or changed.
The owner's Qwen4-35B-A3B-Loop.safetensors (strata_dual_coda_loop_v1) as an opt-in loop in the qwen4exp engine at q4_lite: --loop-adapter FILE --loop-passes 2|3 --loop-coda universal|compact. Default off; without
--loop-adapter no loop code runs. The math is pinned to the owner's trainer (03_train_dual_coda_loop.py). Scope: this Loop runs on the qwen4exp engine (the Unsloth GGUF / UD-Q4_K_XL path) with CUDA only; the owner's
.strata builds run on the standalone strata-q4-lite host, which has no Loop yet; Metal and HIP Loop are separate branches. History: the community PR #7673 (Dave3991 / Alexey Fateev, CUDA) with the contributors'
commits kept, the loader and user_args (--loop-coda is a kept user flag), the Q4-GGUF merge and the clamp.
- one table in qwen4_family (ENGINE_FILE_FLAGS loop, ENGINE_LOOP_STEPS_FLAG, coda and direct-t1 flags, loop_coda(build): compact only for the Compact .strata build, universal for Balanced, Ultra and UD-Q4_K_XL); the same four flags mirrored once in app/host/server/qwen4.mjs.
- setup, launcher, serve and the app strip all four when Loop is off or coming, add them once when on; a person's own --loop-* flags are kept.
- help text: about 40 percent fewer words per second while writing, prompt reading about half as fast, a little closer to the original model, no effect while Effort is Off; ten languages.
- flip LOOP_ENGINE_READY in qwen4_family.py, qwen4.mjs and qwen4.ts when the Q4-LOOP engine is merged.
- qwen4_family.LOOP_ENGINE_READY False, mirrored once in app/host/server/qwen4.mjs and src/lib/qwen4.ts, pinned together by a host test; flip it to True when the Loop flags are in ENGINE_FILE_FLAGS / ENGINE_LOOP_STEPS_FLAG.
- Terminal: --loop on in setup and strata launch warns once and behaves as off (no qwen4_loop key, no flags, no Loop download); register and help say coming; the fit row reports loop_available false; serve strips an old qwen4_loop key with one log line.
- App: the option is disabled and labelled "Loop (2 steps) - coming soon" in the Models panel and Settings; Download and Load never send it on; strings q423 and q424 in all ten languages.
- launcher notices: the Qwen4 import is before its try block, so the notices are no longer swallowed.
- tests run in both states.
One 2080 Ti (11 GiB, sm_75) on WSL2 with 110 GiB of RAM, engine built from the head of #7774 for sm_75, ggml-org Q4_K_M prepared with docs/QWEN4_35B.md.
Chat decode 90.4 tok/s (75.7-92.9, median of 9), agent decode 98.8 tok/s, 4K/16K prompt 1634.7/1739.2 tok/s, first token 0.43 s. 2299 of 10240 experts in VRAM (expert-cache hit 80.5-87.5%), MTP spec 2. spec 4 measured slower here (77.0 tok/s). Speed only; no parity test.
A run config may now name its own DFlash2 drafter instead of the pinned
incoai/Flash-Next packs: "draft_model": "<path>", or
"dflash2": {"pack": ..., "family": ..., "tap": "block-input"}.
- supported_model() takes a config-named pack and lifts the model-family
gate for that config only; pack_ready()/drafter_ready() check that exact
file (a whole DF2P v1 pack: magic, version, an index whose tensors lie
inside the file, and its own size + SHA-256 kept in a .ok marker); nothing
is fetched, tuned, converted or replaced for it. Decision.pack reaches
decide()/apply() and an explicit --draft-model in user_args is the same
assertion. A config without the keys keeps the pinned flow byte-identical.
- "tap": "block-input" (or "draft_tap") adds the engine's new
--draft-tap block-input. The pinned packs read each target layer's
completed output (mean of the hc streams); the RadixArk/Qwen4-DFlash2
checkpoint and SGLang's DFLASH taps read the NEXT layer's input, after the
hyper-connection mix and per-stream norm, before attention (vLLM captures
it at layer+1).
- engine: core/tap_plan.hpp maps a pack's target ids to the tapped layer for
both styles (count, per-stage share of a layer split, slot0), with a
CPU-only test. Verifier::set_taps(layers, block_input) captures the block
input from the window's mixed buffer in pre() and keeps the completed-output
tap unchanged in post(); generate.cpp parses --draft-tap output|block-input,
refuses block-input on Metal (its window writes output taps), and ends a
start whose pack cannot be served in block-input style rather than let the
drafter read a short tap row. Default unchanged.
Tests: terminal/tests/terminal/test_drafting_custom_pack.py (new),
test_drafting_pin.py now uses a whole DF2P pack, engine tap_plan_test.
Engine built with -DCMAKE_CUDA_ARCHITECTURES=70 -DSTRATA_GEOMETRY=q4_lite
(sm_70, CUDA 12.6).
Community PR #7774 (saatvik-viniak): real Qwen4-35B-A3B runs on the Flash-Next qwen4exp engine at -DSTRATA_GEOMETRY=q4_lite: a 41-block file with the trunk = block_count - nextn_predict_layers, the fused tensors
split by terminal/tools/qwen4_split_gguf.py, the tokenizer pre=qwen4, the qsa_pattn G from the geometry, the PLE table in the Unsloth shard 2, the published MTP sidecar through mtp_qwen4_rt.py. Community PR #7779
(IronicDeGawd): mtp_rt reads its sizes from the draft layer's tensors. The contributors' commits and authorship are unchanged. Ours (c3fefe0caa): the in-file MTP tail read, the MTP mismatch check removal and the
qsa_pattn scalar path apply only where the compiled shape has n_mtp_layers > 0 (q4_lite); Flash-Next and the other shapes keep their old code and the float4 loads at G=12 (gguf_reader.hpp, family_layout.hpp,
qsa_pattn.cu). The five V100 result folders and docs/QWEN4_35B.md come with the PR; the bench results index is rebuilt.