Commit Graph
8 Commits
Author SHA1 Message Date
velixio 3f8313791f refactor(backend): clean-room reimplementation of the Windows subprocess fallback, dub mix spill, CTranslate2 repair, audiobook join keys, capture fallback, Urdu verbalization, dictation prompt and Tailscale helpers
Rebuilds the remaining contributor backend units from a behaviour spec; public names, endpoints, JSON shapes and on-disk formats are unchanged.
2026-10-28 00:06:55 +05:30
velixio 8eb12caf27 chore(provenance): remove W7 backend helpers pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
2026-10-28 00:06:55 +05:30
velixio 900b855c86 refactor(asr): clean-room reimplementation of the CTranslate2 exec-stack repair and Whisper OOM fallback
Rewritten from a behavioural spec by an implementer without access to the
removed code, so every line has CLA-covered provenance. Same public API and
behaviour: the in-place PT_GNU_STACK repair for whisperx, faster-whisper and
Argos (#692), and the CUDA batch ladder with CPU finish for PyTorch Whisper.
The Argos runtime error message is reworded.

(cherry picked from commit e3aebf4b03)
2026-10-27 02:28:51 +05:30
velixio 5c6ef94c2c chore(provenance): remove CTranslate2 exec-stack repair and Whisper OOM ladder pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM
markers where the reimplementation goes.

(cherry picked from commit 2d009e1a94)
2026-10-27 02:28:51 +05:30
Michael Maertzdorfanddebpalash d6d17c81d4 feat(gpu): add opt-in native Windows ROCm installation (#3045)
* 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>
2026-10-26 07:29:37 +05:30
Palash Debnath 1c5c16e21e fix: select native file locking by host capability 2026-09-17 14:36:57 +05:30
Palash Debnath 3c4c8ed679 fix: harden native repair and preserve offline Whisper fallback 2026-09-17 12:18:02 +05:30
sean park 67c61fe357 fix(asr): repair CTranslate2's exec-stack request instead of only routing around it (#692)
ctranslate2 <=4.4.0 marks its native library's stack RWE; kernels that
refuse the request fail the dlopen, taking whisperx, faster-whisper and
Argos translation down. main learned to detect and fall back; this also
fixes the library: core.execstack clears the one ELF bit in place on
first probe (Linux-only, memoized, never raises), so the engines load
normally on hardened kernels. Argos's probe moves to
argostranslate.translate so it cannot advertise an engine whose every
request 500s, and the dub route returns one actionable 400.

Also: pytorch-whisper survives a CUDA OOM at transcribe time by
stepping the batch down (16->4->1, 8->2->1 with word timestamps) and
finishing on CPU rather than dropping the chunk.
2026-09-17 13:19:30 +09:00