Skip to content

fix(deps): drop PyTorch from the [ui] extra - #4666

Merged
kovtcharov-amd merged 5 commits into
amd:mainfrom
kovtcharov:kalin/drop-torch-ui
Oct 4, 2026
Merged

kovtcharov-amd merged 5 commits into
amd:mainfrom
kovtcharov:kalin/drop-torch-ui

Conversation

@kovtcharov

@kovtcharov kovtcharov commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Every Agent UI install pulled in PyTorch. That covers the desktop app's backend bootstrap, which runs pip install amd-gaia[ui]. Without it, [ui] is 0.6–0.7 GB smaller on Windows and macOS, about 0.9 GB smaller on Linux with the CPU index, and 5.7 GB smaller on Linux without it. Torch was there for one feature: a local cross-encoder that reranked memory recall. That reranker never ran. faiss and torch each ship an OpenMP runtime, so the reranker switched itself off whenever faiss was already loaded, and faiss always is by the time recall reranks: the UI imports it at boot, and memory init builds the index with it. Memory ranking is unchanged; it was already the RRF top-k.

With this PR no GAIA extra depends on PyTorch, so the CPU wheel index flag goes from the desktop installer, the CI venv action and the install docs.

Test plan

  • Memory unit tests (-k "memory or recall or hybrid", 1300 tests) pass with the rerank step removed
  • test_ui_extras.py has a new guard that keeps torch, transformers and sentence-transformers out of [ui]
  • uv pip compile resolves every extra on win/mac/linux; none contains torch, transformers or scipy
  • Full tests/unit run: the remaining failures are local-environment ones (no gaia on PATH, no pip/uv in the test venv, no sherpa-onnx, no playwright) and also fail without this change
  • tests/electron/backend-installer-package.test.cjs in CI (no Node on the machine this was built on)
  • Desktop app first-run backend install on Linux and macOS completes and is visibly faster
  • CI eval categories gaia_memory and memory: recall ranking should be unchanged; the run confirms it
🔍 Technical details

[ui] over core (wheel central directories read over HTTP; nothing installed):

before after
Windows 0.87 GB 0.14 GB
macOS arm64 0.67 GB 0.08 GB
Linux, PyPI (CUDA torch) 5.88 GB 0.15 GB

Removed with torch: transformers, sentence-transformers, safetensors, tokenizers, scipy, scikit-learn, sympy, networkx, hf-xet and (on Linux) the nvidia-* / triton wheels. What remains is faiss-cpu, PyMuPDF and the Office readers.

Why the reranker never ran: _get_cross_encoder returned None when "faiss" in sys.modules and "torch" not in sys.modules. MemoryMixin post-init calls _rebuild_faiss_index(), which imports faiss, and gaia.ui.server imports faiss at boot. So reranking needed GAIA_ALLOW_FAISS_TORCH_OMP=1 or torch already in the process.

Kept: assert_faiss_omp_safe and GAIA_ALLOW_FAISS_TORCH_OMP. GAIA no longer imports torch, but code sharing the process can, and a faiss search with two OpenMP runtimes loaded still aborts on macOS. The error text now says GAIA didn't load torch.

If reranking is wanted back: Lemonade serves /api/v1/rerank (jina-reranker-v1-tiny-en-GGUF is 37 MB). That would change retrieval quality, so it needs a memory eval run, not a refactor.

Kalin Ovtcharov added 3 commits October 4, 2026 10:39
…Kokoro

`gaia talk` was the only place GAIA still ran speech models in-process: live
Whisper (openai-whisper + torch) and Kokoro (kokoro + torch + spacy). Lemonade
already serves both, and transcribe_media already used its Whisper. Now talk
does too, so `[talk]` shrinks from ~0.7-0.9 GB (6 GB on Linux without the
CPU index) to sounddevice + websockets.

- Live ASR: each VAD-cut utterance is posted to /audio/transcriptions as a
  16 kHz WAV. `--whisper-model-size` maps to Lemonade's Whisper ids and gains
  `turbo`. A Lemonade failure stops the session with the reason instead of
  leaving it on "Listening".
