Skip to content

docs: the rest of the ds4 sweep #757 started, and the pin table checked row by row - #762

Merged
bong-water-water-bong merged 1 commit into
mainfrom
docs/ds4-sweep
Nov 1, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
docs/ds4-sweep

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

The rest of the sweep #757 started, plus the pin table checked row by row. Docs only — no code, no pins, no numbers invented.

#757 took DwarfStar out of README.md, docs/architecture.md, docs/dwarfstar.md and docs/releases.md. After it, grep -rn -i -E 'ds4|dwarfstar' docs/ still matched four pages that described the route as something this build runs, or counted its binaries among the release's:

page what was left fix
docs/serve.md the usage block, the route table and the child-binary paragraph all listed --device ds4 / --ds4 / --ssd-streaming / ds4-server as offered a status note under the usage block (not in the shipped build, ONEBIT_DS4=OFF, #757; kept for a -DONEBIT_DS4=ON build), the DwarfStar row of the route table marked the same way with "those models run on hrx", and the child-binary paragraph now says the shipped build has no -DONEBIT_DS4, so the route needs a ds4-server from $ONEBIT_DS4 or PATH
docs/lemonade.md two lists said "NPU model directories, DwarfStar, --pm and --laya" still run through 1bit serve dropped DwarfStar — the shipped backend no longer offers the route; the one-hop statement and the NPU/--pm/--laya half are unchanged
docs/os-v3.md "173 MB is what ldd on the release's llama-server, ds4 and libggml-hrx.so needs here" the release has not carried ds4 since #757, so the bullet names the two binaries it does carry and dates the 173 MB to when ds4 was still in the package (no new number is claimed: today's set is no larger)
docs/releases.md the artifact-contents row said "no Vulkan or ROCm llama.cpp since RFC #213 stage 3" twice — #757 added the clause beside a sentence that already ended with it once

Left alone on purpose: docs/hrx.md's single mention (third_party/ds4's ROCM_MMQ_Y is not in the HIP bundle — still true of the submodule), and the 37 mentions in docs/dwarfstar.md, which is the reference page and carries #757's banner.

The pin table, re-derived

Checked against the commit the image was built from, not against main (the table describes that image):

git ls-tree e7446eef3 third_party/llama.cpp   -> 4a58da9b087d   (table: 4a58da9b087d)
git ls-tree e7446eef3 third_party/hrx-system  -> 82804197bcbe   (table: 82804197bcbe)
git ls-tree e7446eef3 third_party/lemonade    -> ef0f3b490a27   (table: 2026.46.0~5.ef0f3b49 = that fork main, #744)

All three rows match, and main's submodules are the same three today, so the table needs nothing further.

…ed row by row

#757 took DwarfStar out of README, architecture.md, dwarfstar.md and releases.md. Four pages
still described it as something this build runs, or counted it among the shipped binaries:

- docs/serve.md: a status note under the usage block (the ds4 route is not in the shipped
  build, ONEBIT_DS4=OFF, #757), the DwarfStar row of the route table marked the same way
  (those models run on hrx), and the child-binary paragraph says the shipped build has no
  -DONEBIT_DS4, so the route needs a ds4-server from $ONEBIT_DS4 or PATH.
- docs/lemonade.md: two lists said DwarfStar still runs through '1bit serve' on the Lemonade
  side; dropped, since the shipped backend no longer offers the route (the one-hop and
  NPU/--pm/--laya statements stay).
- docs/os-v3.md: the ROCm-subset bullet measured ldd over the release's llama-server, ds4 and
  libggml-hrx.so. The release has not carried ds4 since #757, so the sentence now names the
  two binaries it does carry and dates the 173 MB to when ds4 was still in the package.
- docs/releases.md: the artifact-contents row carried the 'no Vulkan or ROCm llama.cpp since
  RFC #213 stage 3' clause twice (#757 added it beside the sentence that already ended the
  row); once.

Left alone on purpose: docs/hrx.md's single mention (third_party/ds4's ROCM_MMQ_Y is not in
the HIP bundle - still true of the submodule), and the 37 mentions in docs/dwarfstar.md, which
are the reference page.

Pin table, re-derived against the commit the image was built from rather than against main:
e7446ee's third_party/llama.cpp is 4a58da9b087d, hrx-system 82804197bcbe, lemonade
ef0f3b490a27 (the row's 2026.46.0~5.ef0f3b49, fixed in #744, is that fork main). All three
rows match the table, and main's submodules are the same three today.

Docs only: no code, no pins, no numbers invented.
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Incomplete Documentation of DS4 Route

The documentation states that the ds4 route is not included in the shipped build and requires a ds4-server from $ONEBIT_DS4 or PATH, but it does not clearly specify the implications of this for users who might attempt to use the --device ds4 flag. This could lead to confusion or misconfiguration if users are not aware that the route is unavailable in the default build.

> **The `ds4` route is not in the shipped build** (owner decision 2026-11-01: the release ships HIP kernels
> only, so it is built with `-DONEBIT_DS4=OFF`, [#757](https://github.com/1bit-MONSTER/engine/pull/757)).
> `--device ds4`, `--ds4` and `--ssd-streaming` stay documented below for a `-DONEBIT_DS4=ON` build, which is
> also the only kind that provides the `ds4-server` they start ([dwarfstar.md](dwarfstar.md)).
Missing Clarification on DwarfStar Model Support

The documentation notes that certain DwarfStar .gguf models are not supported in the shipped build, but it does not provide a clear alternative or guidance for users who might have these models. This could result in users being unaware of the limitations or how to proceed.

| DwarfStar `.gguf` (DeepSeek V4 Flash, GLM 5.x, Qwen3.8-Flash-Next in its own layouts) | `ds4` | this build's DwarfStar `ds4-server` (HIP; `--ssd-streaming` streams routed experts; docs/dwarfstar.md). **Not in the shipped build** (`ONEBIT_DS4=OFF`, [#757](https://github.com/1bit-MONSTER/engine/pull/757)): those models run on `hrx` |

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: READY

At 4f98c7be — first review, build green. Four docs files, +16 −7, tools/copyright.py --check rc 0.

A sweep removing DwarfStar from the shipped-route documentation after #757, and the reason it is worth a careful read is that docs like these are what someone follows when a --device ds4 fails. It gets that right in the places it counts:

  • docs/serve.md gains an explicit note that --device ds4, --ds4 and --ssd-streaming "stay documented below for a -DONEBIT_DS4=ON build, which is also the only kind that provides the ds4-server they start", plus the routing-table row now ends "Not in the shipped build (ONEBIT_DS4=OFF, #757): those models run on hrx";
  • the child-binary paragraph now says the shipped build has no -DONEBIT_DS4, so the route needs $ONEBIT_DS4 or a ds4-server on PATH — and I checked both claims against the code: app/serve.cpp:1465 is constexpr int kServeOnly = 5; (the "(serve exits 5 for them)" clause), and :317 really is std::getenv("ONEBIT_DS4") for the child path;
  • docs/os-v3.md's ROCm-subset risk row now says 173 MB was measured while the release still carried ds4, so today's set is no larger — an honest note rather than a silent edit;
  • docs/lemonade.md drops DwarfStar from the two lists of routes that stay with 1bit serve.

It also removes a duplicated clause in docs/releases.md ("… no Vulkan or ROCm llama.cpp since RFC #213 stage 3. No Vulkan or ROCm llama.cpp since RFC #213 stage 3") — a real cleanup, not padding, and the kind of thing that only gets noticed when someone reads the paragraph properly.

Not verified: nothing here is executable beyond the copyright check; the historical statements ("no Vulkan or ROCm llama.cpp since RFC #213 stage 3") match what the rest of the tree says.

tprs-ready applied.

@bong-water-water-bong bong-water-water-bong added the tprs-ready TPRS: review verdict READY posted by the standing reviewer; merge gate satisfied label Nov 1, 2026
@bong-water-water-bong
bong-water-water-bong merged commit 5d01a92 into main Nov 1, 2026
10 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the docs/ds4-sweep branch November 1, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review effort 2/5 tprs-ready TPRS: review verdict READY posted by the standing reviewer; merge gate satisfied

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant