Conflicted files and how each was resolved:
- engine/include/strata/kernels/mla_latent_attn.hpp, engine/src/kernels/cuda/mla_latent_attn.cu, mla_latent_attn_tc.inc, engine/tests/kernels/mla_latent_attn_bench.cu: both lines carry the same kernel from two histories; the Ling side is a strict superset of main's (checked by diffing the two trees: only main's older versions of lines the Ling side extends), so the Ling side is kept
- terminal/serve/server.py: main's config-arch hint for Inkling (self._shape_inkling) plus the Ling engine fields; the picture check keeps main's gguf_images flag and the Ling in-process reader; set_family knows hy4, inkling2, ling32 and hy4-flash
- terminal/serve/frontend.py: main's dict(_OFF_KWARGS) for the thinking-off case, the Ling thinking-on case kept after it
- terminal/strata_cli/launch/runner.py: main's is_hy4 test (Hy4 GGUF excluded) with the Ling is_ling32 and the widened is_native_strata; model_shape() returns None for a Hy4 GGUF, then the Ling shape; drafting_plan_line() has both the Ling and the Hy4 GGUF lines
- terminal/strata_cli/launch/cmd.py: the Ling --mtp help text and main's --drafting choices (dfly added)
- terminal/tools/strata_tokenizer.py: the ling32 family first, then main's deepseek test with DEEPSEEK3_PRES
- tools/docker/Dockerfile.src: the Ling CMake flags and main's -DSTRATA_BUILD_HY4_FLASH=ON
- terminal/data/settings-register.json and docs/SETTINGS.md: the Ling side kept for the hand-kept fields, then regenerated with tools/settings_register.py (1656 settings) and its --docs
- Dockerfile.src: BUILD_LING32 (off by default) builds strata-ling32 for the sm_80+ architectures and packages it
as shapes/ling32; fetch-engines.py fetches the ling32 shape package of a feed (a sixth column), with a test.
- settings register: the 43 settings the Ling engine reads (adaptive tier, prefetch, MTP controller, MLA kernel,
traces) with status and a note taken from the code comments; the engine-reads-nothing-unregistered test passes
again on the integration tree.
tools/packaging/build_cuda_linux.sh (x86 cuda12 / cuda13), tools/packaging/build_cuda_windows.py (cuda12 / cuda13), tools/docker/Dockerfile.src
and the cuda-compile preset (the CUDA compile CI job mirrors the release flags). HIP, SYCL and Metal builds are unchanged (OFF), and
STRATA_BUILD_HY4_FLASH_METAL stays OFF; the arm64 DGX Spark build (engine/spark/build_engine.sh) is not touched: Hy4 has not been built or run on arm64.
Owner decision for 0.2.24: Hy4-Flash GGUF for NVIDIA only.
collect_libs.py bundles libatomic.so.1 and libgomp.so.1 from the build machine
without a flag and writes their notices to <out>/licenses/. package_engine.py
without --tree packs top-level files only, so the notice reaches the package
only with --include 'licenses/*'. The Inkling stage of Dockerfile.src has it
since the previous commit; this adds it to the other packagers that run
collect_libs.py and package_engine.py:
- tools/docker/Dockerfile.src: the engine and Hy4 packages
- tools/packaging/build_cuda_linux.sh, build_cuda_linux_aarch64.sh
(aarch64 packs what engine/spark/build_engine.sh collected)
A package without a licenses folder is unchanged (the glob matches nothing).
Tests: test_engine_deps_linux checks libgomp.so.1 is on the bundle list with
its notice; test_bundle_system_notices checks every package script that calls
collect_libs.py, and all three package_engine calls in Dockerfile.src, pass
--include 'licenses/*'.
From PR #7189 by @rafal-prasal, applied unchanged.
The source Docker build (tools/docker/Dockerfile.src, BUILD_INKLING=1) stopped at
"strata-inkling needs libgomp.so.1": strata-inkling is linked against OpenMP,
binary_deps.py does not count libgomp as a base system library since 0.2.14, and
collect_libs.py left it to the OS.
- collect_libs.py: libgomp.so.1 joins BUNDLE_FROM_SYSTEM, so it is copied from the
build machine with its notice, like libatomic.so.1.
- tools/packaging/notices/libgomp.txt: the notice (GPL-3.0-or-later WITH
GCC-exception-3.1).
- Dockerfile.src: the inkling2 shape passes --include 'licenses/*', so the notice
travels in the package.
Since the layout move /engine/ is the engine's source, but tools/docker/Dockerfile.src.dockerignore still carried the old /engine/ line (the built engine of setup.py), so the build context had no engine/ and `cmake -S engine` could not run. The list now names the folders .gitignore names for the built engines (/terminal/engine/, /terminal/engine-sycl/, /terminal/engine-cuda12/, /engine-sycl/, /engine-cuda12/) and the vendored llama.cpp at its new place (engine/third_party/llama.cpp, terminal/third_party/llama.cpp).
There is no Dockerfile at the repository root, so the commands in docs/DOCKER.md and in the Dockerfile.src header now name it with -f tools/docker/Dockerfile.src (the ignore list next to it is only read then) and pass STRATA_COMMIT, which the Terminal stage needs because .git is not copied. The CUDA 12 example uses nvidia/cuda:12.9.2-devel-ubuntu24.04 (the tag exists) and no longer says BUILD_VISION=0: the picture reader is built for the same architectures as the engine, sm_60 / 61 / 70 included, and package_engine.py checks vision_archs against the package's archs; BUILD_VISION=0 stays documented as the opt-out.
terminal/tests/terminal/test_docker_src_context.py reads the ignore list the way docker does and checks that no tracked file under engine/, tools/ or terminal/ is cut out, that the engine source is in, that the built-engine folders are out, and that every documented source build names the Dockerfile with -f. It fails on the old files and passes now.
Based on the report and change of #6064 by rafal-prasal (credited in the release notes).
The source image copies the repository root to /src. Its engine stage ran `cmake -S .` (the root has no CMakeLists.txt since the layout move)
and its Terminal stage ran /src/packaging/package_terminal.py (the script is in tools/packaging). Both lines now name the moved places;
the rest of the file already did.
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.