- Setup GPU row no longer says "CUDA ready" when the wheel lacks the card's
kernels, matching the routing row.
- Sidecar engines with their own torch keep the kernel caveat; only engines
on the parent runtime get the CPU-fallback badge.
- A failing installed cl.exe is a build error, not a missing compiler.
- Verify the ROCm swap produced a HIP build (Electron and setup.py) before
reporting success or writing the ready marker.
- model_manager keeps its own FORCE_CUDA reader (no new import cycle); a test
pins it to device_caps.cuda_forced().
- Routing badge falls back to CPU for a CUDA card the wheel has no kernels
for (sm_52 Maxwell on cu128), matching the loader; one cuda_forced()
reading shared by loader, badge and GPU report (#3067).
- Linux ROCm torch swap reinstalls only the torch trio from an extra index;
--index-url + --reinstall made Pillow 13 unresolvable (#3158, #3418).
- Sidecar installs that fail for lack of a C++ compiler say so and name the
build tools per OS instead of blaming the network (#3423).
Rewritten from a behavioural spec by an implementer without access to the
removed code, so every line has CLA-covered provenance: memmap-staged dub
assembly and segment cache, the native Malayalam number verbalizer, the
OpenAI-compatible speech extension controls forwarded to the GGUF engine,
and the opt-in ROCm torch swap in source setup.
(cherry picked from commit 0d4d3b00cb536f8974e1495aba1f05cabe3d0f1d)
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
(cherry picked from commit f209084aa188804271d4f71f7acaaa7b1bbeb6c8)
* feat(gpu): add opt-in native Windows ROCm installation
Use one pinned Windows recipe for source and Electron setup, verify native packages before reuse, and preserve explicit opt-in and sidecar compatibility boundaries.
* docs(rocm): drop agent-instruction plan files; move the entry to a changelog fragment
* fix(rocm): hash-pin every AMD artifact and keep dependencies at their locked versions
Each repo.radeon.com wheel/sdist now carries a sha256 in the recipe, the loader
refuses one without it, and the installer installs from a --hash requirements
file (uv verifies; UV_NO_VERIFY_HASHES is stripped). A constraints file pins
every installed package except the overlay (torch family, rocm*, triton*,
ctranslate2), so transitive deps no longer resolve fresh from the index. The
rocm sdist builds with the locked setuptools.
* fix(rocm): ask before switching an existing runtime to Windows ROCm
OMNIVOICE_TORCH_VARIANT=rocm used to be ignored on Windows; with this PR it
would fail readiness on update and auto-repair into a multi-GB download from
new hosts. A successful install now records its torch build (.runtime-torch);
a runtime never installed with Windows ROCm goes to the setup screen instead
of auto-repair. ROCm on Windows ARM64 reports not-ready instead of rejecting
readiness, and the setup screen names repo.radeon.com as the Windows ROCm
torch source.
* fix(rocm): resolve ROCm packages from site-packages and remember a failed GPU probe
package_root() finds torch, ctranslate2 and the ROCm SDK packages through
their distribution records in this interpreter's site-packages, so a stray
folder in the working directory of a -m child can't choose the DLL
directories. A failed HIP CT2 probe (up to 90 s) is remembered for the
process instead of 5 s, so catalogue refreshes don't re-run it; a restart,
recipe or package change runs it again.
* docs(rocm): record the owner-approved Windows ROCm endpoints and how setup checks them
* docs(structure): count the pyannote compat service module
* test(rocm): pin the host architecture in the setup-reuse readiness test
* fix(repo): untrack the committed .venv symlink and ignore symlinked envs; follow the new ROCm copy in the GPU panel test
.gitignore's '.venv/' only matches directories, so a worktree's symlinked
.venv was committed and CI's uv sync failed on it. Ignore '.venv' without the
slash and add a guard that no local environment path is ever tracked.
* test(audio-io): allow the pyannote torchaudio shim, which applies the gate's own fix to third-party calls
---------
Co-authored-by: debpalash <4178343+debpalash@users.noreply.github.com>
Fix fresh-clone desktop development by creating the required dist placeholder before Tauri starts, and make source setup install the selected CUDA or ROCm PyTorch stack consistently. Adds behavior-level cross-platform regression coverage.\n\nFixes #1664.\nFixes #1665.\n\nThanks @uberclokr for the contribution.
`scripts/setup.py` prints ✓/⚙ status glyphs. When its stdout is a pipe rather
than an interactive console — which is exactly the case under `bun run
setup:api` and in CI — Windows Python encodes with the cp1252 codepage, which
can't represent those characters, so the script dies with UnicodeEncodeError
mid-setup and takes `bun desktop` down at the setup:api step. It only "works"
interactively by luck of the console encoding.
Reconfigure sys.stdout/sys.stderr to UTF-8 (errors="replace") at startup so the
output is identical whether run interactively or piped. No-op where the streams
already speak UTF-8 (macOS/Linux, modern Windows Terminal) or can't be
reconfigured. Verified: `bun desktop` from a stale terminal now completes
setup:api with piped stdout and launches the app.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix(bootstrap): port cuDNN 8 (NVIDIA CUDA GPU) + VC++ redist install into ensure_venv_ready()
* fix(bootstrap): address #869 review — drop dead VC++ half, cache negative CUDA probe, gate on ROCm, sync docs
Per maintainer review on #869:
1. Drop the VC++ Redistributable half: LoadLibraryA("vcruntime140.dll")
from the running Tauri exe is a tautology (the exe itself links the
MSVC CRT, so the process wouldn't be running without it), and torch's
real failure mode is msvcp140.dll inside the venv python process.
Dead code removed; a comment records why for future readers.
2. Stop taxing every non-CUDA launch: a negative torch probe (CPU /
Intel / AMD — most installs) is now cached in a
.venv/.cudnn8_probe_negative marker, so the synchronous `import
torch` runs at most once per venv lifetime. Invalidated on every
path that can change the torch build (drift sync #307, repair sync,
first-run sync, ROCm reinstall) and implicitly by a venv rebuild.
A probe that fails to run cleanly is skipped WITHOUT caching so a
transient error can't wedge a real CUDA machine.
3. Rewrite docs/install/troubleshooting.md §10 to the actual root
cause: packaged installs never had the cudnn8_compat libs (so
reinstalling never restored them); the bootstrap now installs them
automatically on CUDA machines, with the manual uv pip command as
the offline fallback and PyTorch Whisper as the sidestep.
4. Gate the ~700 MB nvidia-cudnn-cu12 download on the venv torch being
a real CUDA build: the probe now reports 'hip' before checking
cuda.is_available() (which HIP spoofs), so opt-in ROCm installs
(#124) never fetch the CUDA wheel.
Also reflow the CHANGELOG entry to house style (bold one-line lead,
1-3 lines of why, (#827, #869) refs) and extend the bootstrap unit
tests: classify_cuda_probe verdict mapping and the marker
write/invalidate round-trip (6 cuDNN tests total, 43 lib tests green).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: mergetest <test@local>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>