With STRATA_VERIFY_NO_HOST=1 the host never answers a layer's doorbell. A layer with an expert outside VRAM is then planned only by the
device-built plan (STRATA_VERIFY_DEVICE_PLAN=1); without it the GPU waits for a plan nobody makes. strata-sycl.sh sets both, but an engine started
without that wrapper (the packaged component, a source run) with only NO_HOST=1, which docs/INTEL.md says an xe card needs, ended the first window
with "the GPU stopped waiting for the plan for its GPU share (flag A) ... the CPU took 0 ms" (#6250, Arc Pro B70, two quants, 73 waits ran out),
or wrote "!!!" from the first token (#4698). The engine now sets STRATA_VERIFY_DEVICE_PLAN=1 when NO_HOST is on and DEVICE_PLAN is not set at all, and
says so in one line; a DEVICE_PLAN the caller set, 0 included, is kept. A stage with every expert in VRAM has no device plan by itself
(device_plan_ = !all_resident_ && ...), so nothing changes there.
Test verify_env_test (host only, 8 cases). Not reproduced end to end: no xe card here, and the Arc A750 is i915.
With STRATA_Q6_PLANAR (default on) a Q6_K output head is stored as 16-byte-aligned planes. The DFlash2 drafter gathered its draft vocabulary
as GGUF rows out of that buffer, so the draft head was garbage and every draft was rejected (accepted 0 of N, decode 11-12 tok/s against 50-70
with MTP). The MTP drafter already gathers from the planes (native_q6_k_planar_gather); the DFlash2 bind now does the same, through
Dflash2Drafter::gather_draft_head. When the planar copy does not fit, bind fails with a message (the serve layer falls back to MTP) instead of
building a garbage head. The destructor takes a planar draft head out of the planar registry.
Test dflash2_head_test (Arc A750): a random Q6_K head as planes, 1500 gathered rows, logits bitwise equal to the same rows of the whole head;
a Q8_0 head gathered as rows byte for byte. --legacy (the row gather of a planar head) differs in 4500 of 4500 outputs and fails, registered
WILL_FAIL.
engine/src/program/generate.cpp has `const int64_t small = old_rule();` (and two more). Without WIN32_LEAN_AND_MEAN, <windows.h> pulls in <rpc.h> / <rpcndr.h>, which
define `small`. In 0.2.15 the first <windows.h> of that translation unit came through gguf_reader.hpp, which defines the lean macro; now conversation_spill.hpp (line 38)
and platform/commit.hpp (line 18) reach it first and define only NOMINMAX. Each include below now gets, next to NOMINMAX, the guarded
`#ifndef WIN32_LEAN_AND_MEAN / #define WIN32_LEAN_AND_MEAN / #endif` (inside the same `#if defined(_WIN32)` block, so a Linux build never sees it): include/strata/core/
conversation_spill.hpp, include/strata/platform/commit.hpp; src/core/{conversation_memory, conversation_memory_test, device_main, pinned.cu, pinned_alias_test,
pinned_shared_win_test, verify}; src/program/generate.cpp; sycl/include/{dpct/device, dpct/kernel, dpct/memory, strata/runtime_files}.hpp, sycl/src/core/{copy_queue, pinned.dp}.cpp,
sycl/src/program/generate.cpp; tests/platform/io_priority_test.cpp (18 includes; the other 25 sites already define it earlier in their file). None of these files uses an API the
lean macro leaves out (winsock, shell, RPC / OLE, multimedia): checked by grep. Not covered: the SYCL Windows build also takes dpct/bindless_images.hpp (d3d11.h, which
reaches rpcndr.h by itself), and sycl/src/program/generate.cpp has the same `small` name; no Windows SYCL package is built in 0.2.16 (the release assets are Linux SYCL).
Made by tools/layout/move_0216.py (the commit before this one) on db8e0be9c, the final code head of 0.2.16:
- 75 git mv (renames, so `git log --follow` and blame keep working; packaging/acceptance_matrix.md shows as delete + add because its links
changed too) and 3 removals: SETUP.bat, UPDATE.bat and update.sh (setup.py --update pulls the code now);
- 1,425 path edits in 307 files: root-relative paths in CI, Docker, .gitignore and the release scripts; Markdown links; Python and
Node joins from a root that moved with its folder; explicit edits for code that computes a root or names a moved path; tables of
repository paths inside tests.
engine/ holds what CMake builds (src, include, cmake, metal, sycl, spark, third_party, the C++ tests and benches). app/ is the desktop
app and its host (was apps/). terminal/ is the Terminal in the layout of the installed one (strata.py, setup.py, strata_cli,
strata_control, serve, bin, data, ref, crates, the Python tools and tests). docs/ has the documentation, docs/lang/ the translated
READMEs, docs/history and docs/bench-results. tools/ has the repository's own checks, packaging, docker, research and nix.
tests/core/test_tqp_ref.py is a pytest file and stays with the Python tests (terminal/tests/core/).
AGENTS.md, README.md, LICENSE, setup.sh and START-HERE.bat stay at the root.
No behaviour change: the same command lines, the same sources. For this head a replay of the script gave the same numbers and the path
scan (tools/layout/checks/path_scan.py) reports no hit; the suites and the builds run on this commit next.