Skip to content

core: strip the ds4/DwarfStar code itself (stage B of #749) — post-release, after c20 #793

Closed

Description

@bong-water-water-bong

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)

  1. Build/config: CMakeLists.txt (the ONEBIT_DS4 option, its custom target and the ONEBIT_DS4_SERVER define).
  2. CLI and routing (app/serve.cpp): default_ds4(), onebp_file() and the auto route that sends a 1BP package
    to ds4, the --ds4 flag, --ssd-streaming (ds4-only), the ds4 arms of the three "works on the llama.cpp devices
    (hrx, cpu)" guards, the argv builds, and app/main.cpp's mention. --device ds4 becomes a hard error naming hrx.
  3. 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; and NOTICE — the
    antirez/ds4 attribution goes with the code.
  4. Pin machinery: third_party/ds4 + .gitmodules, scripts/weekly.sh's SUBMODULES entry and the bump-ds4 arm,
    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's WORKFLOWS list and its hold assertions).
  5. Docs: delete docs/dwarfstar.md; drop every --device ds4 / --ds4 row from docs/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.
  6. 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.
  7. 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.config and bump-ds4.yml are gone, and tests/bump_workflow_report_test.py passes
    with a four-workflow list.
  • build + ctest green with the ds4 submodule uninitialised, and NOTICE no 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

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

    @bong-water-water-bong
    CollaboratorAuthor

    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:

    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.

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