- TTS: Kokoro voices come from Lemonade's kokoro-v1 as 16-bit PCM. Playback,
  sentence chunking and the mic-mute logic are unchanged. File output no
  longer needs soundfile or a sound device.
- Both models are pulled through Lemonade at startup, so a fresh install
  shows the download instead of hanging inside the first utterance.
- ChatAgent's text_to_speech goes through the same client and now honours
  its `voice` argument.
- Removed: the `[audio]` extra (torch/torchvision/torchaudio, no importers),
  openai-whisper, kokoro, tokenizers, soundfile and pip from `[talk]`, and
  the dead CPU-PyTorch index flags in CI, install.sh and cloud_bootstrap.sh.
Every Agent UI install (the desktop app runs `pip install amd-gaia[ui]`)
pulled PyTorch, transformers, scipy and scikit-learn for one feature: a local
cross-encoder that reranked memory recall. That reranker never ran. faiss and
torch each ship an OpenMP runtime, so it switched itself off whenever faiss
was already loaded, and faiss is always loaded first (the UI imports it at
boot; recall searches it before reranking). Removing it leaves recall
ranking as it was and cuts ~0.6-0.7 GB from [ui] on Windows/macOS and
~5.7 GB on Linux without the CPU wheel index.

- memory: delete _get_cross_encoder and the rerank step; results are the
  RRF top-k, as they already were in practice. The faiss OpenMP guard stays,
  since code sharing the process can still load torch.
- setup.py: [ui] loses sentence-transformers, safetensors and torch, with a
  guard test that keeps them out.
- No extra needs PyTorch now, so the CPU wheel index goes from the desktop
  backend installer, the setup-venv action and the install docs.
@github-actions github-actions Bot added documentation Documentation changes installer Installer changes dependencies Dependency updates devops DevOps/infrastructure changes rag RAG system changes audio Audio (ASR/TTS) changes cli CLI changes tests Test changes performance Performance-critical changes agents labels Oct 4, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

This drops PyTorch and its stack from the [ui] extra by deleting the memory cross-encoder reranker. The reranker never actually ran: it switched itself off whenever faiss was loaded, and faiss is always loaded first. So recall ranking stays as it was and every Agent UI install gets 0.6–5.7 GB lighter. The removal is complete. Nothing in src/, the workflows, or the installers still references the reranker, the CPU wheel index, or the removed extra-index-url action input. The OpenMP safety guard stays, which is correct.

Nothing blocks the merge. One RAG test docstring still describes sentence-transformers as a dependency of the reranker that no longer exists.

The review covers only the last commit (fix(deps): drop PyTorch from the [ui] extra). The rest of the diff belongs to #4665, which this PR is stacked on, and will get its own review there.

Real-world evidence

N/A: no evidence bundle was produced for this run. The change is in dependencies, the installer and an internal memory path, so this verdict comes from static review alone. The PR's test plan still has two items open: the Electron installer test in CI and a first-run desktop install on Linux and macOS. Please check both before merging, along with the gaia_memory / memory eval categories the PR already lists.

🔍 Technical details

Issues

🟢 Stale docstring now contradicts the code (tests/unit/rag/test_dependency_guard.py:6-8): it still says sentence-transformers "is only an optional dep of the memory cross-encoder reranker." That reranker is gone and no GAIA extra installs sentence-transformers anymore.

RAG embeds via Lemonade, so **sentence-transformers is NOT a RAG dependency** — no
GAIA extra installs it. RAG must import and
run even when sentence-transformers is absent or broken.

(Adjust the line wrap to match the surrounding text.)

🟢 Silent behaviour change for anyone using the override (src/gaia/agents/base/memory.py): the docs still describe GAIA_ALLOW_FAISS_TORCH_OMP=1, but now it only lets the faiss search run. It used to turn reranking back on too. An operator who set it to get reranking will lose reranking without any message. That's probably fine given how rarely it was used, but a one-line CHANGELOG or release-note mention would make the change visible.

