…ple/Metal (replaces #396)
Policy: the engine is Lemonade's backend, not a distribution of its own. There is no
standalone engine tarball and no Windows package, and the engine is HRX with HIP kernels
on the GPU; every other backend (Vulkan, ROCm, CUDA, Metal/MLX, Windows) is Lemonade's.
- Unpublish 1bit-<tag>-linux-x86_64.tar.zst: weekly.sh unpacks the package-linux.sh tree
into the Lemonade + onebit package as 1bit/, next to the new lemond-onebit launcher
(scripts/lemond-onebit.sh) that points the onebit backend at the packaged engine.
docs/releases.md and tools/weekly_changes.py list the two remaining artifacts.
- Delete the Windows zip and its build: scripts/build-windows.sh, docs/windows.md, and
the package rows/steps and Windows doc notes elsewhere.
- Drop Apple/Metal: docs/apple.md is deleted, the mlx path and --mlx-server are gone from
app/serve.cpp and app/main.cpp (both now refused by name), and the serve_e2e_mlx test
is gone from CMakeLists.txt. --device ds4, --device onnx, hrx, cpu and npu are untouched.
- os/mini/vmtest.sh and os/README.md: the onebit recipe's backends are hrx and npu.
- cmake/laya-ggml.cmake: pass the same explicit GGML_VULKAN/HIP/CUDA/METAL=OFF as
cmake/hrx.cmake.
The XRT-free state on main is unchanged: no XRT argument, library or reference is
re-added, and scripts/package-linux.sh still takes no xrt argument.
Replaces #396 (closed as stale: it predated the self-contained-runtime work and encoded an undecided packaging policy). This re-creates its intent on current
main, after the policy decision.Policy
The engine ships only inside the Lemonade package. There is no standalone engine tarball and no Windows package. On the GPU the engine is HRX with HIP kernels; every other backend (Vulkan, ROCm, CUDA, Metal/MLX, Windows) is Lemonade's, through Lemonade's own backends and builds.
Removed
1bit-<tag>-linux-x86_64.tar.zst.scripts/package-linux.shstill packs the engine tree (it is the layout1bitexpects), butscripts/weekly.shnow unpacks it into the Lemonade + onebit package as1bit/and adds alemond-onebitlauncher (scripts/lemond-onebit.sh) that points Lemonade's onebit backend at the packaged engine (LEMONADE_ONEBIT_BIN). The staging tarball is never published;docs/releases.mdandtools/weekly_changes.pylist the two remaining artifacts.scripts/build-windows.shanddocs/windows.md; dropped the1bit-<tag>-windows-x64.ziprow/steps fromscripts/weekly.sh,docs/releases.md,tools/weekly_changes.py, and the Windows notes fromdocs/onnx.md,docs/serve.md,README.md,SECURITY.md.mlxdevice route. Deleteddocs/apple.md; removed the MLX path fromapp/serve.cpp(launch_for,default_mlx,--mlx-server, the usage and<model>help) andapp/main.cpp, and theserve_e2e_mlxtest fromCMakeLists.txt.--device mlxand--mlx-servernow refuse by name and point at Lemonade's own MLX backend.--device ds4and--device onnxare untouched.os/mini/vmtest.shandos/README.md: the onebit recipe's backends arehrxandnpu(the CPU stays the engine's own fallback, not a recipe backend); vulkan and cuda are gone from those lists.cmake/laya-ggml.cmake: the Laya ggml sub-build now passes the same explicit-DGGML_VULKAN=OFF -DGGML_HIP=OFF -DGGML_CUDA=OFF -DGGML_METAL=OFFascmake/hrx.cmake, so no other backend can be compiled into it (from Remove the remaining non-HRX backend paths #396).Kept
main: unchanged. No external-runtime argument or library is re-added (grep below).--device ds4), ONNX (--device onnx;docs/onnx.mdkeeps its ONNX content, only the Windows note changed).scripts/package-linux.shstill takes no runtime argument.Build and test
Every step under
~/lb/thermal-run.sh(nice 19, 4 spread cores, freeze at 78 °C) on strixhalo. The build resumed across thermal aborts caused by the concurrent #315 campaign (the box ran 89–95 °C) and finished on its third attempt.Route check on the built binary:
Not run:
serve_e2e_hrx/serve_e2e_cpu(they load a real GGUF on HRX0 throughllama-server) — the GPU is held by the #315 campaign (~/box.lock), and those tests are only registered with-DONEBIT_SERVE_TEST_GGUF.laya_route_e2e/laya_gateneed a Laya model root. All 30 registered tests are CPU/configure-level and passed (includingdevice_route, which covers the--device mlxrefusal added here).python3 tools/copyright.py --checkpasses (the newscripts/lemond-onebit.shcarries the notice).Not exercised by that build:
cmake/laya-ggml.cmake's new explicitGGML_VULKAN/HIP/CUDA/METAL=OFFline (Laya is off by default;cmake/hrx.cmakealready passes the same four flags for the HRX llama.cpp). DwarfStar and ONNX are off by default too and untouched by this PR.the vendor runtime
Every one of these is pre-existing on
main(the self-contained-runtime package checks inscripts/weekly.sh, theCMakeLists.txtcomments, andapp/forward_serve.cpp's use of the runtime's own API names in the NPU-only translation unit). This PR adds none of them and reintroduces no external runtime dependency.The packaging rows this PR rewrites state only the negative fact (
no external runtime); they do not carry any wording about how the NPU route is implemented.🤖 Generated with Claude Code