Skip to content

core: strip the ds4 route — stage B: delete the route, its pins, NOTICE and docs (stage A shipped in #770) #792

Closed

Description

@bong-water-water-bong

Stage B of the ds4 strip, split out of #749 on the owner's word (orchestrator 2026-11-01 20:30): #749 closes on stage A, and the deletion pass is sequenced after c20 — hence its bucket is C, not a c20 blocker.

Where stage A left it

#770 → 616849a2e (and, before it, #756 packaging, #736 knobs, #757 docs) took ds4 off the release path: ONEBIT_DS4 is OFF by default (scripts/weekly.sh:52, CMakeLists.txt:292), the preflight no longer fails a release for a missing ds4 hipcc, and a build without the route says so instead of hunting a PATH binary:

--device ds4: this build has no DwarfStar route (built with ONEBIT_DS4=OFF). DeepSeek V4.x, GLM 5.x and
Qwen3.8-Flash-Next run on --device hrx (docs/dwarfstar.md)

The route, however, is still in the tree — that is this issue.

Scope (what is still at main, checked 2026-11-01 19:20)

  1. Build/config — CMakeLists.txt:292-300 (option, custom target, ONEBIT_DS4_SERVER define).
  2. CLI and routing — app/serve.cpp: default_ds4() :316-325, onebp_file() :309-314, the auto route that sends a 1BP package to ds4 at :1628-1631, --ds4, --ssd-streaming (ds4-only, :937), the ds4 arms of the three "works on the llama.cpp devices (hrx, cpu)" guards (:1072, :1098, :1117), the argv build at :1053-1055, :1639, :2776, :2911, and app/main.cpp:18. After the strip --device ds4 is simply not a device.
  3. Scripts and packaging — scripts/build-ds4.sh (delete), scripts/package-linux.sh:56,129, scripts/pack-elf.sh:36, os/v2/mkdebs.sh:98, os/v2/debian/1bit-engine/control:10, os/v2/README.md:62,177, os/README.md:90 (ds4:rocm container), NOTICE:113-116 (the antirez/ds4 attribution goes with the code).
  4. Pin machinery — the .gitmodules entry third_party/ds4, scripts/weekly.sh:48, 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:40 WORKFLOWS, :146-152).
  5. Docs — docs/dwarfstar.md (delete), docs/serve.md:497-498 and every --device ds4 / --ds4 row, docs/hrx.md, docs/architecture.md, docs/lemonade.md, docs/releases.md, docs/os-v3.md, README.md, context7.json:22, .pr_agent.toml:43, .github/ISSUE_TEMPLATE/{bug_report,model_request}.yml's device lists.
  6. Route mapping → hrx — the models ds4 claimed (DeepSeek V4 Flash, V4.1 Flash/PRO, GLM 5.2/5.3 Flash, Qwen3.8-Flash-Next) are HRX's to serve; two are already board rows (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 prefill 287 vs 1,679 tok/s, 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 V4.1 residency). The strip creates no work there — it removes the alternative.

Acceptance

  • git grep -li "ds4\|dwarfstar" finds nothing outside this issue's history and the changelog entry;
  • third_party/ds4, config/ds4-hold.config and bump-ds4.yml are gone, and tests/bump_workflow_report_test.py passes with a 4-workflow list;
  • build + ctest green with the submodule uninitialised;
  • NOTICE no longer attributes antirez/ds4;
  • one HRX serve of Qwen3.8-Flash-Next (or DeepSeek-V4.1) runs from the same release that dropped ds4 — the models are not orphaned by the strip.

Stated out loud because it is a real consequence: 1BP packages go with DwarfStar. They are ds4's format (app/serve.cpp:309-314, docs/dwarfstar.md), HRX/llama.cpp cannot read them, and after the strip the engine stops claiming them. Anyone holding a 1BP file needs the ds4 fork as a separate tool or a conversion — a decision for whoever holds one.

Related

Activity

  1. added
    enhancement
    hrx
    on Nov 2, 2026
  2. bong-water-water-bong commented on Nov 2, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Board placement: bucket C — lane-fixable but sequenced after c20 by the owner (orchestrator 2026-11-01 20:30), so it does not hold the c20 trigger. Owner lane pi-release. #749 closed on stage A (#770 → 616849a2e).

  3. bong-water-water-bong commented on Nov 2, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Owner sequencing, adopted from the duplicate #793 (which I closed as a duplicate of this issue, filed ~90 s after it): post-release only, bucket C, and nothing starts before c20 is published — c20 is the first candidate carrying the hardware boot + install gate, so nothing may move under it. Full file list and stage-B acceptance are in this issue's body; 1BP packages go with the route.

  4. bong-water-water-bong commented on Nov 2, 2026

    @bong-water-water-bong
    CollaboratorAuthor

    Closed on the strip itself — #827 → merge d04cbf16a (main's head, 2026-11-02 17:50:07Z). Verified at the merged tree, not from the PR body:

    what the acceptance asked what is at origin/main
    submodule gone git ls-tree origin/main third_party/ds4 → empty; .gitmodules → 0 ds4 blocks (at c20's commit a5271d92b287 it was still 160000 commit 5b013dc1bb… and 3 blocks — this merge is what removed them)
    the whole deletion pass docs/dwarfstar.md, scripts/build-ds4.sh, config/ds4-hold.config, .github/workflows/bump-ds4.yml — all gone
    NOTICE clean 0 hits for dwarfstar/ds4
    a stale option cannot be silently ignored CMakeLists.txt:296-297 → FATAL_ERROR "ONEBIT_DS4 was removed with DwarfStar (owner 2026-11-01): drop the option and use --device hrx"
    the CLI tells the user the reason app/serve.cpp:287 --device ds4, :947 --ssd-streaming, :2706 --ds4, and :1630-1634 the 1BP message — each named, none "unknown option"

    One correction to the acceptance's wording, because it will be re-checked later: git grep -li "ds4\|dwarfstar" is not empty — 18 files still carry the words. All 18 are one of three deliberate kinds, and I checked every line rather than trusting the count:

    • historical incident notes — the four bump-*.yml failure-step comments and tests/bump_workflow_report_test.py:18-19 ("bump-ds4 from 2026-10-21 to 2026-10-30, before --device ds4 was removed");
    • product statements — README.md:113, docs/releases.md:46,48,79,347,388, docs/serve.md, docs/architecture.md, docs/hrx.md, docs/os-v3.md, .pr_agent.toml:43: "removed on 2026-11-02", which is the sentence a user needs;
    • deliberately kept — os/mini/mkimage.sh (the image strips Limeade's catalogue "recipe": "ds4" entry, which still exists upstream) and os/README.md (ds4:rocm is Lemonade's own recipe name, not our binary).

    So no live code path, no build target, no submodule and no instruction to use it remain — the acceptance is met in substance and not literally, and the difference is these 18 lines.

    Two things this close does not claim

    1. The 1BP product consequence is real and is not a cleanup. --device ds4 was the engine's only 1BP reader, so a .1bp package now fails with the message at serve.cpp:1630-1634 instead of running. The PR asked for the owner's word on exactly that, and the merge answers it on the owner's side — recorded here rather than re-litigated.
    2. "one HRX serve of a ds4-claimed model from the same release" is not covered. It needs a release artifact and one gpu-hold claim, and it is the release lane's row, not mine — I am not claiming a serve I did not run. DeepSeek V4.x / GLM 5.x / Qwen3.8-Flash-Next on --device hrx from the next candidate is the check.

    Sequencing, for the record

    This issue was bucket C: "post-release only, nothing starts before c20 is published". It merged at 17:50Z today, and c20 was built from main at a5271d92b287 (12:28Z), which still carries the gitlink and the three .gitmodules blocks — so c20 ships stage A only (ONEBIT_DS4=OFF, no ds4 binaries), and nothing in c20's docs claims the tree is stripped (I grepped: the only "out of the tree" hits at that commit are about file links). No false claim ships. The strip is c21+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhrx

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions