…ic hook
The 35B NPU route (its host code, kernel pin, build script, tests and golden
files) now lives in the private npu-kernels repository. The engine keeps only
npu/private_route.h: -DONEBIT_NPU_PRIVATE=<npu-kernels checkout> builds that
checkout's addons/ into 1bit, which registers routes by model_type and optional
subcommands; `1bit serve --npu-opt KEY=VALUE` passes options through. Without the
add-on, serving a Qwen3.6-35B-A3B directory says the route is not part of this
build. The fast lane is unchanged.
Removed: third_party/OpenFlowLM-Next (and its NOTICE entry), scripts/build-lax.sh,
npu/lax*, app/npu_lax*, tests/npu_lax*, tests/golden/npu_lax, docs/npu-lax.md,
the ONEBIT_NPU_LAX* options and --npu-kernels/--npu-transport/--npu-snapshots.
Added: npu/private_route.{h,cpp}, tests/npu_private_route_test.cpp (in CI), and
docs/npu.md "Private routes".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Qwen3.6-35B-A3B NPU route is now closed source. Its code has moved to a private add-on, and the engine keeps only a small hook for it.
Removed
third_party/OpenFlowLM-Nextsubmodule and its NOTICE entryscripts/build-lax.shnpu/lax*app/npu_lax*and the1bit npu-laxcommandtests/npu_lax*andtests/golden/npu_lax/docs/npu-lax.mdONEBIT_NPU_LAX*CMake options--npu-kernels,--npu-transportand--npu-snapshotsflagsThe docs that mentioned the route now have a short note instead.
Added
npu/private_route.{h,cpp}: a registry of private NPU routes keyed bymodel_type, plus optional1bitsubcommands.-DONEBIT_NPU_PRIVATE=<npu-kernels checkout>(needs-DONEBIT_NPU=ON). It runsadd_subdirectoryon the checkout'saddons/, linksonebit_npu_privateand definesONEBIT_NPU_PRIVATE. At startup,1bitthen callsregister_private_addon().1bit serve --npu-opt KEY=VALUE(inunified:--opt), which passes options through to a route.1bit serve -m <Qwen3.6-35B-A3B dir> --device npuexits with:the Qwen3.6-35B-A3B NPU route is not part of this build; build with -DONEBIT_NPU_PRIVATE=<npu-kernels checkout>.tests/npu_private_route_test.cpp(ctestnpu_private_route), added to the CI target list.The fast lane is unchanged.
Tested on Strix Halo (2026-09-25)
-DONEBIT_NPU=ON):serveon the 35B directory prints the message above and exits 1.tests/serve_e2e.shwith Qwen3-0.6B onnpupasses.-DONEBIT_NPU_PRIVATE:serve_e2e.shwith Qwen3-0.6B onnpustill passes.🤖 Generated with Claude Code