Checked and OK

  • No workflow still passes extra-index-url: to setup-venv, so removing the input breaks no caller.
  • No extra in setup.py still declares torch, transformers or sentence-transformers. The new test_ui_extra_carries_no_local_model_runtime keeps them out of [ui].
  • _hybrid_search now returns sorted_ids[:top_k]. That is what it already returned whenever _get_cross_encoder() gave None, so ranking really is unchanged.
  • The memory SDK doc, the architecture spec and the troubleshooting page are all updated to match. Older release notes still mention the CPU index, which is correct for those versions.

Strengths

  • The reasoning is sound: a feature that a guard always disabled was costing gigabytes per install.
  • assert_faiss_omp_safe is kept, and its error text is updated to say GAIA itself didn't load torch. That is still the right protection when a skill does load it.
  • The new guard tests pin the decision so torch can't quietly come back through [ui] or memory.py.

kovtcharov-amd added a commit to kovtcharov/gaia that referenced this pull request Oct 4, 2026
…Kokoro (amd#4665)

`pip install "amd-gaia[talk]"` used to install 0.7–0.9 GB, almost all of
it PyTorch plus a local Whisper and Kokoro. On Linux without the CPU
wheel index it was 6 GB. It now installs only `sounddevice` and
`websockets`, a few MB. `gaia talk` now transcribes with Lemonade's
Whisper and speaks with Lemonade's `kokoro-v1`, the same server that
already runs the chat model and `transcribe_media`. File transcription,
chunking, timestamps and speaker diarization were already on Lemonade
and are unchanged.

There is no fallback to a local model. If Lemonade is down, `gaia talk`
stops with the reason and the command that starts it. It doesn't sit on
"Listening…".

Merge this before amd#4666, which removes the last PyTorch dependency, from
`[ui]`.

## Test plan

- [x] `tests/unit/test_lemonade_speech.py` (new): request shapes for
`/audio/speech`, `/audio/transcriptions` and `/pull`; first-use model
pull; ASR failure ends the session with its reason
- [x] Same file, real server (`require_lemonade`): Kokoro speaks a
sentence, Whisper transcribes it as one talk utterance (text) and as a
file (segments + word timestamps for diarization). Passed against a live
Lemonade.
- [x] The real microphone loop (`AudioRecorder` VAD → `WhisperAsr` →
Lemonade), driven by a fake mic fed recorded speech, transcribes
correctly. Also checked from a cold start where `Whisper-Base` was not
yet downloaded, so the pull happened first.
- [x] `gaia test --test-type tts-audio-file` against a live Lemonade
writes a 24 kHz mono WAV (25.6 s of audio in 5 s)
- [x] `uv pip compile` resolves every extra on win/mac/linux with no
torch and no tokenizers backtrack
- [x] Audio, ASR, packaging and SDK unit tests pass
- [ ] `gaia talk` end to end with a real microphone and speakers
- [ ] Transcribe a long real recording with speaker labels on Strix Halo
(regression check for `transcribe_media`, which this PR does not touch)
- [ ] CI eval categories `gaia_voice` and `gaia_media`, plus
`web_system` (the `text_to_speech` tool docstring changed)
- [ ] Windows CLI job runs `test_lemonade_speech.py` (its real-server
test pulls `kokoro-v1` ~350 MB and `Whisper-Tiny` ~75 MB)

<details>
<summary>🔍 Technical details</summary>

**Install size, `[talk]` over core** (wheel central directories read
over HTTP; nothing installed):

| | before | after |
|---|---|---|
| Windows | 0.94 GB | ~0 |
| macOS arm64 | 0.72 GB | ~0 |
| Linux, PyPI (CUDA torch) | 6.07 GB | ~0 |
| Linux, CPU index | ~1.1 GB | ~0 |

The model weights don't go away. Whisper-Base (~150 MB) and kokoro-v1
(~350 MB) now download into Lemonade's cache instead of
`~/.cache/whisper` and the Hugging Face cache.

**Code**
- `whisper_asr.WhisperAsr` posts each VAD-cut utterance to Lemonade as a
16 kHz WAV (`require_timestamps=False`, `language="en"`).
`--whisper-model-size` maps to `Whisper-Tiny` … `Whisper-Large-v3`, and
gains `turbo` (`Whisper-Large-v3-Turbo`). On failure it sets
`asr_error`, which `AudioClient` raises as the session error.
- `kokoro_tts.KokoroTTS` keeps its sentence chunking, playback threads
and mic-mute behaviour. Synthesis is `LemonadeTTSClient.synthesize`
(`response_format: pcm`, which returns `audio/l16;rate=24000`). Audio at
any other rate is rejected rather than played at the wrong speed.
sounddevice is needed only for playback.
- New `lemonade_service.LemonadeAudioService` holds the HTTP/auth/error
plumbing and `ensure_model_pulled`. `LemonadeASRClient` now subclasses
it; its behaviour and error messages are unchanged. Built-in models are
pulled by name only (amd#1655).
- ChatAgent `text_to_speech` uses `LemonadeTTSClient.synthesize_to_wav`.
It now honours `voice` (it used to ignore it) and rejects unknown
voices, because Lemonade 500s on them.
- Removed: `[audio]` extra (no importers), openai-whisper / kokoro /
tokenizers / soundfile / pip from `[talk]`, the streaming demo in
`whisper_asr.py`, and `tests/unit/test_tts.py` (needed local Kokoro).
- The CPU-PyTorch index flag was dead in six workflows, `install.sh` and
`cloud_bootstrap.sh`: none of them installs an extra with torch any
more. In `install.sh` it was also risky without `--index-strategy
unsafe-best-match` (the pytorch index pins `requests` 2.28.1).

**Not covered by Lemonade, listed rather than removed:** nothing a
shipped feature uses. Talk mode was already per-utterance, not
streaming. Lemonade's `WS /realtime` endpoint could make it truly
streaming later (`websockets` stays in `[talk]` for amd#372).
</details>

---------

Co-authored-by: Kalin Ovtcharov <[email protected]>
Co-authored-by: Kalin Ovtcharov <[email protected]>
Kalin Ovtcharov added 2 commits October 4, 2026 12:22
The [rag] comment in setup.py and the RAG dependency-guard docstring still
said sentence-transformers was needed for the memory reranker, which this
branch removes.
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 4, 2026
Merged via the queue into amd:main with commit 3411207 Oct 4, 2026
@kovtcharov-amd
kovtcharov-amd deleted the kalin/drop-torch-ui branch October 4, 2026 19:48
@kovtcharov-amd kovtcharov-amd mentioned this pull request Oct 6, 2026
5 of 10 tasks
grtninja pushed a commit to grtninja/gaia that referenced this pull request Oct 6, 2026
# GAIA v0.25.0 Release Notes

## Breaking Changes

- **`gaia chat` runs the flagship GAIA agent**, the same agent as the
TUI and Agent UI, instead of the retired ChatAgent. `gaia chat -q "…"`
queries it once. (PR [amd#4520](amd#4520))
- **`gaia talk` transcribes and speaks through Lemonade** — it uses
Lemonade's Whisper and `kokoro-v1`, and stops with the reason if
Lemonade is down. The `[audio]` extra is gone; `pip install
amd-gaia[audio]` only warns. (PR
[amd#4665](amd#4665))
- **The Agent UI runs only the GAIA agent** — the Agent Hub home, agent
picker, and custom-agent export/import are removed from the UI. The CLI
and eval harness can still run other agents. (PR
[amd#4509](amd#4509))
- **The retired nomic embedder is removed** — memory saved with it is
re-embedded on first start. (PR
[amd#4489](amd#4489))
- **Indexed documents are re-indexed once** — the document cache is now
keyed on chunking settings, so the first query after upgrading rebuilds
it. (PR [amd#4624](amd#4624))
- **A skill that asks for more than its tier allows no longer loads** —
the permission ceiling is checked at every load, so a skill already on
disk that exceeds it is refused with the reason. (PR
[amd#4849](amd#4849))

## What's New

- **A larger local model where the GPU holds it** — `gaia init` picks
Qwen3.6-35B-A3B on a 64 GB+ Strix Halo or a 32 GB GPU and keeps
Gemma-4-E4B elsewhere, with each context window sized to available
memory. Qwen3.8 Flash Next is opt-in on 128 GB Strix Halo. (PRs
[amd#4479](amd#4479),
[amd#4670](amd#4670),
[amd#4671](amd#4671),
[amd#4658](amd#4658),
[amd#4655](amd#4655))
- **The Agent UI opens straight to a chat and sets itself up** — a fresh
install runs the same setup steps as the TUI in the window, with
provider, key and model settings, permission modes, and revocable
"always allow" grants. (PR
[amd#4509](amd#4509))
- **A much smaller install** — PyTorch, transformers and accelerate are
gone from the core, `[ui]` and `[talk]` installs; the desktop app's
Python environment drops from ~0.9 GB to ~0.1 GB on Windows. (PRs
[amd#4666](amd#4666),
[amd#4621](amd#4621),
[amd#4665](amd#4665))
- **One Windows installer for the desktop app and the terminal**, with a
GAIA Windows Terminal profile. (PRs
[amd#4720](amd#4720),
[amd#4707](amd#4707))
- **A "no" holds** — a declined action isn't retried through another
tool; the agent asks again with the exact command. The TUI gains
Shift+Tab permission modes. (PRs
[amd#4460](amd#4460),
[amd#4461](amd#4461))
- **Answers are checked against what the tools actually did** — the
agent looks at files you name before answering about them, and a short
plain-English note appears only when work isn't confirmed. (PRs
[amd#4532](amd#4532),
[amd#4501](amd#4501),
[amd#4508](amd#4508))
- **One shell session** — commands share a persistent shell, risky ones
ask instead of being refused, and "full access" is one setting
everywhere. (PR [amd#4408](amd#4408))
- **Memory surfaces what's relevant to each request, with its age**,
keeps what fixed a failure as a lesson for that workspace, and extracts
after the answer instead of before it. (PRs
[amd#4061](amd#4061),
[amd#4066](amd#4066),
[amd#4406](amd#4406))
- **`gaia.log` stays bounded** — it rotates at 10 MB with three backups
(`GAIA_LOG_MAX_MB`, `GAIA_LOG_BACKUPS`). (PRs
[amd#4668](amd#4668),
[amd#4760](amd#4760))
- **Child processes get a trimmed environment** — shell, MCP and skill
children no longer inherit GAIA's internal credentials; `GAIA_NO_DOTENV`
skips loading `.env`. (PRs
[amd#4635](amd#4635),
[amd#4659](amd#4659))
- **Every file tool checks the allowed-folders rule**, and paths inside
an inline shell script are checked one by one. (PRs
[amd#4656](amd#4656),
[amd#4758](amd#4758))

## Bug Fixes

A selection of the user-visible fixes; the full list is in the changelog
below.

- **Local Qwen models no longer loop on repeated tool calls** — they run
with their model card's sampling instead of near-greedy settings. (PR
[amd#4655](amd#4655))
- **Qwen3.6 runs on a Strix Halo with an older AMD driver** — it used to
crash on its first token, so `gaia init` failed; GAIA now turns off the
Vulkan path that crashes on those drivers only, and newer drivers keep
the faster path. (PR [amd#4674](amd#4674))
- **A long PDF no longer hangs or times out while indexing** — big
documents index in the background, and PDFs that only carry
owner-password restrictions now index. (PRs
[amd#4754](amd#4754),
[amd#4679](amd#4679),
[amd#4734](amd#4734))
- **Document answers cite the right document and page**, and every chunk
is embedded whole instead of its first 1,200 characters. (PRs
[amd#4688](amd#4688),
[amd#4723](amd#4723))
- **`gaia init` fails when model verification fails**, shows downloads
live, and no longer hangs while Lemonade hashes a large model. (PRs
[amd#4620](amd#4620),
[amd#4564](amd#4564),
[amd#4673](amd#4673))
- **`gaia init` adds a profile's extras without reinstalling GAIA**,
which failed on Windows while `gaia.exe` was running. (PR
[amd#4672](amd#4672))
- **Every SDK and CLI entry point starts GAIA's own Lemonade**, and
every call goes to the resolved URL with its API key. (PRs
[amd#4657](amd#4657),
[amd#4627](amd#4627))
- **Local chat stays cached across turns** — the system prompt is fixed
and side requests no longer evict the conversation. (PRs
[amd#4698](amd#4698),
[amd#4543](amd#4543))
- **A cloud model selection never preloads a local model**, and cloud
models no longer get llama.cpp-only fields. (PRs
[amd#4757](amd#4757),
[amd#4709](amd#4709))
- **The Agent UI stops claiming "100% local" while chat goes to a cloud
model**, and the chat header names the session's real model. (PRs
[amd#4711](amd#4711),
[amd#4550](amd#4550))
- **Enter can't approve a permission prompt**, and prompts wait 10
minutes before timing out. (PRs
[amd#4700](amd#4700),
[amd#4699](amd#4699))
- **Stopping a run keeps the turn and its steps visible.** (PR
[amd#4743](amd#4743))
- **A file edit keeps the file's line endings** — a one-line edit on
Windows used to rewrite every line ending, so a small change showed up
as the whole file changed. (PR
[amd#4864](amd#4864))
- **A broken agent install is reported as broken, not as missing** — the
error names both package versions and the real import error, and
suggests a reinstall that works. (PR
[amd#4588](amd#4588))
- **A meeting or document summary is never cut off mid-sentence** — a
thinking model used to spend the summary's output budget reasoning, so a
long meeting lost its second half. (PR
[amd#4827](amd#4827))
- **"What can you do?" gets an answer** instead of an attempt to
generate an image of the question. (PR
[amd#4809](amd#4809))
- **Writes and approved edits can't reach credential folders**
(`~/.ssh`, `~/.aws`, `~/.kube` and others), and shell option values and
script arguments get the same path check as plain paths. (PRs
[amd#4848](amd#4848),
[amd#4847](amd#4847))
- **`gaia connectors connect google --grant-agent installed:gaia`
works** — it used to fail with no sign-in link for the shipped agent; it
now asks for read-only Gmail and grants exactly that. (PR
[amd#4859](amd#4859))
- **A "no" to creating a folder also covers writing into it** — GAIA no
longer asks again to create the same folder a different way. (PR
[amd#4857](amd#4857))
- **`gaia skill import` runs the same checks as a hub install** — https
only, the audit, the permission ceiling, and an explicit opt-in for
skills that ship code. (PR
[amd#4849](amd#4849))
- **Memory off and private chats apply to scheduled and background runs
too.** (PRs [amd#4842](amd#4842),
[amd#4821](amd#4821))
- **Memory stops false apologies and reusing deleted values**, saves
"remember this" requests, and skips loading the embedder when memory is
off. (PRs [amd#4708](amd#4708),
[amd#4756](amd#4756))
- **A reply cut off by the token limit is continued** instead of ending
mid-sentence, and a tool call cut off at the output cap is retried
shorter. (PRs [amd#4054](amd#4054),
[amd#4556](amd#4556))
- **The TUI remembers the chosen model** across restarts and
agent-process restarts. (PRs
[amd#4497](amd#4497),
[amd#4710](amd#4710))
- **`gaia uninstall --purge` removes installer binaries, PATH edits and
daemon state.** (PR [amd#4413](amd#4413))

## Contributors

Thanks to the community members who contributed to this release:

- [@itomek](https://github.com/itomek) — the flagship's browser and tool
picker, one shell session, memory extraction off the answer path, stale
tool-result eviction, the TUI's sourced Fireworks rankings, and
`--purge` cleanup (PRs [amd#4407](amd#4407),
[amd#4408](amd#4408),
[amd#4406](amd#4406),
[amd#4465](amd#4465),
[amd#4414](amd#4414),
[amd#4413](amd#4413))
- [@mikemikimike](https://github.com/mikemikimike) — chained shell
command timeouts, bundled skills in frozen builds, and sidecar cleanup
reporting (PRs [amd#4463](amd#4463),
[amd#4467](amd#4467),
[amd#4419](amd#4419))
- [@Hashim1999164](https://github.com/Hashim1999164) — honoring
`GAIA_HOME` for cache, chat and index paths (PR
[amd#4381](amd#4381))
- [@krtadev](https://github.com/krtadev) — `~` expansion in file and
document tool paths (PR [amd#4576](amd#4576))
- [@aksh8b](https://github.com/aksh8b) — telling a broken agent install
apart from a missing one, with a reinstall hint that works (PR
[amd#4588](amd#4588))
- [@Dev-next-gen](https://github.com/Dev-next-gen) — numeric prerelease
ordering in the hub (PR [amd#4517](amd#4517))
- [@vianmangal](https://github.com/vianmangal) — recording denied tool
calls as unsuccessful in memory (PR
[amd#4412](amd#4412))
- [@GaetanVDB07](https://github.com/GaetanVDB07) — links to upstream
credential setup guides for connectors (PR
[amd#4669](amd#4669))
- [@rradjabi](https://github.com/rradjabi) — moving self-hosted CI jobs
to the xsj-dispatch runner pool (PR
[amd#4534](amd#4534))




## Also in this PR

- **Hub floors raised to core 0.25.0** — the chat agent imports the
allowed-folders check that only 0.25.0 ships (amd#4656), so
`gaia-agent-chat` goes to 0.2.0 with `amd-gaia>=0.25.0`, and the
flagship requires `amd-gaia>=0.25.0` and `gaia-agent-chat>=0.2.0`.
- **Two follow-ups held back until that floor could rise** —
`~/.gaia/logs/gaia-agent.log` now rotates like `gaia.log` (amd#4668), and
the chat agent's Python runners and Windows notification start their
children without GAIA's internal credentials (amd#4659).

The full changelog (300 commits) is in `docs/releases/v0.25.0.mdx`.

## Test plan

- [x] `util/validate_release_notes.py docs/releases/v0.25.0.mdx --tag
v0.25.0` passes; narrative is 590 words (cap 600)
- [x] `util/check_component_core_api.py --release-version 0.25.0` passes
- [x] `pytest tests/unit/test_docs_json_release.py
tests/unit/test_check_component_core_api.py
hub/agents/chat/python/tests/test_chat_dependency_floor.py
hub/agents/chat/python/tests/test_dependency_floor.py
hub/agents/gaia/python/tests/test_gen_binaries_lock.py` (72 passed)
- [x] `pytest hub/agents/gaia/python/tests/test_stdio.py` (91 passed,
incl. the new rotation test); `pytest
tests/unit/test_execute_python_file_cwd.py
tests/unit/test_run_python_tool.py` (42 passed)
- [ ] `mintlify validate` (docs CI job) — timed out locally, relying on
CI
- [x] Full flagship eval on main 9ce6598
(https://github.com/amd/gaia/actions/runs/37436249503): 181/308
scenarios pass vs 100/183 for the same categories in the baseline, 39
FAIL→PASS, 13 PASS→FAIL (two fixed in amd#4878, held until after rc1);
retrieval lane still finishing at merge time
- [ ] CI green

## Release checklist

- [ ] Publish `gaia-agent-chat` 0.2.0 only after core 0.25.0 is on PyPI
— it fails at import on an older core
- [ ] Build Installers on the merged SHA (pre-tag verification) before
pushing `v0.25.0`
- [ ] terminal-hub 0.25.0 published before the flagship npm release
consumes `binaries.lock.json`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Kalin Ovtcharov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents audio Audio (ASR/TTS) changes cli CLI changes dependencies Dependency updates devops DevOps/infrastructure changes documentation Documentation changes installer Installer changes performance Performance-critical changes rag RAG system changes tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants