Commit Graph
2842 Commits
Author SHA1 Message Date
debpalash 489fc7aaee Merge remote-tracking branch 'origin/main' into sec/torch-2.10 2026-11-08 21:00:36 +05:30
debpalash 6fde854c42 test(docker): read the GITHUB_OUTPUT file as UTF-8 2026-11-08 20:41:17 +05:30
debpalash 00e778506a ci(release): retry only transient NSURLErrorDomain codes
Retry -1001/-1004/-1005/-1009 (timeouts and dropped connections), not
every NSURLErrorDomain error: a server-trust failure such as -1202 fails
at once.
2026-11-08 20:15:19 +05:30
debpalash 1674770f49 test(docker): assert the exact GITHUB_OUTPUT line for the ROCm base 2026-11-08 20:15:02 +05:30
debpalash 9e5b4fc372 fix(docker,test): ROCm backfills before the constraints file; gate resolves torchaudio bindings
- A release older than deploy/torch-constraints.txt builds on the torch
  2.8.0 ROCm base the workflow always used before it followed the pin,
  instead of failing. The selection step is tested for 2.10, 2.8, a missing
  file and a file without an exact pin.
- The torchaudio I/O gate follows aliases, from-imports and qualified
  receivers (audio_io.torchaudio.save) and now also scans backend/; plain
  references such as test spies stay allowed.
2026-11-08 20:03:07 +05:30
debpalash 1dc1062b0c ci(release): retry macOS packaging when Apple drops a connection
v0.5.8-beta.1 lost its macOS Intel package twice: once to an aborted
notarization upload, once to two staple lookups in a row failing with
error 68. Retry those transient failures (staple, abortedUpload,
NSURLErrorDomain) up to three attempts with a growing pause; rejected
notarizations and signing errors still fail at once. Job timeout 60 -> 75
minutes to fit three Intel builds.
2026-11-08 19:50:52 +05:30
debpalash 807bfee3b0 test(audio): cover backend/tests in the torchaudio I/O gate
backend/tests/test_atomic_wav.py saved and loaded through torchaudio
directly, which fails without TorchCodec on torch 2.10. It now uses the
audio_io helpers, and the gate scans backend/tests too. The M4A
integration test also asserts the shim tries soundfile first, so it fails
against the previous shim.
2026-11-08 19:37:49 +05:30
debpalash c64b5f5e17 fix(audio): keep the FFmpeg fallback for containers soundfile cannot read
When TorchCodec is missing and soundfile cannot decode the input either
(M4A, AAC), the torchaudio.load shim re-raises the original TorchCodec
error, so services.audio_io still falls through to FFmpeg. Also explain
the non-seekable stream case in the rewind helper (CodeQL).
2026-11-08 19:13:55 +05:30
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
velixio 4e0503c7ff fix(dev): make non-false cleanup previews fail safe 2026-11-08 16:26:35 +05:30
velixio ee2f918e31 fix(dev): preserve the release target for plain make 2026-11-08 14:22:43 +05:30
velixio 08e8f09947 feat(dev): add cleanup for project environments and app data 2026-11-08 14:22:43 +05:30
debpalash 9b9f9df0da Merge #3648 (final): retry the Windows Vulkan SDK download (@dutch2005)
The earlier revision of #3648 shipped in #3875. Its rebased head adds up to
three SDK download attempts; only the last may fail the release. Keeps
main's newer changelog and probe test, restores continue-on-error on the
first attempt, and reads the workflow as UTF-8 in the new test.
2026-11-08 14:00:28 +05:30
debpalash e3cb11f611 fix(train-4): keep healthy engines' licence dependencies when one lookup fails (review) 2026-11-08 13:41:14 +05:30
debpalash 7e134e63f2 fix(train-4): cap durationless reference decode during ffmpeg decode (review) 2026-11-08 13:39:28 +05:30
debpalash 5bdd9d1c1c fix(train-4): size WebM references from container duration, cap output when unsized (#3666 follow-up) 2026-11-08 13:05:45 +05:30
debpalash b81b9d3ff0 fix(train-4): keep whole space-grouped English thousands run (#3656 follow-up) 2026-11-08 13:05:08 +05:30
debpalash dcadc1bbb0 fix(train-4): report licence dependency lookup failure as incomplete (#3863 follow-up) 2026-11-08 13:03:11 +05:30
debpalash 6903de839e Merge remote-tracking branch 'origin/main' into train/4 2026-11-08 12:59:10 +05:30
debpalash 07b14301aa fix(train-3): #3702 route snapshot, resolver read, safe error text, side-effect-free asserts
- tests/fixtures/api_routes.txt lists the four local-model routes.
- local_model_paths reads the expected checkpoint through
  resolve_omnivoice_checkpoint() instead of OMNIVOICE_MODEL (#693 guard).
- LocalModelError carries a user_message the API returns instead of
  str(exc) (CodeQL stack-trace exposure).
- Test requests run outside assert statements (CodeQL side effect in assert).
2026-11-08 10:58:23 +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
debpalash f631428026 fix(#3670,#3648): phone clone creation stays consumer, UTF-8 read 2026-11-08 09:56:15 +05:30
debpalash 3ec43b3894 Merge #3670: fix(security): make content mutations admin-only (@DeryFerd) 2026-11-08 09:55:13 +05:30
debpalash 50b3450c08 Merge #3648: fix(desktop): repair bounded Vulkan discovery and payload checks (@dutch2005) 2026-11-08 09:52:36 +05:30
debpalash fd778463db fix(train): UTF-8 reads, #3692 fragment ref and credit, service count 2026-11-08 09:50:27 +05:30
debpalash 0c112c10d6 Merge train/2 into the train
# Conflicts:
#	tests/backend/engines/test_omnivoice_gguf.py
2026-11-08 09:48:50 +05:30
debpalash eaad146977 Merge train/3 into the train 2026-11-08 09:48:22 +05:30
debpalash 4cb8e0f978 Merge #3861: fix(updater): download patch updates instead of full installers 2026-11-08 09:48:21 +05:30
debpalash 27078d5be1 test: read the newer test fixtures as UTF-8 (#3766 guard) 2026-11-08 09:47:42 +05:30
debpalash a767f43f0a Merge remote-tracking branch 'origin/main' into train/1 2026-11-08 09:47:23 +05:30
dutch2005 6ff3a5c332 fix(rocm): install matching Linux sidecar Torch and report AMD routing 2026-11-07 22:04:03 +01:00
debpalash 66a186646b Merge #3664: feat(audiobook): per-line [emotion:] direction for Audiobook and Stories (#3422) (@sidmax7) 2026-11-08 02:22:38 +05:30
dutch2005 686d288c1b fix(desktop): repair bounded Vulkan discovery and payload checks 2026-11-07 21:44:27 +01:00
debpalash 19ad85f4a8 Merge #3703: fix(dictation): end a CJK final with 。 when it closes on a bracket or quote (@kevin9327) 2026-11-08 02:13:45 +05:30
debpalash a64ccc7e38 fix(train-2): space/NBSP grouped Brazilian reais, fragment ref (#3832 review) 2026-11-08 02:09:10 +05:30
debpalash f3968f575d fix(train-2): derive Kokoro lang_code from preset when language is Auto (#3833 review) 2026-11-08 02:08:59 +05:30
debpalash 3cecc9f889 fix(train-2): keep valid OmniVoice language ids unchanged (#3692 review) 2026-11-08 02:08:59 +05:30
debpalash 4dedb6750c fix(train-2): ReDoS-safe age regex, word attribution, fullwidth punctuation, UTF-8 self-check (#3819 review) 2026-11-08 02:08:58 +05:30
velixio bcd0d734ce fix(build): stop the Vulkan header probe racing the compiler
Under pipefail, `printf | c++` failed whenever c++ exited before reading its
input: printf died of SIGPIPE and the probe reported no Vulkan headers. The
test's stand-in compiler does exactly that, so tests/test_gguf_vulkan_build.py
failed at random (seen on #3787). A here-string has no second process to race.
2026-11-08 02:07:36 +05:30
debpalash b4ba1396fd Merge #3833: fix(mlx-audio): expose Kokoro preset voices and speak the requested language voice (#3802) (@teehihi) 2026-11-08 02:02:57 +05:30
debpalash 79b9c24165 Merge #3832: fix(services): verbalize Portuguese clock times and Brazilian currency (#3803) (@vanshsingh3711-wq) 2026-11-08 02:02:56 +05:30
debpalash 4df83b3fcd Merge #3819: fix: community batch, November (21 fixes, one commit each) (@rudycelekli) 2026-11-08 02:02:55 +05:30
debpalash 8373eee740 Merge #3692: fix(dub): let OmniVoice speak Arabic, Chinese and Kurdish dub targets (@hkarmoush) 2026-11-08 02:02:53 +05:30
debpalash aebfcfa8e4 Merge #3667: fix(gguf): reject explicit non-default quality knobs instead of dropping them (#3654) (@swadhinbiswas) 2026-11-08 02:02:52 +05:30
debpalash 75a6d6fc5f Merge #3792: fix(voxcpm2): load on CPU when the engine's torch has no kernels for the GPU (@vandyahmad24) 2026-11-08 02:02:51 +05:30
debpalash dd370cb610 Merge #3863: fix(setup): list every licence an engine needs in the catalogue dialog (#3855) (@InesZenkri) 2026-11-08 02:00:06 +05:30
debpalash abdf0545ed Merge #3766: test: specify UTF-8 when reading Python test fixtures (#3710) (@Bl0ck154) 2026-11-08 02:00:05 +05:30
debpalash f67a632f36 Merge #3762: fix(dub): keep the real Demucs error instead of progress-bar output (@DPhngNam) 2026-11-08 02:00:04 +05:30
debpalash 79a45525d2 Merge #3694: feat(clone): export takes as MP3 (@lucassmonn) 2026-11-08 02:00:01 +05:30