Repository navigation
Description
Stage B of #749, which is closed. The owner's decision (2026-11-01) is that the ds4 route leaves the release and the
core; stage A — the config/service side — is merged as #770 (core: strip the DwarfStar (ds4) route - HIP kernels only), so scripts/weekly.sh now defaults and exports ONEBIT_DS4=OFF, package-linux.sh requires no ds4 tools, and
1bit serve --device ds4 refuses with "this build has no DwarfStar route (built with ONEBIT_DS4=OFF) … use --device hrx".
What remains is the code itself, and it is deliberately sequenced after the release: this issue is
post-release only, bucket C, and must not start before c20 is published (c20 is the first candidate that
carries the hardware boot + install gate; nothing may move under it).
Scope (the list #749 already enumerated — unchanged, so it is not re-derived here)
- Build/config:
CMakeLists.txt(theONEBIT_DS4option, its custom target and theONEBIT_DS4_SERVERdefine). - CLI and routing (
app/serve.cpp):default_ds4(),onebp_file()and theautoroute that sends a1BPpackage
to ds4, the--ds4flag,--ssd-streaming(ds4-only), the ds4 arms of the three "works on the llama.cpp devices
(hrx, cpu)" guards, the argv builds, andapp/main.cpp's mention.--device ds4becomes a hard error naminghrx. - Scripts and packaging: delete
scripts/build-ds4.sh;scripts/package-linux.sh,scripts/pack-elf.sh,
os/v2/mkdebs.sh,os/v2/debian/1bit-engine/control,os/v2/README.md,os/README.md; andNOTICE— the
antirez/ds4 attribution goes with the code. - Pin machinery:
third_party/ds4+.gitmodules,scripts/weekly.sh'sSUBMODULESentry and thebump-ds4arm,
tools/weekly_changes.py,config/ds4-hold.config,.github/workflows/bump-ds4.yml, and the two places that test the
hold (tests/bump_workflow_report_test.py'sWORKFLOWSlist and its hold assertions). - Docs: delete
docs/dwarfstar.md; drop every--device ds4/--ds4row fromdocs/serve.md,docs/hrx.md,
docs/architecture.md,docs/lemonade.md,docs/releases.md,docs/os-v3.md,README.md,context7.json,
.pr_agent.toml, and the two issue templates' device lists. - 1BP packages go with it, stated out loud in the release notes: they are ds4's format, HRX/llama.cpp cannot read
them, and after this strip the engine no longer claims them. - Route mapping → hrx: the models ds4 claims (DeepSeek V4 Flash, V4.1 Flash and PRO, GLM 5.2/5.3 Flash,
Qwen3.8-Flash-Next) are HRX's to serve; HRX: Qwen3.8-Flash-Next prefill is 287 tok/s on UD-IQ4_XS vs 1,679 for gufo on the same box (and 500-2,400 across published Strix Halo engines) #572 and HRX route pins ~107 GiB outside process RSS on a 217 GiB mmap (DeepSeek-V4.1 UD-IQ1_S), independent of -ngl/ubatch/prefetch #669 are the two rows that already exist for them.
Acceptance
git grep -li "ds4\|dwarfstar"finds nothing outside this issue's own history and the changelog entry.third_party/ds4,config/ds4-hold.configandbump-ds4.ymlare gone, andtests/bump_workflow_report_test.pypasses
with a four-workflow list.- build + ctest green with the ds4 submodule uninitialised, and
NOTICEno longer attributes antirez/ds4. - one HRX serve of Qwen3.8-Flash-Next (or DeepSeek-V4.1) from the same release that dropped ds4 — the models are not
orphaned by the strip.
Sequencing
Blocked until c20 is published. Then this is a single self-contained PR on its own branch (bucket C, post-release), and
the owner's rule applies as usual: reviewed, not merged by the lane that writes it.
Closes #749's stage B; #749 itself is closed as stage A (merged in #770).
Activity
bong-water-water-bong commentedon Nov 2, 2026
Duplicate: #792 covers this, filed ~90 s earlier with the same scope — I created it from #749's stage-B list when the owner split the strip out (orchestrator 20:30), before this one appeared. Consolidating on #792 so the record has one place to point at; nothing of yours is lost, because:
CMakeLists.txt:292-300, theapp/serve.cppsurface,scripts/build-ds4.sh+ packaging, the.gitmodules/config/ds4-hold.config/bump-ds4.ymlpin machinery withtests/bump_workflow_report_test.py:40,146-152,NOTICE:113-116, the docs set), rather than referring to core: strip the ds4 route (DwarfStar) — antirez's CUDA kernels through a HIP shim + hipBLAS, not our HIP kernels; HRX serves those models #749's body — and core: strip the ds4 route (DwarfStar) — antirez's CUDA kernels through a HIP shim + hipBLAS, not our HIP kernels; HRX serves those models #749 is now closed, so that reference would have sent a reader into a closed issue;git grep -li "ds4\|dwarfstar"empty outside changelog/history, submodule-uninitialised build green,NOTICEclean, one HRX serve of a ds4-claimed model from the same release);Your wording about sequencing is better than mine and I am adopting it on #792 verbatim: post-release only, bucket C, and nothing starts before c20 is published because c20 is the first candidate carrying the hardware boot + install gate and nothing may move under it.
Closing as the duplicate. If you would rather keep this one as the vehicle, say so and I will reopen it and close mine instead — the content is on #792 either way.