mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-04 09:28:22 +00:00
torch < 2.10 lets a crafted checkpoint run code even under torch.load(weights_only=True). Move the main-app trio to torch 2.10.0, torchaudio 2.10.0 and torchvision 0.25.0 everywhere it is pinned: uv constraints and lock, deploy/torch-constraints.txt, the Dockerfile (CUDA base image, cu129 arm64 stage, ROCm base image), setup.py and runtime-project.ts. Linux AMD ROCm moves to the rocm7.1 index, the only ROCm line PyTorch publishes 2.10 for (owner decision). The cu126/cu128/cu129 GPU architecture lists are unchanged from 2.8, so no NVIDIA card loses kernels. torchaudio 2.9+ I/O changes are already handled: audio_io falls back to soundfile and prepare_audio_imports installs the pyannote shim on every platform. Engine sidecars keep their own upstream pins. Windows ROCm stays on AMD's 2.9.1 build: repo.radeon.com publishes no 2.10 wheels yet.
445 lines
20 KiB
Markdown
445 lines
20 KiB
Markdown
# VoiceStudio — Install on Linux
|
||
|
||
VoiceStudio's Linux desktop app is built with Electron. The archived Tauri app
|
||
is no longer maintained; if you still run it, follow the
|
||
[migration guide](../electron-migration.md).
|
||
|
||
## Requirements
|
||
|
||
- **Linux x86_64** with a graphical desktop session (X11 or Wayland). There are
|
||
no ARM64 Linux packages.
|
||
- **~10 GB free disk** for the app, its Python environment, and model weights.
|
||
- Optional: an **NVIDIA driver** for CUDA acceleration. Without one, setup
|
||
installs the CPU build of PyTorch (see below). For AMD GPUs see
|
||
[AMD GPU (ROCm)](#amd-gpu-rocm).
|
||
|
||
Python, FFmpeg/FFprobe, yt-dlp, and model weights are bootstrapped by the app
|
||
on first launch; no toolchain is needed for the packaged app. If no FFmpeg
|
||
resolves anywhere, the app downloads its own checksummed static build;
|
||
**Settings → Audio tools** shows which binaries are in use and lets you
|
||
override them or update yt-dlp.
|
||
|
||
## Install (Snap, AppImage or .deb)
|
||
|
||
<a id="install-snap"></a>
|
||
|
||
**Snap Store** (Ubuntu and other distributions with snapd):
|
||
|
||
<a href="https://snapcraft.io/voicestudio"><img src="https://snapcraft.io/en/dark/install.svg" alt="Get it from the Snap Store" height="40" /></a>
|
||
|
||
or from a terminal:
|
||
|
||
```bash
|
||
sudo snap install voicestudio
|
||
```
|
||
|
||
The snap updates itself through snapd. Recording and dictation need the
|
||
microphone interface; if VoiceStudio cannot hear you, connect it once:
|
||
|
||
```bash
|
||
sudo snap connect voicestudio:audio-record
|
||
```
|
||
|
||
<a id="install-appimage"></a>
|
||
|
||
Download a package from the
|
||
[Releases page](https://github.com/debpalash/VoiceStudio/releases/latest):
|
||
|
||
| Package | File |
|
||
|---|---|
|
||
| AppImage (any distribution) | `VoiceStudio-<version>-linux-x64.AppImage` |
|
||
| Debian / Ubuntu package | `VoiceStudio-<version>-linux-x64.deb` |
|
||
|
||
**AppImage:**
|
||
|
||
```bash
|
||
chmod +x VoiceStudio-*-linux-x64.AppImage
|
||
./VoiceStudio-*-linux-x64.AppImage
|
||
```
|
||
|
||
The AppImage uses the static AppImage runtime, so it does not need `libfuse2`.
|
||
The [shell installer](script.md) (`curl -fsSL https://voicestudio.sh/install | sh`)
|
||
downloads the latest AppImage, verifies it against the release's
|
||
`SHA256SUMS.txt`, and installs it as `~/.local/bin/VoiceStudio`.
|
||
|
||
**.deb:**
|
||
|
||
```bash
|
||
sudo apt install ./VoiceStudio-<version>-linux-x64.deb
|
||
```
|
||
|
||
The in-app updater's Linux feed carries the AppImage. Update a `.deb`
|
||
installation by installing the newer `.deb`; remove it with your package
|
||
manager.
|
||
|
||
Compare any download with the release's `SHA256SUMS.txt` before installing.
|
||
|
||
### Machines without an NVIDIA GPU
|
||
|
||
Laptops and desktops with Intel/AMD integrated graphics (or any GPU without
|
||
an NVIDIA driver) run the whole app on the CPU, just slower. When no NVIDIA
|
||
driver is found, the packaged app's runtime setup installs the small CPU build
|
||
of PyTorch rather than the CUDA build and its ~3 GB of `nvidia-*` packages,
|
||
and needs about 5 GiB of free disk instead of 9 GiB. Pick a light voice engine
|
||
(KittenTTS, Supertonic-3, PocketTTS) and a small Whisper model for the best
|
||
speed. `OMNIVOICE_TORCH_VARIANT=cuda|cpu|rocm` overrides the detection, and an
|
||
existing install keeps working untouched. Source setup (`bun run setup:api`)
|
||
also selects the locked CPU wheels on x86-64 hosts without NVIDIA. Linux ARM
|
||
source installs keep their native PyPI wheels. See
|
||
[CPU setup and overrides](../../electron/README.md#running-without-a-gpu).
|
||
|
||
## Building from source
|
||
|
||
Use this for development or to run current `main`. To build and install a
|
||
desktop package from `main` without a checkout, use the shell installer's
|
||
[`--main` mode](script.md#building-main).
|
||
|
||
Prerequisites:
|
||
|
||
- **git** and **curl**
|
||
- **Bun** — `curl -fsSL https://bun.sh/install | bash`
|
||
- **uv** — `curl -LsSf https://astral.sh/uv/install.sh | sh` (it provides the
|
||
managed Python 3.11 the backend uses)
|
||
- **Node.js 22.12.0 or newer**, **Rust / Cargo**
|
||
(`curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`), and the
|
||
native development libraries used by the Electron native helper. If you use
|
||
rustup, reopen the shell or run `source "$HOME/.cargo/env"` first.
|
||
|
||
```bash
|
||
# Debian / Ubuntu
|
||
sudo apt-get update
|
||
sudo apt-get install -y build-essential pkg-config libasound2-dev libxdo-dev \
|
||
libxtst-dev libx11-dev libxkbcommon-dev libwayland-dev libssl-dev \
|
||
binutils zsync
|
||
|
||
# Fedora
|
||
sudo dnf install gcc gcc-c++ make pkgconf-pkg-config alsa-lib-devel libxdo-devel \
|
||
libXtst-devel libX11-devel libxkbcommon-devel wayland-devel openssl-devel
|
||
|
||
# Arch
|
||
sudo pacman -S --needed base-devel alsa-lib xdotool libxtst libx11 libxkbcommon wayland openssl
|
||
```
|
||
|
||
`bun run dist` also needs `readelf` (binutils) and `zsyncmake` (zsync) to
|
||
embed AppImage update information.
|
||
|
||
Then, from a clone of the repository:
|
||
|
||
```bash
|
||
git clone https://github.com/debpalash/VoiceStudio.git
|
||
cd VoiceStudio
|
||
node electron/scripts/node-version.mjs
|
||
```
|
||
|
||
If the Node check fails, stop here, upgrade Node.js, and reopen your terminal
|
||
before continuing. Then install dependencies and prepare the local backend
|
||
(skip API setup when using an external backend or an Intel Mac):
|
||
|
||
```bash
|
||
bun install
|
||
bun run setup:api # create the Python environment with uv
|
||
bun run dev # Electron with hot reload; it starts and supervises the backend
|
||
```
|
||
|
||
Do not start the backend in a second terminal; Electron attaches to a backend
|
||
already listening on port 3900, otherwise it starts its own. Other commands:
|
||
|
||
| Command | What it does |
|
||
|---|---|
|
||
| `bun run desktop-prod` | Build Electron and launch the production bundle |
|
||
| `bun run dist` | Build local installers (AppImage and `.deb`) in `electron/release/` without publishing |
|
||
| `bun run smoke-test` | Build and launch an isolated packaged app |
|
||
|
||
See [Electron setup](../../electron/README.md) for backend configuration and
|
||
quality gates. The first launch downloads model weights only when you install
|
||
a model.
|
||
|
||
### Arch Linux (AUR)
|
||
|
||
```bash
|
||
yay -S voicestudio-bin # or paru -S voicestudio-bin
|
||
# Development build from the current main branch:
|
||
yay -S voicestudio-git
|
||
```
|
||
|
||
The upstream maintainer maintains `voicestudio-bin`, which repackages the
|
||
stable release `.deb`, and `voicestudio-git`, which builds current development
|
||
sources. Install one variant at a time. The Git package builds the Electron
|
||
app, native desktop bridge and pinned OmniVoice GGUF runtime; it needs a
|
||
native toolchain, network access and sufficient disk space for the build.
|
||
Its recipe and build instructions live in
|
||
[`packaging/aur`](../../packaging/aur/README.md).
|
||
|
||
The Git-package launcher sets `VOICESTUDIO_DISABLE_UPDATER=1` so `pacman`
|
||
handles application updates. Set the same variable for other package-managed
|
||
installs. Model and Python runtime setup remain explicit in the app.
|
||
|
||
### Nix / NixOS
|
||
|
||
A community-maintained Nix flake provides development shells and an FHS environment for running from source (not tested in CI). See the [Nix / NixOS guide](nix.md):
|
||
|
||
```bash
|
||
nix develop .#fhs # recommended for NixOS
|
||
bun run dev
|
||
```
|
||
|
||
## ChromeOS, iPad and other devices
|
||
|
||
There is no native ChromeOS or iPadOS app, and VoiceStudio does not run
|
||
inside the browser alone: the models need a real backend.
|
||
|
||
- **Chromebook with Linux development environment on x86-64:** install the
|
||
AppImage or `.deb` ([Install](#install-snap-appimage-or-deb)). Expect CPU-only
|
||
generation (the container has no GPU access on most devices) and enough RAM
|
||
for the model you pick. ARM Chromebooks are not supported: the Linux builds
|
||
are x86-64 only.
|
||
- **Any browser, including ChromeOS, iPad and phones:** run VoiceStudio on a
|
||
PC, Mac or server and open its web interface from the device. On the same
|
||
network turn on **Network** sharing and scan the QR code; from anywhere, use
|
||
Tailscale. See [Sharing & Remote Access](../sharing.md); for a headless host
|
||
see [Docker](docker.md).
|
||
|
||
## Wayland dictation shortcut
|
||
|
||
System-wide dictation on Wayland uses the standard
|
||
`org.freedesktop.portal.GlobalShortcuts` interface. Your desktop must run
|
||
`xdg-desktop-portal` and a portal backend that implements that interface. The
|
||
desktop owns the consent dialog and may let you replace VoiceStudio's preferred
|
||
key combination.
|
||
|
||
VoiceStudio binds the replacement before saving a changed shortcut. If consent
|
||
is declined or the portal is unavailable, Settings keeps the previous shortcut
|
||
and reports the registration failure. The configured shortcut still works while
|
||
the VoiceStudio window is focused.
|
||
|
||
While a dictation is running, VoiceStudio shows a small always-on-top capsule.
|
||
It sits near the bottom of the screen your pointer is on — except on Wayland,
|
||
where the protocol gives applications no say in their own placement and the
|
||
compositor decides where it appears. The capsule works the same either way; only
|
||
its position is out of the app's hands there.
|
||
|
||
Wayland does not expose a portable identity for the app focused at shortcut
|
||
down, so VoiceStudio safely leaves the complete transcript on the clipboard and
|
||
the pill says **Copied** instead of risking insertion into a different app.
|
||
|
||
Advanced users can opt into current-focus insertion with
|
||
`VOICESTUDIO_WAYLAND_UNTARGETED_INSERT=1`. wlroots compositors such as Sway and
|
||
Hyprland use `wtype`; KDE Plasma and GNOME can use `dotool` or `ydotool` to
|
||
paste the Unicode clipboard payload. The
|
||
opt-in targets whichever client owns keyboard focus when transcription
|
||
finishes, not necessarily the app where dictation started. Tray-started
|
||
dictation remains copy-only. `dotool` needs direct write access to
|
||
`/dev/uinput` (normally through a distribution udev rule/group). `ydotool`
|
||
1.0+ needs the `ydotoold` daemon running with that access and its socket
|
||
available to the desktop user. VoiceStudio skips either helper when its
|
||
readiness check fails.
|
||
|
||
If the global shortcut stops working, restart your desktop's portal service,
|
||
then save the shortcut again in **Settings → Hotkey** to reopen consent. Portal
|
||
packages and support vary by desktop; use the backend recommended by your
|
||
distribution rather than running multiple portal backends in the same session.
|
||
See the portal project's [service integration checks](https://flatpak.github.io/xdg-desktop-portal/docs/system-integration.html)
|
||
and the Arch Linux [backend compatibility table](https://wiki.archlinux.org/title/XDG_Desktop_Portal#List_of_backends_and_interfaces)
|
||
for concrete service and desktop-backend checks.
|
||
|
||
## Blank window or GPU errors
|
||
|
||
<a id="appimage-white-screen-on-fedora-44--ubuntu-2404"></a>
|
||
|
||
The Electron app renders with Chromium, not WebKitGTK, so the `WEBKIT_*`
|
||
variables and the bundled-WebKit/GStreamer workarounds from the archived Tauri
|
||
AppImage no longer apply. If the window stays blank or the terminal shows GPU
|
||
process errors, start the app once with Chromium's GPU acceleration disabled:
|
||
|
||
```bash
|
||
./VoiceStudio-*-linux-x64.AppImage --disable-gpu
|
||
```
|
||
|
||
On Wayland sessions you can also try forcing X11 (XWayland) with
|
||
`--ozone-platform=x11`. If either flag helps, report your distribution, desktop
|
||
and GPU driver in a GitHub issue.
|
||
|
||
## .deb ffprobe conflict
|
||
|
||
<a id="deb-ffprobe-conflict"></a>
|
||
|
||
This applies only to upgrades from **pre-v0.3** `.deb` packages, which
|
||
installed `ffprobe` into `/usr/bin/ffprobe` and could clobber the system copy.
|
||
If `ffprobe -version` reports the wrong binary after such an upgrade,
|
||
reinstall the system package:
|
||
|
||
```bash
|
||
sudo apt install --reinstall ffmpeg
|
||
```
|
||
|
||
## Restricted networks (China / Russia)
|
||
|
||
If `uv` times out fetching the python-build-standalone tarball or PyPI:
|
||
|
||
```bash
|
||
# Use a faster Python source mirror (China only — verify a current mirror)
|
||
export UV_PYTHON_INSTALL_MIRROR=https://gh-proxy.com/https://github.com/astral-sh/python-build-standalone/releases/download
|
||
|
||
# Use a PyPI mirror (source checkouts that resolve packages themselves; the
|
||
# locked dependency install downloads the wheel URLs pinned in uv.lock)
|
||
export UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple
|
||
|
||
# Or skip the download entirely if you have a compatible system Python
|
||
export UV_PYTHON_PREFERENCE=only-system
|
||
|
||
# Be tolerant of slow links
|
||
export UV_HTTP_TIMEOUT=900
|
||
export UV_HTTP_RETRIES=5
|
||
```
|
||
|
||
Packaged setup already tries a Python download mirror and raises the uv
|
||
network budget automatically; set these to force a specific mirror, or before
|
||
`bun run setup:api` in a source checkout. See
|
||
[troubleshooting](troubleshooting.md#first-run-setup-fails-on-a-restricted-network-githubpypi-blocked).
|
||
If the dependency download is slow or stalls, see
|
||
[First-run setup is slow or stalls on a download](troubleshooting.md#first-run-setup-is-slow-or-stalls-on-a-download).
|
||
|
||
## AMD GPU (ROCm)
|
||
|
||
<a id="amd-gpu-rocm"></a>
|
||
|
||
ROCm support is **Linux-only and opt-in**. The **default install ships the
|
||
CUDA build** of PyTorch (the `pytorch-cuda` index in `pyproject.toml`), so on
|
||
an AMD-only machine `torch.cuda.is_available()` is `False` and VoiceStudio runs
|
||
on CPU until you opt into the ROCm variant.
|
||
|
||
> **Running in Docker or Podman instead?** There's a prebuilt ROCm image —
|
||
> `ghcr.io/debpalash/voicestudio:stable-rocm` — with GPU acceleration out of the
|
||
> box; see [docker.md](docker.md#pull-and-run-amd-gpu--rocm). The rest of this
|
||
> section is about source/desktop installs. Windows has its own opt-in ROCm
|
||
> setup; see [windows-rocm.md](windows-rocm.md).
|
||
|
||
**Radeon RX 9000 series (RDNA4: RX 9060 / 9070 / 9070 XT, `gfx1200`/`gfx1201`)**
|
||
is supported natively by the ROCm build below (torch 2.10.0 from the `rocm7.1`
|
||
index includes both architectures), so it needs no `HSA_OVERRIDE_GFX_VERSION`.
|
||
The host needs an `amdgpu` kernel driver new enough for RDNA4 (AMD's ROCm
|
||
6.4.1+ driver, or a recent distribution kernel); `rocminfo` listing your card
|
||
as `gfx1200`/`gfx1201` confirms it. Never remap an RDNA4 card onto `11.0.0`:
|
||
RDNA3 kernels cannot run on it.
|
||
|
||
Ways to opt in, in order of preference:
|
||
|
||
**1. Packaged app (environment variable).** Install the ROCm userspace
|
||
(`/opt/rocm` or `rocminfo` on PATH), then launch VoiceStudio once with
|
||
`OMNIVOICE_TORCH_VARIANT=rocm` set, for example
|
||
`OMNIVOICE_TORCH_VARIANT=rocm ./VoiceStudio-*-linux-x64.AppImage`.
|
||
Once setup finishes, the choice is saved in `~/.config/omnivoice/env`, so later
|
||
launches and app updates keep ROCm without the variable. To leave ROCm, launch
|
||
once with `OMNIVOICE_TORCH_VARIANT=cpu`.
|
||
Runtime setup then reinstalls `torch`/`torchaudio`/`torchvision` from the ROCm
|
||
wheel index (`https://download.pytorch.org/whl/rocm7.1` by default) right after
|
||
the dependency sync, leaving every other package on the regular index, matched to the app's pinned `torch==2.10.0` (the rocm6.2 index
|
||
only ever published up to torch 2.5.1). **Settings → Performance → GPU
|
||
acceleration** reports which PyTorch build is installed. The option is ignored
|
||
on macOS; on Windows it selects the opt-in stack in
|
||
[windows-rocm.md](windows-rocm.md).
|
||
|
||
**2. Source checkout.** `OMNIVOICE_TORCH_VARIANT=rocm bun run setup:api` swaps
|
||
torch right after `uv sync`; `bun run dev` then starts the backend from that
|
||
environment, and `bun run dev:api` launches it without re-syncing, so the
|
||
wheel is not reverted (#1665).
|
||
Running `bun run setup:api` again without `OMNIVOICE_TORCH_VARIANT` restores
|
||
the lockfile's CUDA torch build, replacing any ROCm wheel you installed by
|
||
hand. To choose another ROCm release, set `OMNIVOICE_TORCH_INDEX=<url>`; AMD
|
||
publishes newer driver-matched 7.2.x wheels on `repo.radeon.com` as a
|
||
`--find-links` page rather than a PyPI-compatible index, for example:
|
||
```bash
|
||
uv pip install --reinstall-package torch --reinstall-package torchaudio \
|
||
--reinstall-package torchvision torch==2.10.0 torchaudio==2.10.0 torchvision==0.25.0 \
|
||
--find-links https://repo.radeon.com/rocm/manylinux/rocm-rel-7.2.4/
|
||
```
|
||
run that manually if you want a specific ROCm point release; the
|
||
`OMNIVOICE_TORCH_INDEX` env var only accepts a PEP 503 index URL, not a
|
||
find-links page. If the reinstall fails (network, unsupported card), VoiceStudio
|
||
keeps the default torch build and warns instead of breaking the install.
|
||
|
||
**3. Manual wheel swap (fallback).** Replace torch with the ROCm wheel
|
||
**after** the first-run install populates the venv:
|
||
|
||
```bash
|
||
# From the project directory (source install), into VoiceStudio's uv venv.
|
||
# Matches the app's torch==2.10.0 pin — a different ROCm point release
|
||
# (e.g. rocm6.4, rocm7.2) may not carry that exact torch build.
|
||
# Swap all three torch packages together: a CUDA torchvision left beside a
|
||
# ROCm torch fails at generation time ("operator torchvision::nms does not
|
||
# exist"). Keep PyPI as the main index: PyTorch's index has no Pillow 13, so
|
||
# `--index-url` with `--reinstall` cannot resolve (#3158).
|
||
uv pip install \
|
||
--reinstall-package torch --reinstall-package torchaudio --reinstall-package torchvision \
|
||
torch==2.10.0+rocm7.1 torchaudio==2.10.0+rocm7.1 torchvision==0.25.0+rocm7.1 \
|
||
--extra-index-url https://download.pytorch.org/whl/rocm7.1 \
|
||
--index-strategy unsafe-best-match
|
||
```
|
||
|
||
Once a ROCm build of PyTorch is in the venv, detection is automatic —
|
||
`get_best_device()` returns the GPU (ROCm-built PyTorch reports through
|
||
`torch.cuda.is_available()`), and VoiceStudio auto-sets
|
||
`HSA_OVERRIDE_GFX_VERSION` when your card's GFX ID is missing from the
|
||
installed wheel's architecture list. The target comes from that list, not from
|
||
a fixed table: the closest architecture of the same generation and the same or
|
||
an older revision (gfx1152 → gfx1100, gfx1035 → gfx1030, gfx1201 → gfx1200 on
|
||
a wheel that only ships gfx1200). It never crosses a generation, nor RDNA1/RDNA2
|
||
(gfx101x/gfx103x) or Vega/CDNA within gfx9, so an RDNA4
|
||
card on a wheel without any gfx12 target gets no override and a clear message. Relaunch and **Settings → Performance → GPU acceleration** should
|
||
report the GPU device instead of `cpu`. Verify the wheel sees your card:
|
||
|
||
```bash
|
||
uv run python -c "import torch; print(torch.cuda.is_available(), torch.cuda.get_device_name(0))"
|
||
```
|
||
|
||
Notes:
|
||
- ROCm is exercised far less than the default CUDA/MPS/CPU paths — it works,
|
||
but expect rough edges on consumer cards and report what you hit.
|
||
- Unsupported GFX (e.g. some consumer RDNA cards): if it still won't run, set
|
||
`HSA_OVERRIDE_GFX_VERSION` yourself to a supported architecture **of the same
|
||
generation** before launching (e.g. `export HSA_OVERRIDE_GFX_VERSION=11.0.0`
|
||
for a gfx11xx card, `10.3.0` for a gfx103x card; RDNA1 gfx101x cannot use
|
||
`10.3.0`). A remap across generations cannot
|
||
work, so RDNA4 (gfx12xx) cards need a ROCm build that lists them instead.
|
||
When the build lacks your card, VoiceStudio's GPU architecture notification
|
||
names the exact value to try, or says that no remap exists.
|
||
- Engines on the GPU: every PyTorch engine that runs on an NVIDIA GPU also
|
||
claims ROCm (OmniVoice, IndexTTS, VoxCPM2, MOSS-TTS-Nano, CosyVoice,
|
||
dots.tts, Confucius4, PyTorch Whisper, FunASR, NeMo Parakeet). On a ROCm
|
||
host the one-click installs of VoxCPM2, MOSS-TTS-Nano, CosyVoice,
|
||
Confucius4, dots.tts and IndexTTS put the ROCm build of the engine's own
|
||
pinned torch in its venv, from the PyTorch ROCm index that publishes that
|
||
version (2.7 → `rocm6.3`, 2.8 → `rocm6.4`, 2.11 → `rocm7.2`). An install
|
||
made before this may still have a CUDA or CPU wheel. A user-selected
|
||
sidecar repair builds and verifies a separate environment, keeping the existing
|
||
installation available until the replacement succeeds. The previous environment
|
||
remains on disk until the engine is uninstalled. A custom `OMNIVOICE_TORCH_INDEX`
|
||
is used exactly as provided; it must carry
|
||
the sidecar’s pinned Torch and torchaudio versions. The installer estimates
|
||
disk space using the selected Torch wheel's downloaded and unpacked sizes,
|
||
in addition to the engine's normal estimate. Measurements of the published
|
||
Linux x86-64 Python 3.11 wheels on 2026-11-07 were 25.101 GiB for
|
||
[Torch 2.7.0](https://download.pytorch.org/whl/rocm6.3/torch/),
|
||
14.873 GiB for [2.8.0](https://download.pytorch.org/whl/rocm6.4/torch/)
|
||
and 18.999 GiB for [2.11.0](https://download.pytorch.org/whl/rocm7.2/torch/); the guard rounds up
|
||
and uses the largest measured value when the version is unknown. These are
|
||
estimates: custom wheels, cache locations and other dependencies can differ.
|
||
Vulkan
|
||
engines (OmniVoice GGUF, CosyVoice GGUF, whisper.cpp) need no ROCm at all.
|
||
Faster-Whisper and WhisperX use CTranslate2, whose stock build is
|
||
NVIDIA-only, so on Linux ROCm they stay on the CPU; use PyTorch Whisper,
|
||
which auto-detection already prefers on ROCm.
|
||
- ZLUDA (CUDA-on-ROCm translation) is not used or supported: its PyTorch
|
||
support is incomplete and its cuDNN path can be slower than the CPU. Use
|
||
the native ROCm builds above.
|
||
|
||
Tracking issue: [#124](https://github.com/debpalash/VoiceStudio/issues/124).
|
||
|
||
## Hugging Face token (optional but recommended)
|
||
|
||
See [docs/setup/huggingface-token.md](../setup/huggingface-token.md).
|
||
|
||
## Troubleshooting
|
||
|
||
Hit a wall? See [docs/install/troubleshooting.md](troubleshooting.md).
|