Commit Graph
71 Commits
Author SHA1 Message Date
debpalash e9e9970a30 fix(security): update PyTorch to 2.10 (CVE-2026-24747)
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.
2026-11-08 18:38:28 +05:30
debpalash 8e9761612d fix(deploy): skip security floors whose environment marker does not apply 2026-11-08 00:44:31 +05:30
debpalash d03a7d05c4 fix(deploy): raise base-image packages below their security floor
The CUDA base image ships msgpack 1.1.1, which nothing in the image
requires, so the constrained install left it below its floor and the new
guard failed the build. deploy/security_floors.py lists installed packages
below their floor for upgrade, then checks; Docker and Colab both use it.
2026-11-08 00:08:43 +05:30
debpalash 85dd0787ea fix(deploy): apply the security floors to the Docker and Colab installs
uv pip install ignores [tool.uv] constraint-dependencies, so a base
image's older compatible package survived below the floors uv sync
enforces. Pass them as deploy/security-constraints.txt, guard the image
against below-floor installs, and test the file stays in lockstep.
2026-11-07 23:55:01 +05:30
Palash Debnath 429f1e5bb2 docs(readme): organize platform installation methods and add Homebrew (#3774)
* docs: organize platform installation methods and add Homebrew

* docs: add installation guide changelog fragment

* docs: keep Docker quick-start data in the mounted volume

* docs: preserve legacy Docker data during upgrades
2026-11-02 23:26:58 +05:30
debpalash 541fee952f Fix Windows installer process directory boundaries 2026-10-28 16:21:20 +05:30
velixio ad1c96daec feat(provenance): clean-room reimplementation of the residue-scan sections
Reimplements every CLEAN-ROOM marker the previous commit left, from the
written spec only, in sandboxes built without history. The original tests
for the touched areas pass unchanged against the new code (337 passed).
Regenerates mobile/contract/openapi.json for the new model descriptions.
2026-10-28 13:26:12 +05:30
velixio 8c535daf67 chore(provenance): remove remaining contributor code found by the residue scan pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
2026-10-28 13:02:16 +05:30
debpalash f3b6848ee8 docs(rocm): never point RX 9000 cards at an RDNA3 override
The Docker guide's forced HSA_OVERRIDE_GFX_VERSION=11.0.0 example covered
RX 9000 cards, which would map RDNA4 onto RDNA3 kernels. Scope every such
example to its generation and say RDNA4 needs none.
2026-10-28 04:10:53 +05:30
velixio 58ef2ee746 docs: clean-room rewording of remaining contributor passages
Rewrites the ROCm source-checkout notes, Start dictation details, Docker Hub architecture sentences, STRUCTURE rule and heading, Tailscale sharing steps and the CN/JA agent-install and source-run passages from a meaning-only spec.
2026-10-28 00:06:54 +05:30
velixio 7d6e3ab7d9 chore(provenance): remove contributor doc passages 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:54 +05:30
velixio 96a94569d2 Merge remote-tracking branch 'origin/main' into cla/rewrite-wave-2
# Conflicts:
#	backend/services/llm_providers.py
#	backend/services/text_normalization.py
#	backend/utils/hf_progress.py
#	docs/STRUCTURE.md
#	docs/dubbing/translation-engines.md
#	electron/src/shared/components/settings/settingsCategories.jsx
#	tests/test_llm_providers.py
2026-10-27 16:03:43 +05:30
vincentfranstyo 69fd598ddc docs(install): point Windows PowerShell commands at install.ps1 (#2982) 2026-10-27 09:47:36 +05:30
velixio 2d5eab5114 fix: treat unset form flags as off on direct calls, and read the cuDNN 8 compat path from the environment 2026-10-27 03:10:06 +05:30
velixio 6a3f5b1d9c refactor: clean-room reimplementation of dub transcribe keepalive, sidecar timeouts, audio IO fallbacks and stream-cut errors
Rebuilt from a behaviour spec by an implementer who never saw the removed code (batch K: rest of #2170).

(cherry picked from commit 1930a91fd797b33a94e99911fc9905a945362ad0)
2026-10-27 02:19:49 +05:30
velixio 24e3abe9d2 chore(provenance): remove stream keepalive, sidecar deadline, torchaudio fallback and related code 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 03c8656ab22b5191cfea9647225c4e6f6e94c095)
2026-10-27 02:19:49 +05:30
velixio 13d8e4ef71 refactor: clean-room reimplementation of small community fixes (translate language guess, Windows compile flag, OrcaRouter, Docker docs, loop window, tqdm, realtime events)
Rewritten from a behavioural spec by an implementer without access to the
removed code, so every line has CLA-covered provenance.

(cherry picked from commit 881b8313ebd78466dd15256b622a9f26752595c8)
2026-10-27 02:16:31 +05:30
velixio 490f3f3c8b chore(provenance): remove small contributor-authored fixes 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 9da3b6c7cde8659510baec8e8bfc13d8cd367c32)
2026-10-27 02:16:31 +05:30
debpalash 9bc4fadc1d fix(docker): strip override requirements before parsing 2026-10-26 02:41:09 +05:30
Palash Debnath cd51c9f535 Merge pull request #3402 from debpalash/feat/2831-arm64-cuda-docker
feat(docker): publish a native arm64 NVIDIA CUDA image
2026-10-26 01:51:51 +05:30
debpalash 18a1e570f6 feat(docker): publish a native arm64 NVIDIA CUDA image
Adds a build-and-push-cuda-arm64 job on ubuntu-24.04-arm that builds
deploy/Dockerfile for linux/arm64 from a new cuda-arm64-base stage
(Ubuntu 24.04 + torch 2.8.0+cu129, torchaudio 2.8.0, torchvision 0.23.0
from the cu129 index; the aarch64 torch wheel bundles CUDA and cuDNN 9).
Tags mirror the CUDA job with a -cuda-arm64 suffix. The amd64 CUDA and
ROCm jobs and tags are unchanged; BuildKit skips the new stage for them.
2026-10-26 00:25:33 +05:30
debpalash da2b461734 feat(docker): opt-in share-PIN skip for the host's own browser
OMNIVOICE_TRUST_HOST_LOOPBACK=1 (server mode only) lets requests whose
socket address is exactly the container's default gateway skip the share
PIN on the main port. Forwarded headers are never read for the check, the
LAN-share listener never qualifies, and it grants PIN-tier consumption
rights only, never the API key or admin tier. Default unchanged.
2026-10-26 00:13:29 +05:30
velixio 00529154f6 build(docker): bake the build commit into the images 2026-10-24 20:29:27 +05:30
velixio 549a14ba55 fix(docker): pass the uv overrides to the uv pip install paths
Review on #3275: the Pillow 13 override in [tool.uv] reaches uv pip install
only when it runs from the project directory with a recent uv; from anywhere
else it installs Pillow 12.3.0 under gradio's cap. Pass deploy/uv-overrides.txt
explicitly in the Dockerfile and the Colab notebook, check it in the Docker
build, and test that the file tracks pyproject.
2026-10-24 16:58:43 +05:30
velixio bfaf8a5c0a feat(updates): add an opt-in Beta release channel
Beta follows vX.Y.Z-beta.N prereleases cut from main and rolls onto the next
stable release; Stable stays the default. Betas are GitHub prereleases (never
latest), ship an electron-beta-* feed and :beta Docker tags, and skip the Snap
Store and Tauri sunset feeds.
2026-10-22 17:27:54 +05:30
velixio 35bb7dfae7 feat: relocate engine venvs, aarch64 CUDA Docker build, install fallback docs, trim unused deps 2026-10-19 12:22:38 +05:30
velixio 6f55c6ee4a Align Docker health check port 2026-10-12 05:39:56 +05:30
velixio 8cdfe4ad21 Preserve Docker launch options 2026-10-12 05:31:55 +05:30
velixio d3fadb295e Fix packaged configuration loading 2026-10-12 05:07:51 +05:30
velixio 7fedd390be Centralize app identity and default ports 2026-10-12 02:50:48 +05:30
velixio 4c207427a2 fix: restore files the remote-worker removal deleted by mistake
- deploy/install-worker/ is the Cloudflare worker that serves the
  voicestudio.sh install scripts, not a remote GPU worker; the installer
  contracts CI job reads it
- downloadReducer.js (and its test) is still imported by
  useModelDownloads, which the shared Engines and Model Store tabs use
2026-10-11 18:35:44 +05:30
velixio daa7024489 feat!: remove remote devices and remote workers (moved to VoiceStudio Pro)
Remote devices, remote workers and GPU sharing are now part of VoiceStudio
Pro and are no longer in the open-source app.

Removed: backend/worker/** and the workers API, the Workers and inbound-node
settings, compute-target and remote-runtime UI, the worker CI job, the
worker docs and ADR, and the grpcio, grpcio-tools and protobuf direct
dependencies (the protobuf security floor stays as a constraint).

Kept: local generation, dub, audiobook, batch, model install and GPU use on
this machine; network sharing; the remote backend that Intel Macs use.

Compatibility: existing databases keep their remote_workers,
remote_worker_enrollments and remote_tasks tables and migration 0010; they
are ignored. A saved worker target falls back to local. Model install and
licence plans with a non-local target now return HTTP 400.
2026-10-11 17:14:36 +05:30
debpalash b4bd8810a0 fix(api): accept media GETs from an allowed UI origin by Referer; clarify refusal messages
Split UI/API deployments (OMNIVOICE_PUBLIC_API_BASE) load video previews
and downloads with GETs that carry no Origin, only Sec-Fetch-Site, so they
were refused even with the UI origin in OMNIVOICE_ALLOWED_ORIGINS. Without
an Origin, a request whose Referer origin is on the same allowlist now
passes; a missing or foreign Referer is still refused.

The private-address URL import message now says where desktop users set
OMNIVOICE_ALLOW_PRIVATE_URL_IMPORTS (shared with the host-name message) and
that VPN or proxy apps in TUN/fake-IP mode can cause it.

The #2618 offload tests stub torch.cuda so a CUDA host with free VRAM no
longer changes their result.

Docs: reverse proxies in OMNIVOICE_TRUSTED_NETWORKS need their host name in
OMNIVOICE_ALLOWED_HOSTS, split deployments list the UI origin, LAN guests
open the share link by IP, and engine folders are set in the env file.

Changelog: cite #2419 for work that shipped through it, add upgrade steps,
the Windows ARM64 installer row and the #2609 credit, and split the URL
import entry.
2026-10-07 13:42:42 +05:30
debpalash 9f81168ea9 fix(api): reject cross-site browser requests and private URL import targets
- Refuse state-changing requests and WebSocket handshakes whose Origin or
  Sec-Fetch-Site marks another site, for every auth configuration; GET
  routes that start work refuse cross-site fetch metadata too.
- Require an allowed Host name for requests authorized only by network
  position (OMNIVOICE_ALLOWED_HOSTS adds names); credentialed requests and
  the public UI shell are exempt.
- Validate URL imports: http(s) only, public destinations only unless
  OMNIVOICE_ALLOW_PRIVATE_URL_IMPORTS=1, enforced again at connect time
  inside yt-dlp and on resolved media URLs; pass URLs after "--".
- Accept media extensions only for gallery and dubbing uploads, stop
  returning server paths from gallery imports, and limit ws/tts emo_audio
  to the app's voices and outputs folders.
- Apply the same checks in the Electron dev backend proxy.
2026-10-04 21:46:35 +05:30
Palash Debnath c4d63ef207 fix(app): align Electron, backend, packaging and documentation (#2578)
Align maintained Electron setup, docs, model licence descriptions, contact details, and CI syntax checks with the current application.
2026-10-03 06:24:59 +05:30
Palash Debnath c52618afa7 Use the canonical VoiceStudio GHCR image everywhere (#2350)
* docs: make voicestudio the default GHCR image

* docs: link canonical GHCR changelog entry
2026-09-27 06:00:22 +05:30
Palash Debnath 29c8a13260 refactor: move shared UI under Electron 2026-09-26 11:46:37 -07:00
Palash Debnath d6348b56f2 chore: retire legacy Tauri app and UI 2026-09-26 11:26:48 -07:00
Palash Debnath 930d814aa9 fix: use Electron UI for Docker and web (#2341)
* fix: serve Electron UI in Docker

* docs: link Docker UI change

* fix: allow configured web API through CSP

* fix: authenticate Docker browser sessions

* fix: authenticate web call event streams

* test: preserve native websocket proxy behavior
2026-09-26 22:45:11 +05:30
debpalash 7f239f6ae9 feat(installer): install Electron releases or main and safely uninstall 2026-09-21 20:10:48 +05:30
basil-k-aji-dev a628ba161e fix: install cuDNN 8 compat libraries in the CUDA Docker image
The CUDA base image is pytorch/pytorch:2.8.0-cuda12.8-cudnn9-runtime, so it
ships cuDNN 9. CTranslate2 — WhisperX and faster-whisper — links cuDNN 8, and
its absence aborts the backend process outright rather than raising (#1371).

scripts/setup.py side-loads the cuDNN 8 libraries for source installs, but the
Dockerfile never did, so every CTranslate2 ASR engine was unavailable in Docker
and the demo synthesis timed out with libcudnn_ops_infer.so.8 missing.

Install the same nvidia-cudnn-cu12==8.9.7.29 shim during the image build,
deriving the target from sys.prefix so it matches where backend/core/cudnn8.py
searches rather than hardcoding the conda path — sys.prefix differs between the
conda-based CUDA image and the ROCm venv. Guarded to GPU_FLAVOR=cuda, since
ROCm does not use cuDNN, and --no-deps keeps the base image's torch stack
untouched. A post-install assert fails the build if no .so.8 libraries landed,
rather than letting it resurface as the same runtime warning.

Fixes #2050
2026-09-13 23:51:57 +05:30
Yang Fan ae25a6a594 docs: clarify Docker image architecture requirements 2026-09-10 13:51:58 +08:00
Palash Debnath 0ed7d2ec22 chore(release): prepare v0.5.2 (#1761)
Synchronize VoiceStudio release metadata, lockfiles, installers, container references, documentation, and the dated v0.5.2 changelog after all planned fixes landed.
2026-09-02 10:26:14 +05:30
Palash Debnath 97bfbfecd1 chore(release): prepare v0.5.1 (#1688)
Prepare the tested main branch for the v0.5.1 patch release with synchronized version sources, mirrors, lockfiles, release notes, and install guidance.

Closes #1687.
2026-08-28 11:27:59 +05:30
Palash Debnath eaa87ff041 fix(docker): require the Studio administrator key 2026-08-27 20:21:42 +05:30
Palash Debnath 9dc01d4b8b fix(docker): require admin key in quick starts 2026-08-27 19:31:55 +05:30
Palash Debnath 5a615d2c66 feat(workers): package headless GPU nodes (#1638) (#1648)
Closes #1638.\n\nPackages headless GPU workers with durable enrollment, bounded artifact handling, cross-platform lifecycle cleanup, and regression coverage. Incorporates CodeRabbit, Greptile, CodeQL, and platform-CI findings before merge.
2026-08-24 16:32:56 +05:30
Palash Debnath 6e1bb44e0d docs(docker): add product media to Docker Hub overview (#1593)
Add the current v0.5 engine-switching GIF plus Model Catalogue and gallery-save screenshots to the canonical Docker Hub overview using absolute raw GitHub asset URLs. Includes a changelog entry.
2026-08-20 01:10:21 +00:00
Palash Debnath 4dc90a7f4f docs(docker): refresh Docker Hub overview for v0.5 authentication (#1592)
Refresh current v0.5.0/0.5 tag examples, document API-key and share-PIN behavior, and require encrypted private-overlay access for remote deployments. Keeps the Docker install guide and changelog synchronized.
2026-08-20 00:40:18 +00:00
Palash Debnath 04410a458d Release VoiceStudio 5.0.0 (#1487)
Complete the VoiceStudio identity, release documentation, assets, version mirrors, and safe cross-platform development startup.
2026-08-11 04:05:45 +00:00