Commit Graph
85 Commits
Author SHA1 Message Date
Palash Debnath a1c7d239eb feat(runtime): CUDA 12.6 PyTorch for pre-Volta NVIDIA GPUs (#4244)
Fixes #4242.
2026-11-18 05:51:06 +05:30
Palash Debnath 9ce1333fe5 fix(gpu): reflect completed self-test failures in readiness (#4166)
Reflect completed GPU self-test failures in readiness and routing only for participating loaders. Recheck WhisperX health at model load, preserve independent runtimes and architecture-specific recovery guidance, and document the separate Windows HIP probe.

Cover late verdicts, actual ASR/alignment device selection, loader isolation and forced-device behavior with offline regressions. The original reported HIPBLAS failure remains open in #4159.
2026-11-15 14:49:55 +05:30
Palash Debnath 5f6770058b fix(setup): avoid CUDA downloads for Linux ROCm installs (#4167)
Skip CUDA Torch and NVIDIA payloads for Linux ROCm setup. Clean leftover NVIDIA runtime distributions when CPU or ROCm setup resumes after an interrupted switch, while preserving shared dependencies, installed models and verified overlay behavior.
2026-11-15 13:01:12 +05:30
debpalash 1c7af8e85b test(ssml): give the linear-time check margin against runner noise
Docs: say the command keeps its own options such as --version.
2026-11-11 01:15:58 +05:30
debpalash 18e780d551 fix(cli): pass app switches given without a command to the app
The AppImage and .deb now start the voicestudio command, so the switches
Playwright launches Electron with (--inspect=0, --remote-debugging-port=0)
were a CLI usage error and v0.5.8-beta.4's Linux packaged smoke test could not
start the app. Any --switch the CLI does not define, with no command, now opens
the app with it, as Chromium flags given to the AppImage did before.

The packaged smoke test no longer dies on Playwright's stray launch rejections,
so its launch error now shows the process's stderr and exit code.
2026-11-11 00:52:43 +05:30
debpalash 13838353f7 fix: address review findings (#3959)
- glibc guard: fail when objdump cannot inspect an ELF (+ test)
- NSIS uninstall: report runtime/hf_cache directories that could not be removed
- docs: Snapcraft Builds revisions use --ozone-platform=wayland, not the env var
2026-11-10 05:53:43 +05:30
debpalash feba49c599 fix(snap): default to XWayland, opt back into Wayland with an env var (#3878) 2026-11-10 05:12:37 +05:30
Palash Debnath cfb8283f4e Merge branch 'main' into train/9 2026-11-09 22:11:48 +05:30
debpalash 95329b27fd ci(nix): evaluate and build the flake when its inputs change
Non-required workflow: eval for every system, build the x86_64 app, run
the flake checks, and enter the default and FHS shells.
2026-11-09 21:34:03 +05:30
debpalash f1bfc5200b fix(train9): address #2699 review findings
- Desktop entry Exec now names the package's own launcher (checked).
- Dev shell runs nixpkgs' patched Electron via ELECTRON_OVERRIDE_DIST_PATH.
- Packaged launcher adds the GCC runtime on NixOS only, disables the
  in-app updater, and ships config/ plus the staged scripts/ files.
- Backend shell provides bun and Node; helperLinks gets ldd from glibc.
- Keep the .#fhs shell/package and an Apple Silicon dev shell from main.
- Docs: restore main's STRUCTURE.md and READMEs, merge the duplicate
  Linux Nix sections, document nix-ld for the Nix-built app.
2026-11-09 21:31:39 +05:30
eaves dropper c7f0b8383d fix: stale docs from last flake.nix addition to main 2026-11-09 20:08:40 +05:30
eaves dropper 56dca5cf0e merge from main 2026-11-09 19:04:19 +05:30
debpalash d2fd1fb381 Merge remote-tracking branch 'origin/main' into train/7
# Conflicts:
#	CLAUDE.md
2026-11-09 16:11:49 +05:30
debpalash ccfa886c36 docs(updates): background downloads, install on quit and the update pill 2026-11-09 15:19:57 +05:30
debpalash 15d9b3e71d fix(train7): keep voicestudio-electron link; GUI-safe launcher args
- The .deb's maintainer scripts are electron-builder's own plus a block
  that links the pre-rename /usr/bin/voicestudio-electron to the new
  command (replacing only a missing or dangling link) and removes it only
  when it is still this package's link. Sandbox tests run both blocks.
- Absolute paths and URLs passed by the desktop launcher (Exec ... %U)
  now open the app instead of being parsed as a command.
2026-11-09 14:37:01 +05:30
debpalash 9b9db94af7 Merge #3828 into train/7
# Conflicts:
#	electron/src/main/backend-setup.test.ts
#	electron/src/main/index.ts
2026-11-09 14:17:56 +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
dutch2005 6ff3a5c332 fix(rocm): install matching Linux sidecar Torch and report AMD routing 2026-11-07 22:04:03 +01:00
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 8e554746b9 docs(install): explain that the ROCm choice is saved and how to leave it 2026-11-06 22:15:39 +05:30
mostafa-ismail-2004 cee8249427 feat(cli): set up the terminal command on first launch of DMG and AppImage builds
Windows installers and Linux packages put voicestudio on PATH when they
install; direct downloads only linked ~/.local/bin/voicestudio and left
macOS users with "command not found" until they visited Settings.

On the first launch, when new terminals would not find ~/.local/bin, the
app now adds the same marked profile block as Settings -> Add to terminal.
A state file in the app's user data records that this ran, so a block the
user removes stays removed; Settings still adds it back on request.

Refs #3829
2026-11-05 20:06:23 +02:00
mostafa-ismail-2004 3f636c9c31 Merge remote-tracking branch 'upstream/main' into feat/http-cli 2026-11-05 18:19:05 +02:00
mostafa-ismail-2004 4708ae9a51 feat(cli): add the voicestudio terminal command
Add a terminal command that drives the desktop app's local backend.

- The desktop app owns the backend. When no backend answers, the CLI
  starts the installed app in the background (no window); it publishes
  its address in backend.json and quits after 10 idle minutes. Opening
  the app later shows a window in the same process, so a terminal
  session and the GUI never run two backends.
- The backend reports activity (requests, jobs, downloads, installs,
  calls) at /system/activity so idle shutdown never interrupts work, and
  holds a kernel lock on its data directory so a second backend fails
  fast with an actionable message.
- `voicestudio stop` stops a background app; commands that only report
  state never start it, and `status` exits 3 when it is not running.
- Output is readable tables and fields chosen from each result's shape;
  `--json` prints the raw data and piped output is tab-separated.
- Tab completion for bash, zsh, fish and PowerShell
  (`voicestudio completion <shell>`), without building the command tree.
- `voicestudio update` opens the app's updater; the CLI itself makes no
  network requests.
- Settings → General shows the terminal command and can add it to PATH
  on request; shell profiles are only edited with that consent.
2026-11-05 18:18:58 +02:00
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
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
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
velixio bb84907938 Run API setup before desktop development 2026-10-28 22:56:08 +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 0564e91335 fix(rocm): derive the HSA remap from the wheel and name the ROCm opt-in for Radeon hosts
The HSA_OVERRIDE_GFX_VERSION target came from a hand-kept table, so any card
it did not list (gfx1152, gfx1035, a gfx1201 on a gfx1200-only wheel) was
treated as a kernel mismatch and ran on the CPU. Derive the target from the
installed wheel's arch list instead: same generation, same or older revision,
closest first; never across a generation.

The setup GPU check told Windows Radeon owners that no Windows ROCm build
exists, called the CPU build a CUDA build, marked a working ROCm GPU as a
warning, and said 'ROCm ready' for a card the wheel has no kernels for. It now
names the installed build, the opt-in for the OS, and the kernel mismatch.
2026-10-28 02:24:23 +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
Palash Debnath 388f22071f Merge branch 'main' into community-batch 2026-10-27 14:14:53 +05:30
velixio 7daa01e98c Merge remote-tracking branch 'origin/main' into cla/rewrite-wave-2
# Conflicts:
#	backend/api/routers/setup/wizard.py
#	docs/STRUCTURE.md
#	electron/src/renderer/src/components/app-shell/app-shell.test.tsx
#	electron/src/renderer/src/components/app-shell/use-workspace-sidebar.test.tsx
#	electron/src/renderer/src/components/app-shell/workspace-sidebar.test.tsx
#	electron/src/renderer/src/features/longform/generate-panel.test.tsx
#	electron/src/renderer/src/features/longform/longform-page.tsx
#	electron/src/renderer/src/features/settings/settings-page.tsx
#	electron/src/renderer/src/i18n/locales/ar.json
#	electron/src/renderer/src/i18n/locales/de.json
#	electron/src/renderer/src/i18n/locales/en.json
#	electron/src/renderer/src/i18n/locales/es.json
#	electron/src/renderer/src/i18n/locales/fr.json
#	electron/src/renderer/src/i18n/locales/hi.json
#	electron/src/renderer/src/i18n/locales/id.json
#	electron/src/renderer/src/i18n/locales/it.json
#	electron/src/renderer/src/i18n/locales/ja.json
#	electron/src/renderer/src/i18n/locales/ko.json
#	electron/src/renderer/src/i18n/locales/nl.json
#	electron/src/renderer/src/i18n/locales/pl.json
#	electron/src/renderer/src/i18n/locales/pt.json
#	electron/src/renderer/src/i18n/locales/ru.json
#	electron/src/renderer/src/i18n/locales/sv.json
#	electron/src/renderer/src/i18n/locales/th.json
#	electron/src/renderer/src/i18n/locales/tr.json
#	electron/src/renderer/src/i18n/locales/uk.json
#	electron/src/renderer/src/i18n/locales/vi.json
#	electron/src/renderer/src/i18n/locales/zh-CN.json
#	electron/src/renderer/src/i18n/locales/zh-TW.json
2026-10-27 11:52:28 +05:30
debpalash 89b8f4fee1 fix(engines): route unsupported GPUs to CPU, finish the Linux ROCm swap, name missing build tools
- Routing badge falls back to CPU for a CUDA card the wheel has no kernels
  for (sm_52 Maxwell on cu128), matching the loader; one cuda_forced()
  reading shared by loader, badge and GPU report (#3067).
- Linux ROCm torch swap reinstalls only the torch trio from an extra index;
  --index-url + --reinstall made Pillow 13 unresolvable (#3158, #3418).
- Sidecar installs that fail for lack of a C++ compiler say so and name the
  build tools per OS instead of blaming the network (#3423).
2026-10-27 09:51:41 +05:30
shamil2 bc8b561f9c feat(nix): add Nix flake and NixOS development environment (#2961) 2026-10-27 09:48:46 +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 136b8f9382 docs: repair broken relative links and guard them with a test
Re-implements the fix proposed in #2912 and extends it to every broken
relative link and anchor in the docs.
2026-10-27 00:30:42 +05:30
debpalash e0f8c4d256 docs(install): install VoiceStudio from the Snap Store on Linux
Snap revision 3 (0.5.7) is on the stable channel: the Linux guide and README
give the snap install command and the one-time audio-record connection.
2026-10-26 23:49:09 +05:30
debpalash 7ba5f26c78 release: name desktop downloads VoiceStudio-<version>-<os>-<arch>
Electron is the only desktop app, so direct-download artifacts drop the
Electron label (store builds keep theirs). Installers still resolve the
VoiceStudio-Electron-* names for releases up to v0.5.7-beta.3; update feed
file names are unchanged and each feed names its own installer.
2026-10-26 17:20:20 +05:30
Palash Debnath 5b8db5d0a5 fix(rocm): RDNA4 (RX 9070) never gets cross-generation remap advice; AMD docs (#3499)
* fix(rocm): never advise cross-generation HSA remaps; document RDNA4 support

RX 9060/9070 (gfx1200/gfx1201) run natively on the pinned torch 2.8.0
rocm6.4 wheels and on the Windows ROCm 7.2.1 recipe, but a build without
gfx12 told owners to set HSA_OVERRIDE_GFX_VERSION=11.0.0, which cannot work.
Remap advice is now limited to a same-generation target the build ships,
with the exact value, and a test keeps every override inside its family.
Docs: RDNA4 status on Linux; stale 'no ROCm on Windows' lines fixed.

Refs #3418

* changelog: fragment
2026-10-26 16:56:46 +05:30
Palash Debnath 1f37b0932d fix(setup): name the download host, detect stalls, drop cancelled partials (#3411) (#3436)
Community-reported fix from the Discord sweep (#3425).
2026-10-26 02:59:06 +05:30
eaves dropper fc05724efc add: flake.nix and flake.lock 2026-10-10 13:13:07 +05:30
Palash Debnath b82bf0d60b fix: preserve CPU source installs and initialize Electron startup 2026-10-04 22:10:49 +05:30
debpalash a521d1556d Merge origin/main into packaging/aur; drop in-repo recipe, point docs at community AUR package 2026-10-04 20:34:59 +05:30