Skip to content

Bump Lemonade: 1bit-MONSTER/lemonade 1cb46be46954 - #432

Merged
bong-water-water-bong merged 2 commits into
mainfrom
bump-lemonade/1cb46be46954
Oct 16, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
bump-lemonade/1cb46be46954

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Moves third_party/lemonade from 4812a6832c92 to the fork's main 1cb46be46954.

Fork commits (last 30):

  • cf632cba9 Auto-install specified backends with lemonade bench (#3690)
  • 4aa5fc5e2 test: remove flaky test_000b_retired_endpoints_removed (#3720)
  • 40827a33c Add Windows support for TheNoise (#3666)
  • b3cf539d2 Don't fail HTTPS requests on Windows when cert revocation status is unknown (#3716)
  • b01156fb2 fix(server): watch extra_models_dir's nested folders on Linux and macOS (#3726)
  • ff3b1ce13 docs(models): specify extra_models_dir behavior in the custom model guide (#3633)
  • d4342e40d test(models): describe extra_models_dir layouts declaratively (#3634)
  • 35e62510d fix(models): group shard files at the extra_models_dir root (#3656)
  • f0a718d94 ci(hrx): bump hrx to b99 + add 26 perplexity-verified models (#3723)
  • 89635051a chore(backends): bump FastFlowLM to v1.0.7 (#3744)
  • 7dc09e21a fix(http): make download stall timeouts follow global_timeout (#3730)
  • ee87a42ea fix(models): give a shared folder name to one model in both forms (#3657)
  • 4ddca6d13 Change evaluation date for AI content policy (#3760)
  • 79ab98d3a bump TheNoise version (#3750)
  • e4bcbd643 feat(models): support Hugging Face and ModelScope caches in extra_models_dir (#3635)
  • 886d0cd58 fix(tray): make --spawn-server a no-op on macOS (#3756)
  • b83cc1b55 docs: add the container backends spec (#3697)
  • aa085f90a Update llama.cpp to b11393, rocm-stable to b11395, rocm-nightly to b1338 (#3754)
  • 2aedebc48 fix(models): preserve catalog identities in extra_models_dir (#3805)
  • 1cb46be46 Sync upstream lemonade-sdk/lemonade v2026.42.1 (2aedebc48586)

CI here has no GPU. Before merging, on Strix Halo:
scripts/build-lemonade.sh ~/.cache/lemonade-pin, then Lemonade's LLM suite through the onebit recipe (docs/lemonade.md).

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit 2aa204f)

Here are some key observations to aid the review process:

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

Subproject Update

The PR updates the lemonade subproject to a new commit. While this is a straightforward update, it's important to verify that the new commit doesn't introduce any breaking changes or regressions in functionality, especially considering the specific hardware and backend requirements of the 1bit engine.

Subproject commit 1cb46be4695414e5155f3ebc7a45c8795755465f

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Triage (review only, nothing merged or pushed).

Diff: one gitlink move, third_party/lemonade 4812a6832c92 -> 1cb46be46954. Fork compare: ahead 20, behind 0, 33 files.

Onebit backend: untouched.

  • All 5 onebit paths are blob-identical at both pins: src/cpp/include/lemon/backends/onebit (915942f3), onebit.h (57ac609a), onebit_server.h (b4b5fa42), src/cpp/server/backends/onebit (ff79611f), onebit_server.cpp (20f43b05).
  • No line of the 4523-line compare diff contains "onebit" (case-insensitive), not even as hunk context.

Device default: no vulkan anywhere in the route.

  • onebit_server.cpp:115-119 (unchanged): an unset onebit_backend is forced to "auto", because Lemonade's get_option() would otherwise fill the first supported backend and bypass 1bit serve's own routing.
  • docs/dev/backends-reference.md: the onebit rows are unchanged (onebit_backend, CLI --onebit, default "", "auto, hrx or npu"); the file's only change is the thenoise platform row.
  • src/cpp/server/config_file.cpp (7c9ae8ae) and src/cpp/include/lemon/config_file.h (5c67ad9c) are identical at both pins, so no config default moved.

backend_versions.json: the onebit block (hrx 0.0.1, npu 0.0.1) is not in any hunk. Moved entries: llamacpp vulkan/cpu/metal b10825 -> b11393, rocm-stable/cuda b10820 -> b11395, rocm-nightly b1324 -> b1338, llamacpp-hrx hrx b69 -> b99 (with its new sha256), flm v1.0.6 -> v1.0.7, thenoise 0.7.1 -> 0.10.0; plus new openmoss/acestep/thinksound/trellis checksum blocks.

Packaging vs #431: no conflict.

  • No changed file resolves LEMONADE_ONEBIT_BIN or installs the onebit backend. scripts/lemond-onebit.sh only exports it and execs the package's lemond.
  • CMakeLists.txt changes are two APPLE-only test framework links; the onebit registration is intact at the new tip (the fork's own sync workflow merges upstream and refuses a merge that loses it: sync-lemonade-fork.yml merge guard, grep -q '"onebit|onebit"' CMakeLists.txt).
  • test/server_llm.py — the file scripts/weekly.sh runs (--wrapped-server onebit --backend hrx) — is unchanged. This bump's suite churn is in test/server_endpoints.py.

Docs drift: python3 ~/docs-drift/docs_drift.py 1bit-MONSTER/engine 432 -> "No findings".

Not checked here: the Strix Halo run the PR body asks for (scripts/build-lemonade.sh ~/.cache/lemonade-pin, then the onebit LLM suite). hw_gate is skipping in CI, so that is the one open gate. Nothing in the diff blocks the merge.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Hardware gate on Strix Halo (HRX) — pass. Nothing merged.

Build (worktree ~/wt/pr432 at 2f356ce8f5f9, lemonade submodule 1cb46be46954):
scripts/build-lemonade.sh ~/.cache/lemonade-pr432 → lemond version 2026.44.0~1.1cb46be4, 3m05s, run under ~/lb/thermal-run.sh. (Fresh prefix on purpose: the existing ~/.cache/lemonade-pin/build was configured from a different source tree and cmake refuses to reuse it; that prefix was left untouched.)

Suite — Lemonade's own, from the moved pin:

LEMONADE_ONEBIT_BIN=~/wt/engine-main-game/build/1bit \
  ~/.cache/lemonade-pr432/bin/lemond --port 13399 ~/wt/pr432-hw/state/cache ~/wt/pr432-hw/state/config &
cd third_party/lemonade
PATH=~/.cache/lemonade-pr432/bin:$ENGINE:$PATH LEMONADE_ONEBIT_BIN=$ENGINE/1bit LEMONADE_TEST_PORT=13399 \
  ~/.cache/lemonade-pr432-venv/bin/python test/server_llm.py --wrapped-server onebit --backend hrx

Result: Ran 31 tests in 108.364s — OK (skipped=2) → 29 run, 29 pass, 0 fail, 2 skipped. This matches docs/lemonade.md's record for HRX (29/29 run, all pass, 2 skipped). The two skips are what the onebit recipe declares unsupported: test_011_completions_with_echo (echo parameter) and test_014_generation_parameters (generation parameters).

It really ran on HRX through the recipe — lemond logged the engine, not a fallback: 1bit serve: Qwen3-4B-Instruct-2507-1bit on hrx, nomic-embed-text-v2-moe-1bit on hrx embedding, jina-reranker-v1-tiny-en-1bit on hrx reranking, LFM2-1.2B-1bit on hrx. 0 amdgpu ring timeouts in the kernel log during the run.

Engine under test: ~/wt/engine-main-game/build/1bit (1bit 0.0.1, sha256 fbe61fce…) — that tree is clean at 6dd709f, this PR's parent, with third_party/llama.cpp 1a5dcba2aa and third_party/hrx-system 3319e53619, i.e. this PR's pins; the PR moves only the Lemonade gitlink, so this is the engine at the PR's pins (and the same binary pi-minecraft is playing Minecraft with). Not rebuilt here.

One non-fatal anomaly: the engine logged ggml_hrx: synchronous download fallback for an unregistered host pointer twice (an HRX performance note; no test failed because of it).

No rerun was needed — the first attempt was green. The run was made after an owner-requested box-heat hold (15:39:53 → 16:05:17, released when pi-minecraft's P3 A/B had finished and Tctl was < 80 °C; Tctl 41 °C at resume, 74 °C peak during the suite, 35 °C at the end).

Logs on strixhalo: ~/wt/pr432-hw/logs/a1/{lemonade-suite.log,lemond.log,run.log}; build ~/wt/pr432-hw/logs/lemonade-build.log; gate ~/wt/pr432-hw/logs/gate.log.

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 2aa204f

@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) October 16, 2026 21:12
@bong-water-water-bong
bong-water-water-bong merged commit 37abd49 into main Oct 16, 2026
8 of 9 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the bump-lemonade/1cb46be46954 branch October 16, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant