Commit Graph
421 Commits
Author SHA1 Message Date
debpalash a883c7c286 fix(audio): read and write audio without TorchCodec everywhere
torchaudio 2.10 decodes and encodes only through TorchCodec, which
VoiceStudio does not install.

- The process-wide torchaudio.load shim now falls back to soundfile when
  TorchCodec is missing, for every caller (pyannote, transformers, tests),
  not only backend='soundfile'.
- omnivoice-infer and omnivoice-infer-batch save through a new
  omnivoice.utils.audio.save_audio (soundfile); training scripts and the
  dataset read through read_audio. Repo scripts use services.audio_io.
- The torchaudio I/O gate now covers omnivoice/, scripts/ and tests/, and a
  round-trip test runs with torchaudio.load/save raising.
- Docker ROCm backfills select the base image from the checked-out torch
  pin instead of the workflow's.
- The ROCm arch-gate message names torch 2.10.0 and rocm7.1 (its wheels
  still include gfx1200/gfx1201; the arch list is a superset of 2.8's).
- wheel-prefetch tests read the torch pin from pyproject instead of
  hard-coding 2.8.0.
- docker.md no longer claims there is no cu128 aarch64 wheel.
2026-11-08 19:05:08 +05:30
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 7f4584860e Merge remote-tracking branch 'origin/main' into train/1
# Conflicts:
#	backend/engines/cosyvoice_subprocess/__init__.py
#	backend/engines/moss_tts_nano_subprocess/__init__.py
#	backend/services/tts_backend.py
#	docs/STRUCTURE.md
2026-11-08 10:55:58 +05:30
dutch2005 6ff3a5c332 fix(rocm): install matching Linux sidecar Torch and report AMD routing 2026-11-07 22:04:03 +01:00
debpalash 91d63d748a Merge #3675: fix(health): report the device the active TTS engine generates on (@dutch2005) 2026-11-08 01:59:58 +05:30
debpalash 484567867a Merge remote-tracking branch 'origin/main' into fix/security-dependency-floors 2026-11-08 00:25:34 +05:30
velixio 95e5fe1ccb chore(release): v0.5.8 2026-11-08 00:13:27 +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
Shimul Debnath c7a9bfe9da fix(dev): check Node before imports and all setup paths 2026-11-07 21:25:04 +05:30
Shimul Debnath b9ddf72c96 fix(dev): explain unsupported Node versions before startup 2026-11-07 21:09:08 +05:30
velixio 469fc1dd6c Merge remote-tracking branch 'origin/main' into feat/cpu-setup-fallback 2026-11-07 01:36:56 +05:30
dutch2005 96adfe0d60 fix(health): report the active engine device consistently 2026-11-06 20:48:44 +01:00
velixio 78ed26168f Merge remote-tracking branch 'origin/main' into feat/gpu-self-test 2026-11-06 23:14:11 +05:30
velixio 21296c49b2 feat(setup): offer the CPU build when the torch download keeps failing
The multi-GB CUDA wheel has no mirror, so a bad connection meant no working
app. After a dropped download, or five minutes stuck, the setup screen offers the
much smaller CPU build. The choice is saved so a later launch keeps it.
2026-11-06 23:02:39 +05:30
velixio 9090d663a1 docs(install): explain the GPU self-test 2026-11-06 22:58:11 +05:30
velixio 8e554746b9 docs(install): explain that the ROCm choice is saved and how to leave it 2026-11-06 22:15:39 +05:30
debpalash cb85287a3a docs: drop the report version claim from the install tracker 2026-11-06 20:31:47 +05:30
debpalash 0b2c8b8b85 docs: count merged torch download fixes and list open fix PRs in the install tracker 2026-11-06 20:15:13 +05:30
debpalash d80e708d3d docs: correct install tracker fix links and help sections 2026-11-06 19:46:43 +05:30
debpalash 2e665fac8e docs: track unique install problems by severity and fix status 2026-11-06 19:35:21 +05:30
velixio 4840379477 fix(setup): correct the Smart App Control re-enable advice 2026-11-05 00:01:52 +05:30
velixio 07dda8a64c feat(setup): warn about Smart App Control before the download
Warns only; install stays available. Also shows the consent question on the setup screen and records the final design.
2026-11-04 22:46:29 +05:30
velixio d02cff3b4b feat(setup): classify install failures into stable codes
One classifier replaces the message regexes in backendHint. A code needs evidence; UNCLASSIFIED is a valid answer. Each code has a docs section, a mirror entry and catalogued guidance, enforced by tests, with real report text as a corpus.
2026-11-04 22:39:17 +05:30
Shimul Debnath 89f778dd5d Merge branch 'main' into build/notarization-api-key 2026-11-03 19:47:27 +05:30
Shimul Debnath 15102273b3 fix(setup): diagnose stalled downloads and export installation logs (#3785)
* fix(setup): detect stalled downloads and export installation diagnostics

* docs: add setup diagnostics changelog for #3785

* fix(setup): secure diagnostic reads and flush logs before exit

* docs: align setup timeout guidance with the 900-second default
2026-11-03 19:46:55 +05:30
velixio 634c82f3ca docs: correct the Mac release signing status 2026-11-03 01:24:12 +05:30
velixio 9d89622b49 build: notarize macOS releases with an Apple API key 2026-11-03 01:21:11 +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
Palash Debnath 5bfbda3688 feat(packaging): add voicestudio-git for Arch Linux (#3771)
* feat(packaging): add an Arch Linux development source package

* fix(ci): check first-run setup for the Arch source package

* fix(packaging): resolve Arch compiler flags and SSH URL validation

* fix(packaging): avoid incompatible GCC LTO in the Rust helper

* fix(packaging): align the Arch launcher with Electron app identity

* docs: point app licensing proposals at checkout release gates
2026-11-02 21:07:38 +05:30
Palash Debnath 429b352178 Merge branch 'main' into docs/snap-store-badge 2026-10-29 02:34:06 +05:30
velixio 0985c66b9c docs: show the Snap Store badge after the strategic sponsor at a smaller size 2026-10-29 01:59:07 +05:30
velixio 70ee74f140 docs: add the Get it from the Snap Store badge
Link the Linux snap download to its Snap Store page from the README, its
translations and the Linux install guide, so users can install it in one click.
2026-10-29 01:55:18 +05:30
debpalash 152702764e fix(runtime): skip refused unselected runtime candidates 2026-10-29 00:49:51 +05:30
debpalash 602b8474f0 fix(runtime): report refused interpreter probes without reinstalling 2026-10-29 00:05:20 +05:30
Palash Debnath 2f4ef1d5d6 Merge branch 'main' into fix/installer-cim-executable-path 2026-10-28 23:17:59 +05:30
velixio bb84907938 Run API setup before desktop development 2026-10-28 22:56:08 +05:30
debpalash d6df42db2a fix(installer): inspect the executable path returned by CIM 2026-10-28 20:39:14 +05:30
debpalash 447cd6bef8 Wait briefly for owned group exit after macOS signal refusal 2026-10-28 18:24:26 +05:30
Palash Debnath 0c206931a9 Merge branch 'main' into fix/china-mirror-failover 2026-10-28 17:49:13 +05:30
Palash Debnath 060503b9d4 Merge branch 'main' into fix/owned-group-exit-race 2026-10-28 17:18:09 +05:30
Palash Debnath 67df7d8a54 Merge branch 'main' into fix/china-mirror-failover 2026-10-28 17:18:05 +05:30
debpalash 779231f203 Handle owned process-group exit race on macOS 2026-10-28 16:29:54 +05:30
debpalash 541fee952f Fix Windows installer process directory boundaries 2026-10-28 16:21:20 +05:30
debpalash 39872e40b4 Keep regional model downloads eligible for endpoint failover 2026-10-28 16:02:42 +05:30
debpalash b5ceba6b43 Handle encoded environment files during startup 2026-10-28 15:19:07 +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
debpalash d032bc5f5d fix(rocm): keep gfx10 remaps within RDNA1 or RDNA2
The minor-revision rule let a gfx103x card fall onto gfx1010 kernels.
Within gfx10 a remap now needs the same minor revision. The arch-gate
tests also register HSA_OVERRIDE_GFX_VERSION so teardown removes the
value _configure_rocm_if_needed writes.
2026-10-28 03:52:48 +05:30
debpalash f36f4f5fb6 docs(rocm): scope the opt-in to Linux and Windows
The Linux guide still said the ROCm variant is ignored on Windows, and
troubleshooting said ROCm is opt-in on every OS, though macOS has none.
2026-10-28 03:27:30 +05:30
debpalash 8320b1f6ae Merge remote-tracking branch 'origin/main' into tmp-3602 2026-10-28 03:15:32 +05:30