Skip to content

chore(deps): bump Lemonade Server to v11.7.0 - #3028

Closed
github-actions[bot] wants to merge 2 commits into
mainfrom
deps/lemonade-11.7.0
Closed

github-actions[bot] wants to merge 2 commits into
mainfrom
deps/lemonade-11.7.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps the pinned Lemonade Server from v11.5.0 to v11.7.0. GAIA's installer and CI derive the Lemonade download URLs from LEMONADE_VERSION in src/gaia/version.py, so users running gaia init and the bundled desktop installer pick up the new release.

Notable in v11.7.0 (from the Lemonade release notes; this jumps two minors, so v11.6.0 changes ride along uncatalogued here):

  • NPU reliability: FLM stops re-pulling already-downloaded models on every load, and NPU loads are now pre-rejected when auto-tune can only reserve fallback context — fewer silent slow paths on Ryzen AI.
  • New /v1/models/register and per-model /v1/models/{id}/options endpoints register and tune user.* models without downloading or loading them.
  • New /v1/stats and Prometheus /metrics report prefix-cache effectiveness and router route-switch counts.
  • Catalog adds Qwen3.8-27B, NVIDIA Nemotron 3.5 Lightning 30B-A3B, and the Z-Image-Turbo image model.
  • Breaking: /pull now returns 400 on contradictory model deployment-mode labels instead of normalizing them, and stored user_models.json entries that violate the rule are skipped at startup rather than repaired.
  • Breaking, no GAIA impact: /v1/audio/transcriptions returns raw text for text/srt/vtt instead of a JSON wrapper — GAIA's ASR runs locally and does not call this endpoint.

⚠️ Heads-up — the stricter /pull label validation is the one thing this bump does not fully de-risk. GAIA registers its embedding model (user.embeddinggemma-300m-GGUF) by checkpoint + recipe + embedding flag, which is exactly the path that can now hard-400 instead of being normalized. Cold-cache verification is on the test plan below; this needs a machine that has never pulled the model, since a warm cache skips the registration entirely (#1655).

Test plan

  • CI green (lint + unit tests)
  • gaia init downloads Lemonade v11.7.0 successfully
  • Cold-cache gaia init --profile npu --force-models registers user.embeddinggemma-300m-GGUF without a 400 from the stricter /pull label check
  • Review the Lemonade release notes for breaking changes (default port, min ctx, API) that may need follow-up in GAIA beyond this version bump

@itomek itomek self-assigned this Aug 21, 2026
pull Bot pushed a commit to bhardwajRahul/gaia that referenced this pull request Aug 21, 2026
…md#3034)

`lemonade-sdk` was pulled from PyPI, so every PR's Linux CLI check was
failing outright on `uv pip install lemonade-sdk` — a red required check
on the whole repo. Linux CI now installs Lemonade the same way GAIA's
own Linux installer does (the Launchpad PPA), starts it through GAIA's
own launcher abstraction instead of hand-rolled bash, and checks the
installed version against three independent sources (dpkg, GAIA's own
probe, the running server) before ever pulling a model.

**Deviation from the issue's AC #1/#2:** the job doesn't assert
installed-version-equals-pin. The PPA can only ever serve one (unpinned)
version per series, and GAIA's own Linux installer doesn't pin either
(`apt-get install -y lemonade-server`, no `=version`) — asserting
equality would test a contract no Linux user has. Instead it fails when
the three sources disagree or the install is below GAIA's pin/floor, and
warns loudly (naming the open bump PR) when only the version record is
stale.

<details>
<summary>Why the equality gate doesn't fit Linux</summary>

- The PPA physically cannot serve a pinned version — one build per
series, superseded builds purged from both the index and the pool.
- A strict equality gate would leave this required check red most of the
time: the PPA (11.7.0) is already two releases past the merged pin
(11.5.0), with two bump PRs open (amd#2861, amd#3028) and the bump itself only
a weekly, human-merged cron.
- Failing only on a genuine defect (three sources disagreeing, or
installed < GAIA's own pin/floor) still satisfies the issue's
fail-loudly intent, and the AC #4 mismatch demo below lands squarely on
that FAIL branch.

</details>

This unblocks the pending Lemonade bump PRs (amd#3028, amd#2861), which have
been failing this same check.

Closes amd#2134

## Test plan

- [x] Real check on this PR, green:
https://github.com/amd/gaia/actions/runs/32508298481 — version step
printed all three sources next to the pin (pin 11.5.0, floor 10.2.0,
dpkg/GAIA-probe/server-health all 11.7.0) and correctly emitted a
`warning` (today's real drift), not a failure.
- [x] `gaia chat` / `gaia prompt` / `gaia llm` exercised against the
PPA-installed server on port 13305 (same run).
- [x] Deliberate-mismatch demo: pushed a throwaway branch with
`LEMONADE_VERSION=99.0.0`, dispatched the workflow, confirmed a loud,
actionable failure at the version-reconciliation step (`installed 11.7.0
is older than the pinned 99.0.0 ... Lower LEMONADE_VERSION to 11.7.0 ...
in src/gaia/version.py`), then deleted the branch —
https://github.com/amd/gaia/actions/runs/32507721153

### Known issue

Two of the ~14 Lemonade client integration tests fail on every run —
pre-existing behavior tracked in amd#839, not touched by this PR, and the
workflow's existing warn-don't-block tolerance is what keeps the job
green through it.

<details>
<summary>Details</summary>

`test_integration_chat_completion` and
`test_integration_chat_completion_streaming` return empty response
content. Root cause is the default-model preload behavior in
`src/gaia/llm/lemonade_manager.py` (issue amd#839), which this PR does not
touch.
</details>
@github-actions github-actions Bot added documentation Documentation changes cpp labels Aug 26, 2026
@itomek

itomek commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

superseded by #3119

@itomek itomek closed this Aug 28, 2026
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Closed as superseded by #3117, which pinned Lemonade 11.8.1 — this bump to 11.7.0 is the same change to the same lines, two versions behind.

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

Labels

cpp dependencies Dependency updates documentation Documentation changes lemonade 🍋

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants