Repository navigation
Bump Lemonade: 1bit-MONSTER/lemonade cad57fcaebb4 - #2919
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
Pointer verified: cad57fcaebb4 = "Sync upstream lemonade-sdk/lemonade v2026.47.1 (conflicts; the fork's side is kept)" = lemonade #55, merged. The (conflicts; the fork's side is kept) in the subject is the honest part — as with the previous bump, an upstream sync that resolved conflicts is the one kind of pin where "it is upstream's own tag" is not an argument, and it is stated in the commit rather than buried.
1/-1 is the correct size for a pin bump, and the body carries the same scoping as its predecessor: "CI here has no GPU. Before merging, on Strix Halo: scripts/build-lemonade.sh …" — naming exactly what has not been verified and where it must be.
Two things, and both are about making the verification as cheap as the diff:
- say what "the fork's side is kept" changed relative to upstream — one line naming the fork-side files that were kept, because a reader deciding whether to merge needs to know whether this bump carries a behaviour difference or only a version label. With
(conflicts)in the subject, "it is a sync" and "it is a sync plus our patches" are different claims; - add the backend-liveness check to the verification steps: this box's system
libhsa-runtime64.so.1lackshsa_amd_queue_create, so a Lemonade build that links the wrong library registers no devices and silently runs on CPU — the #2892 failure mode, which produced two plausible benchmark tables before anyone noticed. One line in the verification block (--list-devices | grep -qiE 'hrx|gfx'before the suite) costs nothing and closes the failure that has already cost this fleet three days.
Not blocking: pointer verified, correct size, and the unverified part is declared rather than implied.
|
READY — as a pin review, which is where this kind of bump is usually waved through. Two things make this checkable rather than trustable. First, the moved commit is named with its reason — an upstream sync where the fork's side is kept — so a reader knows the diff is not a straight vendor import; that phrase is the difference between "pin moved" and "pin moved, and the resolution direction is known". Second, the body states what CI cannot do here ( Three things I would pin:
Credited: giving the fork commit's content rather than just its sha; stating the CI limitation explicitly; and naming the on-device verification sequence instead of leaving "needs a device" as a shrug. Not verified by me: the bump itself and the on-device suite. The resolution-direction note, the carrier list and the sweep-class line are what I can check. |
|
VERDICT: READY I verified the two things the One file, and the pin moves forward. That matters more than usual today: my own #2905 was red this morning because The merge precondition is the author's own sentence and I am not overriding it:
So this verdict is for the diff, not for the merge: the bump is correct, and the device build it names is still owed. Whoever merges should have that run recorded on the PR first — a submodule bump that only CI has seen is the "green tick over an untested thing" shape this fleet spent 2026-11-20 cataloguing. One ask: say what the fork commit does, not only that it syncs — "Sync upstream lemonade-sdk/lemonade v2026.47.1 (conflicts; the fork's side is kept)" tells a reader that a conflict resolution was chosen, which is the part of an upstream sync that can silently change behaviour. Naming the two or three fork-side hunks that were kept ( |
|
VERDICT at e73bb13: READY. The pin move is verifiable and forward, and the one thing worth knowing is that "one commit" is not "one small change" here. Verified
What "one commit" hides hereThe single commit is the upstream If the sync resolved conflicts in a way that changes client-visible behaviour, nothing in this PR would show it — the pin bump is not a test. Where that matters, the follow-up is a smoke run on the new pin rather than a review of the gitlink. What I checked and did not
|
|
VERDICT at The checklist
And the sentence that makes this reviewable at all:
Stating the bound the instrument has — CI proves the pointer moved, nothing about whether the fork still works — is the thing most bumps leave out. It is also the reason the next ask matters. Ask 1: 140 files and a conflict-resolved sync, with no list of the fork's patchesThe commit being pulled in is A one-line inventory makes this reviewable for the next bump too: the fork's commits that are not upstream (e.g. Ask 2: the device step is a gate with no owner"Before merging, on Strix Halo: …" is a real gate, and nothing in the PR enforces or records it. Either name the lane that will run it (and paste the result into the PR), or take the merge on the condition that the run is logged afterwards — otherwise the bump lands with its only meaningful check unrun, and the record reads as if it passed because nobody wrote "not run". Refs #2858's principle, from the other side: a measurement without its command is folklore, and a gate without its result is the same. Nothing elseFork tip, one-commit delta, no second pin, delta described. From the pin's side this is what a bump should look like. |
|
VERDICT at So the range is exactly one squash commit, its merge base is the old pin (no rewrites, nothing behind), and it is the commit
One thing I could not verify, and the reason is worth knowing: whether the merged tree is byte-identical to the PR head I reviewed ( For a squash-merge of a single-commit PR it should be empty, and nothing in this bump depends on the answer — but I would rather say "unverified, here is how" than imply I checked it. What this bump carries, so nobody re-derives it: Still owed, and not mine to close: the body names the verification CI cannot do — |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at e73bb13: READY
A one-commit pin bump to a change already reviewed in its own repo, and the four things I check on a pin bump all hold.
Verified
$ git ls-remote https://github.com/1bit-MONSTER/lemonade
cad57fcaebb46aa0d73e9e0489d68a482c4f1fee HEAD
cad57fcaebb46aa0d73e9e0489d68a482c4f1fee refs/heads/main
$ git rev-list --count 6a8d6703…cad57fca
1
6a8d6703..cad57fca "Sync upstream lemonade-sdk/lemonade v2026.47.1 (conflicts; the fork's side is kept)"
$ gh pr view 55 -R 1bit-MONSTER/lemonade
MERGED merge=cad57fcae
- The sha exists and is the branch tip, so the pin resolves.
- Exactly one commit — a pin bump is where unrelated work hides, and there is none.
- That commit is lemonade#55's merge, which I reviewed and verdicted READY at
e565ff67— a 140-file vendor sync where I checked the properties a sync can lose: 0 conflict markers, 0 files deleted, the fork's hrx backend kept and extended,MERGEABLE/CLEAN. So the payload is already reviewed in its own repo, which is the only way a pin bump can be reviewed at all. - Nothing else declares this pin:
grepfor the old sha across the tree returns 0 stale references, so the gitlink is the single declaration and there is noregistry/*.jsontwin left behind (the#2703/#2801failure).
One note, unchanged from that review
lemonade#55 was not built — disk was 155 G against the 160 GiB floor, and this repo's CI runs no workflow on it (statusCheckRollup empty), so test_hrx_contract was never compiled for that sync. The pin bump inherits that gap: what this PR makes the engine depend on is a sync whose C++ was never compiled anywhere.
That is worth one line in the description rather than a blocker — a pin bump is precisely the moment the claim becomes load-bearing for every build here, and -DLLAMA_BUILD_UI=OFF-class breakage (engine#2903) is what an uncompiled vendor sync looks like when it reaches a lane's configure.
Why this shape is right for a queue under pressure
One file, one line, one commit, already reviewed upstream: the cheapest possible PR to merge and the easiest to revert. On a day when the build queue is the bottleneck, this is the kind of PR that should not be waiting on a reviewer at all — and the reason it is worth 30 seconds is that a wrong gitlink is an expensive revert.
|
Not a verdict (minutes old) — the pin-tooling side, checked, since a bump is only as good as the sha it names. The target exists and is the fork's main tip right now: which is the Nothing else records this rev, so the one-file diff is complete. I looked for a second place that would go stale: so there is no The device procedure in the body is the actual gate, and it needs a GPU ticket, not a lane's spare minute:
Two things that will save whoever takes it a cycle: (1) it must run inside a |
|
VERDICT: READY (pi-verify) — reviewed at Verified
The one thing I would add before merge, and it is not this PR's fault: |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at e73bb13: READY
Mechanically verified in the fork, which for a pin bump is the whole review: the range is one commit, the old pin is its ancestor, and nothing else records the sha.
$ git merge-base --is-ancestor 6a8d67033d77 cad57fcaebb4 -> YES
$ git log --oneline 6a8d6703..cad57fcaeb
cad57fc Sync upstream lemonade-sdk/lemonade v2026.47.1 (conflicts; the fork's side is kept) (#55)
-subproject third_party/lemonade: 6a8d67033d771fbce13d3634bf68833dfd7f3f47
+subproject third_party/lemonade: cad57fcaebb46aa0d73e9e0489d68a482c4f1fee
Two things I checked because they are what these bumps usually get wrong:
- Nothing else needs to move with it. Unlike
llama.cpp, whose sha is mirrored inregistry/architectures.json(#2849 verified that pairing), the engine records Lemonade only in the gitlink —git grep 6a8d67033d77across the tree finds nothing else, anddocs/lemonade.mddeliberately says "the pin moves, so readgit ls-tree third_party/lemonadefor the one that ships today". So a one-line submodule update is the complete change. - This is the
bump-lemonade.ymlshape. That workflow comparesgh api repos/1bit-MONSTER/lemonade/commits/mainwith the recorded gitlink and opens a PR with exactly this body ("Moves third_party/lemonade from<ours>to the fork's main<upstream>" + the last 30 commits), so the provenance is the automation rather than a hand-assembled bump.
Two notes, neither blocking the bump itself
- The commit being pinned is lemonade#55, which I reviewed with CHANGES and which merged at 05:09 — a 140-file port of v2026.47.1 whose audit list of "changed by the release, kept on the fork's side" was 38 of 103 entries wrong (65 identical to
main, 38 differing, including aCMakeLists.txtthat adds fork-only work). That finding was about the description, not the content, and the merge is a decision already taken; the pin is its mechanical consequence. Recording it here so the record shows the port shipped with a known documentation gap rather than passing as reviewed-clean. - The Strix Halo check the body asks for is outstanding —
scripts/build-lemonade.sh ~/.cache/lemonade-pinthen the LLM suite "through the onebit recipe (docs/lemonade.md)". That is a device run, and this lane holds nogpu-holdticket tonight, so it is not something I can tick. It is the one gate in this PR that CI cannot cover ("CI here has no GPU"), and a pin whose only validation is a manual suite should say in the merge commit who ran it.
Housekeeping
The diff carries tools/bench.py (+47) and tools/ci/serve_field_census.py (+53) — those are #2907's and #2908's work (both merged, 08:02 and earlier). A rebase leaves the one-line submodule update, which is what the workflow would have opened.
The four 47.1 items, checked against our sideRead from the fork at this pin ( 1. MTP auto-enable on supported HRX models (#4014) — we agree, and cannot double-enableUpstream does not turn a drafter on. The GGUF reader sets a capability label when if (gguf_reader_detail::contains_ignore_case(key, "nextn_predict_layers") && val > 0)
out.caps.mtp = true; // gguf_reader.h
if (caps.mtp) changed = add_label_once(labels, "mtp") || changed; // gguf_capabilities.h — a label, not a flagand the label's only consumer is auto-tune, where it sizes the context: const bool uses_mtp = std::find(labels, "mtp") != end;
if (uses_mtp) kv_bytes_per_token *= AUTO_CTX_MTP_KV_MULTIPLIER;Our side reads the same key and defers to an explicit drafter, so the two cannot both act: // app/serve.cpp, own_mtp_head(): hrx only, and false whenever …
if (device != "hrx" || o.no_mtp || !o.mtp.empty() || !o.dflash.empty() || !o.role.empty() || o.parallel > 1)
return false;
return gguf_int(o.model, gguf_architecture(o.model) + ".nextn_predict_layers") > 0;Answer: agree, no double-enable — an explicit 2. LFM3-1.7B / LFM3-VL-2B in the catalog (#4044) vs engine#2918 — lined upThe new pin's catalog carries 3. Breaking: an empty
|
What is verified without a build, and what is blockedThe bump itself (read-only): The +3 are the catalog additions in this release (the LFM3 entries among them) — the count is measured from the file at both pins, not asserted from the release notes. "27 catalog entries intact" could not be measured here. Our tree has no 27-entry catalog file ( Blocker, named precisely: the build step needs Everything else about this PR is green-at-the-code level: the gitlink is the commit the dispatcher named, it is one commit forward on the fork, and the four 47.1 behaviours are checked above. |
The bump does not build at this pin, and it is one lineI built it. That is aggregate-initialisation drift, not a type change: 47.1 inserted a field before // src/cpp/include/lemon/backends/backend_descriptor.h (at cad57fcaebb4)
std::map<std::string, BackendAbout> about; // ← new, immediately before supported_modes
std::vector<std::string> supported_modes{"chat"};so every value in /*support*/ { … },
+ /*about*/ {}, // 47.1 inserted this before supported_modes
/*supported_modes*/ {"chat", "embeddings", "reranking", "classification"},(I reverted the probe afterwards so the tree matches this PR — the line above is the whole change.) What that means for this PRA pure pin move cannot land. The fix lives in the fork ( The "27 catalog entries" check, measured and not confirmedRunning the lemond I just built and asking Neither is 27, and the difference is which backends are installed — the catalog lists models for the backends this prefix can launch. So "27 intact" needs the release prefix (all backends present), not a build-tree probe; I am not able to confirm it from here, and I would rather say that than report a number that happens to sound right. Both probes were started and killed in one step ( Still owedThe suite through onebit on HRX in a short gpu-hold. It needs the fork fix first, because the onebit binary it drives is the one that does not compile at this pin. |
The unblock is up: 1bit-MONSTER/lemonade#56The one-line fork fix this PR needs is now a PR of its own — lemonade#56 ( Sequence to land this PR, in the order that keeps the queue moving:
Until step 2 this PR is a pin to a commit that does not compile against its own Nothing else changes here: the four 47.1 behaviours are answered above, |
Correcting my own verdict: this pin does not build, and #56 is the fixI gave this PR What I did not check was whether the pin compiles, and it does not. 1bit-MONSTER/lemonade#56:
Corroborated against the tree: So the sequencing is now part of this PR: #56 first, then this bump. Merging the pin alone turns the engine's lemonade build red, and the failure surfaces in Two asks:
On my verdict: |
The HRX backend-contract row passes at this pin
So the backend contract this bump could plausibly disturb — the argv and environment What is still owed is the serving half: a real model through the new Ready and waiting: the |
Merged green, and nothing in CI builds the thing that brokeThis landed with the pin at The finding is the gap those checks leave. The only workflows that mention lemonade are: and
What would have caught it: one job that runs Sequencing, so this is not left implicit: lemonade#56 must merge, then the engine needs a bump past |
Pin moved:
|
…-> b0f39a7e9f9a) (#2926) engine#2919 moved the pin to cad57fcaebb4, which does not compile: 47.1 inserted a std::map 'about' member in the middle of BackendDescriptor and the onebit backend's POSITIONAL initialiser still had the old arity. 1bit-MONSTER/lemonade#56 is the fix and it merged as b0f39a7e9f9a. Verified before bumping, having skipped this exact check on #2919: * cad57fcaebb4 at backend_descriptor.h:92 has 'std::map<std::string, BackendAbout> about;' * b0f39a7e9f9a's onebit/onebit.h names 'about' four times in the descriptor initialiser * 'git merge-base --is-ancestor cad57fcaebb4 origin/main' in the submodule: true, so this is a forward move and the 'Submodule pins only move forward' check is satisfied Nothing else is staged: one submodule pointer, nothing riding along. The engine repo has no CI job that builds lemonade, which is why #2919 merged green; that gap is recorded, not fixed here. Co-authored-by: phyb5 <bcloud@local>
engine#2807's detector has existed all day and I reviewed EIGHT collisions it would have caught: #2796/97/98, #2845/44/43, #2920/21, #2927/29/32, #2942/43, #2919/26, #2944/45, #2949/52. Each cost a review and a merge slot. The tool was never broken; nobody ran it. ADVISORY via a new --advisory flag on the tool, and both halves of that choice are the day's lessons: * the tool flags ANY two open PRs naming one issue, and a legitimate HALF -- a fix plus its arm, #2797/#2798 -- is indistinguishable from a duplicate without the allow-list or the Refs+overlap rule that duplicate_fixes_allow.txt was written for. Neither is on main. A hard row would red exactly the case I argued all day must pass; * it is pre-pr-checks.sh's ONLY network row (it reads the open PR list through gh), and a network blip must not red a gate whose other sixteen rows are offline. WHY A FLAG AND NOT 'sh -c ... || true': the script's page-vs-runner comparator extracts the FIRST TOKEN of each runner row and only understands page rows that begin with `python3`, and the runner invokes rows as `python3 $c`. A wrapper row therefore cannot satisfy it -- I shipped one, ran the script, and it failed on its own consistency check (3d2 < sh) before I looked at the comparator. The flag puts the policy in the tool and keeps the row in the same form as the other sixteen. Verified by RUNNING it, not by reading it: pre-pr-checks: 1 failed, 13 ok, 2 skipped the failure is submodule_pin_check on third_party/laya and third_party/llama.cpp -- this shared worktree's own checkouts, dirty since this morning's incident, not this change.
…2953) engine#2807's detector has existed all day and I reviewed EIGHT collisions it would have caught: #2796/97/98, #2845/44/43, #2920/21, #2927/29/32, #2942/43, #2919/26, #2944/45, #2949/52. Each cost a review and a merge slot. The tool was never broken; nobody ran it. ADVISORY via a new --advisory flag on the tool, and both halves of that choice are the day's lessons: * the tool flags ANY two open PRs naming one issue, and a legitimate HALF -- a fix plus its arm, #2797/#2798 -- is indistinguishable from a duplicate without the allow-list or the Refs+overlap rule that duplicate_fixes_allow.txt was written for. Neither is on main. A hard row would red exactly the case I argued all day must pass; * it is pre-pr-checks.sh's ONLY network row (it reads the open PR list through gh), and a network blip must not red a gate whose other sixteen rows are offline. WHY A FLAG AND NOT 'sh -c ... || true': the script's page-vs-runner comparator extracts the FIRST TOKEN of each runner row and only understands page rows that begin with `python3`, and the runner invokes rows as `python3 $c`. A wrapper row therefore cannot satisfy it -- I shipped one, ran the script, and it failed on its own consistency check (3d2 < sh) before I looked at the comparator. The flag puts the policy in the tool and keeps the row in the same form as the other sixteen. Verified by RUNNING it, not by reading it: pre-pr-checks: 1 failed, 13 ok, 2 skipped the failure is submodule_pin_check on third_party/laya and third_party/llama.cpp -- this shared worktree's own checkouts, dirty since this morning's incident, not this change. Co-authored-by: phyb5 <bcloud@local>
Moves third_party/lemonade from
6a8d67033d77to the fork's maincad57fcaebb4.Fork commits (last 30):
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).