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)
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM
markers where the reimplementation goes.
(cherry picked from commit 2d009e1a94)
* 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>
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.