Commit Graph
13 Commits
Author SHA1 Message Date
Niko1221 db4b257754 fix(docker): fix MODEL_PATH validation, package shape engines in Dockerfile.src, update docs to 0.2.20 2026-11-23 01:04:51 +01:00
Niko1221 ddca992850 Merge branch 'f-0220-nextgen' into f-0220-int
# Conflicts:
#	engine/src/hy4flash/run/hy4_gpu_model.hip.h
#	engine/src/hy4flash/run/hy4_main.hip.cpp
#	engine/src/inkling2/cuda/ink_hybrid.cuh
#	engine/src/inkling2/cuda/ink_runner.cuh
#	engine/src/inkling2/hip/ink_hip_backend.hip.cpp
#	engine/src/program/generate.cpp
2026-11-22 15:05:59 +01:00
Niko1221 09616de6da inkling2: support local GGUF/.strata import and suppress Qwen engine prompts when shape engine is installed 2026-11-22 14:21:41 +01:00
Niko1221 7aaa789a94 feat(nextgen): apply NextGen integration across engine, qwen35, hy4flash, and inkling2 2026-11-22 13:12:57 +01:00
Niko1221 6d355890ff Merge f-0219-ink-app: Inkling-2-Mini TUI, Desktop GUI, serve dialect, and packaging 2026-11-22 01:37:18 +01:00
Niko1221 d8540c1331 inkling2: add TUI, Desktop GUI, control, private HF auth, serving, and Docker support
Add full Inkling-2-Mini (SQ-20, SQ-15, SQ-10, Vision) support across Terminal TUI, Desktop GUI, setup.py, strata_control (inkling_fit, inkling_family, shape_engine component strata-inkling, pictures, discovery, doctor, transfer HF_TOKEN auth), serve (inkling_dialect, inkling_kind, InklingOutputParser, 6-level reasoning_effort none..max, parallel 1..64), tools/packaging, and Docker shape bundling. Includes unit and end-to-end tests for Python and Desktop host.
2026-11-21 20:56:15 +01:00
Niko1221 b60658cae5 hip: first-class Radeon 780M (gfx1103) and Strix Point (gfx1150) iGPU support with UMA coherent GTT allocation and <=1s TDR/MES guards 2026-11-21 19:58:13 +01:00
Niko1221 bde1682d1a hy4: add AVX-VNNI + S8_K fast CPU kernels, cgroup limits, and Docker shape-engine support 2026-11-21 16:29:40 +01:00
Niko1221 b4a305a1a0 The source Docker build works again: the ignore list stops cutting out engine/
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).
2026-11-20 07:11:56 +01:00
Niko1221 79e0c7d040 Docker: a Podman section, the measured sizes, and the no-GPU message names Podman's way too
docs/DOCKER.md: Podman (rootless, on Ubuntu): the CDI file Podman 4.9 cannot read and the by-hand GPU flags; systemd-oomd ending the load, what
helps and that --cgroups=disabled does not (conmon and the container stay below user@ with it); the IQ3_XXS pack is 1.5 GB (the volume 3.1 GB),
not "about 40 GB"; the image sizes of 0.2.16 on disk and as a download.
tools/docker/entrypoint.sh: the "NVIDIA card but no GPU in the container" message and the card-does-not-match hint name Podman's
--device nvidia.com/gpu=all and the by-hand way.
2026-11-19 01:08:37 +01:00
Niko1221 19f18e1037 Docker: the image build context carries engine/third_party/strata-gguf-py (the Terminal bundle's model preparation tools; the first v0.2.16 image build stopped without it) 2026-11-18 23:07:39 +01:00
Niko1221 926bd1cf9e Dockerfile.src: the engine is configured from engine/ and the Terminal is packaged with tools/packaging/package_terminal.py
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.
2026-11-17 16:55:10 +01:00
Niko1221 4058aa782b Layout move for 0.2.16: the top level becomes app/, engine/, terminal/, docs/, tools/ and .github/
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.
2026-11-17 13:19:21 +01:00