Open-Generative-AI/electron
Anil Matcha 0493e6244b fix(local-ai): walk back releases when latest is partial; broaden Linux match
Fixes #108 — leejet's latest sd.cpp release (master-587-b8bdffc) only
ships Mac arm64, the Windows cudart runtime stub, and Linux ROCm. The
old matcher only ever read `releases/latest` and excluded ROCm/Vulkan,
so Ubuntu/Linux users hit "No binary found for this platform" with no
recovery path. Windows users were also broken: the only Win asset in
the latest release isn't an sd-cli build.

- Walk the last 15 leejet releases until one ships a usable build for
  the current platform, so a partial latest release self-heals to the
  prior tag (master-586 onwards has the full 12-zip matrix).
- Linux: prefer plain x86_64, then vulkan, then rocm (instead of
  rejecting both rocm and vulkan).
- Windows: priority order avx2 > avx > avx512 > noavx > cuda12, and
  skip the standalone `cudart-sd-bin-win-cu12-x64.zip` runtime stub.
- macOS Intel: surface a clear error — leejet only ships arm64.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 10:51:44 +05:30
..
lib fix(local-ai): walk back releases when latest is partial; broaden Linux match 2026-04-25 10:51:44 +05:30
main.js feat: add local model inference via sd.cpp (Electron-only) 2026-04-22 17:47:17 +05:30
preload.js feat: add local model inference via sd.cpp (Electron-only) 2026-04-22 17:47:17 +05:30