* Polish desktop setup, settings and studio workspaces
* Add desktop refresh changelog entry
* Check home creation destinations in the desktop guard
* Align desktop workflow checks with the redesigned controls and restore paired consent choices
* Stabilize native window and titlebar checks during navigation
* Restore a continuous workspace background across desktop chrome
* Verify workspace and settings panel corners in the theme smoke
* Give Support a full-width donation panel and stack sponsor, Pro and contact sections
* Give sponsor marks room and simplify Support actions
* Organize Support contact actions in a responsive grid
* Fix desktop take navigation, drawer visibility and shortcut capture
* Recover desktop setup choices when local settings cannot be read or saved
* Welcome users with the studio cat and credit the open-source community
* Compare exact filesystem identities before claiming an existing terminal command
* Check visible setup controls and model headings and isolate Home credits
* fix(xpu): route integrated Intel Arc unified memory to TTS release
Detect a single integrated Intel Arc XPU by its tiny local_mem_size and
treat it as unified memory, so offload_tts_for_asr() releases the TTS model
via _offload_unified_memory() instead of relocating it CPU<->XPU with
_relocate_shared_model(). Discrete Arc, CUDA, NPU, multi-XPU and unreadable
property cases keep the dedicated path.
The forced clone-reference release is gated on that same detection, so
non-integrated unified hosts (Apple Silicon, CPU-only) keep the old
headroom window; only the integrated Intel Arc case becomes unconditional.
Also wrap the clone-reference auto-transcribe path with
offload_tts_for_asr()/restore_tts_after_asr() so a clone upload no longer
cold-loads WhisperX beside a resident XPU TTS model.
Tests: 20 targeted tests in host; 722 passed and 1 unrelated failure in
the XPU container's full backend suite (the failure is a repo-wide
torch.load audit tripped by untracked .scratch/_appimage trees). Live
two-run verification: POST /profiles clone upload returned 200 in 33 s
twice, logged "Unified memory tight ... releasing the TTS model", host
stayed up.
* docs: record integrated Intel Arc XPU unified-memory fix
* fix(xpu): detect integrated Arc by is_integrated_gpu, serialize unified release and clone ASR restore
* fix(xpu): hold placement through clone reference ASR, skip it when release is refused, document is_integrated_gpu minimum
* fix(xpu): reference-count the clone reference ASR placement hold
* fix(xpu): wait for in-flight TTS load/unload before reference ASR, drop hold on failed release
* test(xpu): release every reference-ASR hold a test takes, and fail any test that leaks one
A forced-release test never restored, so its hold kept exclusive placement and
every later TTS load in the session waited, stalling the Windows suite until
its timeout. The hold reset now runs for every test in the file, and a
backend/tests guard fails and clears any leaked hold, placement or in-flight
TTS op.
---------
Co-authored-by: gottabstrong <312960339+gottabstrong@users.noreply.github.com>
Co-authored-by: debpalash <4178343+debpalash@users.noreply.github.com>
* fix(setup): ship wheels for source-only deps so first-run setup never compiles (#4253)
* docs(changelog): add fragment for #4268
* fix(setup): make vendored wheels verifiable and shipped by every consumer (#4253)
* chore(vendor): ship the ANTLR BSD notice with the vendored runtime wheel
BSD-3 requires the copyright notice to accompany binary redistribution; the antlr4-python3-runtime sdist ships none, so keep the project notice beside the wheel and package it.
* test(install): accept vendored wheel paths in the frozen export
uv export emits the vendored wheels (#4253) as ./vendor/wheels/*.whl paths, which packaging.Requirement rejects.
* test(lock): check per-target wheel tags and extras; ship the ANTLR notice in Nix
The wheel-only guard now follows extra-activated dependencies and requires a wheel whose tags match each tested platform and Python, not just any wheel. sphn 0.2.1 has no Linux ARM64 wheel upstream and is allowlisted for that source-only target. The Nix output now installs the ANTLR licence beside the vendored wheel.
* ci(dagger): copy the vendored wheels before the dependency sync
[tool.uv.sources] points docopt, antlr4-python3-runtime and dora-search at vendor/wheels (#4253); the manifest-only layer copied pyproject.toml and uv.lock without them, so dagger python-tests and check could not install.
* ci(install): run the install smoke when the vendored wheels change
The installer ships vendor/wheels (#4253), so tests/test_install_smoke_workflow.py requires it among the install-smoke triggers.
Document a host-managed HTTPS Serve listener with loopback publishing and administrator authentication, without exposing the host daemon socket to the container. Clarify browser TLS, Docker Desktop and proxy-header trust limits. Parsed Compose configuration is unchanged; 115 targeted checks, full CI and both harvested reviews passed.
- security_floors.installed() keeps the first copy on sys.path, as import does, so a stale apt copy no longer fails the check (#4066)
- the notebook run() helper prints the child's output so failures show their cause (#4066)
- the Colab launch cell trusts any Host behind Google's authenticated proxy; the origin allowlist stays exact (#4067)
- the browser guard logs a refused Host at debug level (#4067)
Fixes#4066Fixes#4067
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.
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.
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.
* 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
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.
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.
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.
Rebuilt from a behaviour spec by an implementer who never saw the removed code (batch K: rest of #2170).
(cherry picked from commit 1930a91fd797b33a94e99911fc9905a945362ad0)
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
(cherry picked from commit 03c8656ab22b5191cfea9647225c4e6f6e94c095)
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)
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
(cherry picked from commit 9da3b6c7cde8659510baec8e8bfc13d8cd367c32)
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.
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.
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.
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.
- 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
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.
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.
- 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.
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
Synchronize VoiceStudio release metadata, lockfiles, installers, container references, documentation, and the dated v0.5.2 changelog after all planned fixes landed.