Commit Graph
521 Commits
Author SHA1 Message Date
Palash Debnath bc6d564cfc fix(dev): spawn the real Bun so npm-installed Bun works on Windows (#4603)
* fix(dev): spawn the real Bun so npm-installed Bun works on Windows

bunCommand() prefers the running Bun, then npm_execpath, then the executable behind a Windows npm shim on PATH. A missing Bun gives an install hint from every script that spawns it, and a test guards against bare bun/bunx spawns. Builds on the report and first fix in #4525.

* Add changelog fragment for the Bun spawn fix
2026-12-02 20:25:13 +00:00
Palash Debnath 554b34f6b8 Report which Sortformer piece is missing and document the macOS setup (#4599)
* Report which Sortformer piece is missing and document the macOS setup

* Add changelog fragment for #4599

* Update diarisation status tests for the missing field and cover the model override in the docs

* Re-run CI on the merged branch
2026-12-02 18:20:25 +00:00
Palash Debnath b569856908 Merge train 2026-12-01c: iOS download stall, false crash reports, setup cancel (#4593)
* fix(ios): restart model transfers that stall at 0 B/s (#4587)

Background URLSession retries timed-out tasks silently until the resource
timeout (7 days here) and treats tasks started while the app is in the
background as discretionary. The parallel scheduler only creates the tail
range after the first two 64 MiB ranges finish, which commonly happens while
the app is backgrounded, so Kitten's last range could wait indefinitely at
80%. The transport then reattached that same OS task by key on every retry,
pause/resume and relaunch, so the stall repeated every time.

ModelStore now runs each range wait under a stall watchdog: when the
transport reports no new byte for its idle interval (120 s for the background
transport) during awake time, the wait is abandoned as a retryable network
failure and the next source is tried. The background transport cancels the
abandoned task with resume data instead of suspending it, so the retry starts
a fresh task from the received bytes. Android already fails a stalled read via
OkHttp's 120 s read timeout and moves to the next source.

* Add iOS and Android to the issue forms

Phone reports had to pick a desktop OS and install method; the forms now
offer iOS, Android, the phone app install and on-device compute.

* Name the changelog fragment after the pull request

* fix(diagnostics): do not report Windows shutdown or installer exits as crashes

Windows may end the process as soon as the session-end handler returns, and
installers force-kill the app shortly after asking it to close, so the async
orderly quit often never retired the session marker and the next launch
reported an unclean_exit. Retire this process's own marker synchronously on
session-end and at the start of an orderly quit, and keep liveness refreshes
from restoring it. A process that dies any other way is still reported.

* Name the changelog fragment after the pull request

* fix(setup): keep a cancelled runtime repair cancelled and log why a venv is unusable

Cancel on the setup progress screen calls restart(). When that install was
the automatic repair of an existing runtime (or a first run whose install
marker now counts as an earlier install), start() either launched the same
install again or, once a repair had been attempted this launch, reported
"automatic repair did not finish". The renderer classifies that message as
BROKEN_VENV, so a user's Cancel was reported as a broken environment within
10 s of the restart.

- runtime-repair: a cancelled setup is left to the setup screen (Resume),
  never restarted on the user's behalf or reported as a failed repair.
- backend: restart() during an install marks it cancelled; an explicit
  setup run clears the mark.
- runtime-readiness: report why a project is not usable (missing
  interpreter, missing pyvenv.cfg, unfinished install, other version, or the
  failing import); the supervisor logs it before repairing, so a repair
  that does not help still says why.

* Name the changelog fragment after the pull request

* fix(diagnostics): keep a pending marker write from outliving session end

A marker write that passed the end check before endSession() could still
rename a fresh active marker into place, and the later async removal may
never run once Windows ends the process. Check right before the rename and
remove synchronously as it completes. Document that close to tray followed
by an installer kill, and a windowless app at Windows shutdown, are still
reported, and accept CRLF checkouts in the source-order test.

* fix(setup): address review on the broken-venv recovery

- torch-choice wiring test accepts the readiness reason callback, still
  requiring rememberTorchVariant() right after the ready branch records the
  project; the callback is now a named noteReason(project).
- The "not usable" reason is written to the setup log directly (pushLog only
  feeds it while installing) and stays in the log tail when the automatic
  repair resets it.
- The setup failure handler reads the install marker before writing any
  state and re-checks the generation, so a Cancel during that await keeps
  its Resume screen.
- Only ENOENT/ENOTDIR count as a missing interpreter or pyvenv.cfg; other
  stat errors (EACCES, EPERM, EIO) are named with their code.

* fix(ios): do not count connectivity waits as stalled model transfers

The stall watchdog treated a background task waiting for Wi-Fi (or for any
connection) as stalled, abandoned it and spent all five retry rounds. The
resulting timeout paused the download with an error, so restoring Wi-Fi no
longer resumed it. The watchdog now restarts its interval whenever the
connection the policy requires is unavailable, and counts only steps that
were connected from start to end. The app passes its connectivity state.

* fix(diagnostics): publish the session marker through renameWithRetry

The pending-write guard wrapped node:fs rename directly, which the
rename-retry guard test forbids (Windows antivirus retries). Check
publishability before the plain renameWithRetry and again as it settles;
only microtasks run in between, so an ended session still never keeps
the marker.

* fix(setup): show the unusable-runtime reason only for the runtime it describes

The retained reason now carries its project; setup for a moved runtime
location drops it instead of showing the old location's diagnosis.

* fix(setup): recheck the start generation and keep readiness reasons honest

- start(): read the install, Windows ROCm and interrupted state first, then
  return if a restart() or shutdown() overtook this start, before writing
  any status or starting a repair.
- runtime-readiness: name a build mismatch only when the ready marker
  proves it; keep this decision's Windows ROCm verification failure as the
  reason; otherwise use a neutral reason. No extra native probe runs.

* fix(mobile): demote a stalled model source and qualify resumed bytes

A source that stalled or dropped the connection kept its earlier measured
rate, so when both sources had rates the next range or attempt could wait a
full stall interval on it again. iOS and Android now set that source's rate to
zero on a network failure (not on HTTP retry statuses) and order demoted
sources last until they deliver again.

The docs, contract and changelog no longer claim received bytes are always
kept: completed ranges are, while an abandoned range continues only from
resume data the system provides.

* fix(mobile): end a source's demotion when it delivers again

A demoted source that answered too quickly to sample a rate stayed at
rate 0 and kept going last for later files. A validated answer now clears
the demotion on iOS and Android, with a test on each.

* test(ios): widen the stall window in the demoted-source test

A slow CI runner pushed the mirror's 200 ms answer past the 0.3 s stall
window, scrambling the expected host order.

* test(mobile): keep the demotion-recovery order fixed on slow runners

The recovered source could be sampled as slower than the mirror on a slow
runner; give the mirror a clearly slower measured rate on iOS and Android.
2026-12-02 20:33:55 +05:30
Palash Debnath 4aa2cd27b6 Polish desktop setup, settings and studio workspaces (#4527)
* 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
2026-11-29 08:57:06 +05:30
Palash Debnath a62229e1fa Fix packaged Linux CLI startup on newer glibc (#4514)
* fix(packaging): clear executable stack flag on bundled Linux CLI runtime

* docs: record Linux CLI packaging fix
2026-11-28 06:17:25 +05:30
Palash Debnath d6fcce6ce0 fix(setup): reach models and GitHub-hosted wheels on blocked networks; recover from a failed Windows clone (#4504)
* fix(setup): reach models and GitHub-hosted wheels where Hugging Face or GitHub is blocked; recover from a failed Windows clone

* docs(changelog): #4504 fragments

* fix(network): apply a new automatic Hub pick to this session's loads; honest restart prompt; inherited Python mirror selects the GitHub proxy

* docs(models): the automatic Hub pick reaches loads in the same session

* test: restore the Hub endpoint after every test now that main enables the process sync

* fix(setup): name the host a failed runtime download could not reach

* fix(network): restore implicit tokens back on the official endpoint; name only the failed host; reset Hub constants first imported in a test

* fix(network): never re-enable implicit tokens in a process that used the mirror
2026-11-27 05:10:34 -08:00
swaxanddebpalash d90e9d4edb fix(omnivoice): check tokenizer licence against the installed revision (#4498)
* fix(omnivoice): check the tokenizer licence against the installed revision

* docs(changelog): record the OmniVoice tokenizer revision fix

---------

Co-authored-by: debpalash <4178343+debpalash@users.noreply.github.com>
2026-11-26 23:35:29 -08:00
Palash Debnath 42ac3589be fix(windows): read model weights with pread instead of a memory map (#4142) (#4500)
* fix(windows): read model weights with pread instead of a memory map

transformers opens CPU checkpoint reads with safe_open(backend="mmap"), and
the first read through that copy-on-write mapping can fault below Python on
Windows (0xC0000005 in torch/storage.py, #4142). On Windows those reads now
use safetensors' pread backend: the same bytes, read with ordinary file
reads. Installed in backend/main.py after .env loads and in
OmniVoice.from_pretrained for processes that never import it; rebinds
modules that imported safe_open early; OMNIVOICE_SAFETENSORS_PREAD=0 opts
out; an older safetensors without pread keeps its default.

Approach credited to #4464.

* chore(changelog): name the pread fragment after #4500

* fix(windows): pread also for device=None; fall back only when pread is unsupported, without logging the path

* fix(windows): fall back cleanly when an explicit mmap read meets an old safetensors
2026-11-26 20:18:12 -08:00
669ed5ef0d fix(xpu): route integrated Intel Arc unified memory to TTS release (#4480)
* 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>
2026-11-26 11:18:31 -08:00
Palash Debnath b4ff354ca2 fix: seven reported issues (MOSS-TTS-Nano, design recipes, Windows setup, startup logging, history size) (#4488)
* fix(moss): load MOSS-TTS-Nano whichever container transformers combines ignore patterns with (#4484)

The 5.9 version gate misjudged some transformers builds, leaving a set on the left of a list concatenation. Try the model's own lists first and retry with sets only on TypeError.

* fix(voices): keep Voice Design recipe on save and store Style text as typed (#4474)

* fix(setup): recover from uv's broken Python minor-version link on Windows (#4487)

* fix(setup): fail a stalled wheel prefetch and fall back to uv (#4476)

* fix(ui): use system fonts on the blank-window fallback page (#4478)

* fix(electron): log every silent early exit before userData exists (#4477)

* perf(history): clip long take scripts in the history list, fetch the full take on demand (#4483)

* test(routes): the single-take history read shares the list's access tier

* docs(changelog): fragments for the issue batch

* docs(changelog): reference the batch PR in its fragments

* docs(cosyvoice-gguf): Linux and Docker build steps, offline ONNX Runtime (#4485)

* docs(windows): keep the uv link entry in the troubleshooting list

* fix: Windows-safe startup log and uv link recovery, regenerate CLI contract

* fix(electron): check and write the startup log through one descriptor

* fix(electron): truncate an oversized startup log on Windows too

* fix(electron): keep the startup log in a per-user folder and open it without following links

* test(profiles): guard the 400-on-every-use class at render time, where it is enforced

* fix(history): keep list_history callable directly with its default limit

* fix: address review findings on the issue batch

- canary returns the recovered interpreter so the sync uses it (#4487)
- startup log redacts credentials and home paths; dialog names it only after a write (#4477)
- stalled size probes are aborted at their deadline (#4476)
- reuse of a clipped take reports a failed full-script load with Retry and yields to newer choices (#4483)
- edited design Style becomes the recipe so free-form engines receive it (#4474)
- CosyVoice GGUF docs: CMake 3.28, archive from the error, build step, Docker ORT libs (#4485)
2026-11-26 07:15:45 -08:00
Palash Debnath 866eefc9fb fix(omnivoice): gate the fallback Higgs tokenizer only when it would load (#4333)
* fix(omnivoice): gate the fallback Higgs tokenizer only when it would load (#4329)

* fix(omnivoice): guard the tokenizer fallback at the loader; break gate import cycle

* docs: count the omnivoice_checkpoint service module

* fix(omnivoice): fail closed on the tokenizer fallback; leaf checkpoint resolver

* fix(omnivoice): let the subprocess sidecar use the accepted tokenizer fallback

* fix(omnivoice): drop an inherited tokenizer-acceptance signal from the sidecar env
2026-11-22 07:30:38 +05:30
Isnaeni HidayatandPalash Debnath 75100b6d37 fix(exports): sanitize superscript Windows device names (#4248)
* fix(exports): sanitize superscript Windows device names

* docs(changelog): record portable export filename fix

* fix(licenses): reuse the shared Windows device-name list for registry paths

model_licenses.safe_file kept its own COM1-9/LPT1-9 set, so superscript device names still passed there. It now uses core.path_security._WINDOWS_RESERVED_NAMES.

---------

Co-authored-by: Palash Debnath <4178343+debpalash@users.noreply.github.com>
2026-11-20 08:45:28 +05:30
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 eee6850070 fix: startup hint, sidecar heartbeat, VC++ runtime guidance, tail fade and actionable failure reports (#4243)
Fixes #4228, #4229, #4230.
2026-11-18 05:01:26 +05:30
Palash Debnath 31c492c945 Merge branch 'main' into fix/rocm-driver-hip-4200 2026-11-17 03:35:43 +05:30
debpalash d035a935c8 Merge #4196: fix(longform): keep saved audio on its original backend 2026-11-17 00:38:49 +05:30
debpalash cadd813480 fix(windows-rocm): prefer the driver's newer HIP runtime, retry with bundled on crash (#4200) 2026-11-16 22:21:35 +05:30
debpalash 4aa4d3003b Merge origin/main into pr4196 2026-11-16 22:20:06 +05:30
debpalash f579bb964b Merge origin/main into fix/backend-launch-errors 2026-11-16 21:03:14 +05:30
Shimul Debnath 6fe6f4dd62 chore(release): prepare v0.5.9-beta.5 (#4205)
Prepare the owner-requested beta.5 release with synchronized versions, cumulative release notes, verified reporter credits and secrets-only diagnostics build credentials. Preserve the approved endpoint, consent defaults and tagged beta.4 history. Full current-head CI, source reviews and all five artifact-only installer builds passed.
2026-11-16 18:36:14 +05:30
Isnaeni Hidayat fdb9c57d76 fix(windows): distinguish Smart App Control evaluation from enforcement 2026-11-16 18:59:08 +07:00
debpalash eae5495c87 fix(nix): retain regular result modules in filtered sources 2026-11-16 15:28:32 +05:30
Dery Ferdika 2bcf6b132c fix(windows-rocm): verify interpreter and report native exits (#4182)
Verify Windows ROCm interpreter ABI and architecture against the pinned recipe without changing existing dependency hashes. Preserve bounded decimal and Windows-status diagnostics for native probe failures without guessing their cause or triggering automatic package repair.

Validated with full required CI and platform smoke checks, 5,225 local Electron tests, TypeScript/build/packaging checks, and focused ROCm/privacy guards. Contributor credit is preserved in the changelog; the underlying native crash report remains open.
2026-11-16 09:34:14 +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
Palash Debnath 45e9643bdc docs(install): reconcile unresolved reports and verified outcomes (#4154)
Preserve the unresolved VoxCPM2 complaint, distinguish the answered licensing question from runtime repairs, and record shipped proxy evidence without inventing a cause for the historical timeout.
2026-11-15 02:53:51 +05:30
Palash Debnath e0cbbead7d chore(release): prepare v0.5.9-beta.3 (#4148)
Prepare the validated beta.3 version and notes from 31 merged changes; keep unresolved reports and historical CLA provenance follow-up explicit. Tagging and publication remain gated on exact-commit release validation.
2026-11-15 01:56:13 +05:30
Palash Debnath beb0691c35 docs(install): track the Windows model-loading crash recurrence (#4146)
Record #4142 as an unresolved Windows model-loading access violation, update report counts, and distinguish merged download repairs from tagged-release availability. Documentation-only; 49 targeted checks pass. The runtime crash report remains open.
2026-11-15 00:21:08 +05:30
Palash Debnath 031a08fa7e fix(android): keep model downloads working through VPN routes (#4140)
Allow Android model-download jobs on the app VPN route while retaining Wi-Fi-only/cellular consent and saved partial ranges. Observe the default route, replace stale scheduler policies safely, and preserve paused intents. Include SDK VPN, queue restoration and existing transfer-policy controls.
2026-11-14 23:24:00 +05:30
Dery Ferdika d0fedf9d88 fix(system): require the administrator key for the runtime diagnostics (#4129)
Require explicit administrator credentials for remote diagnostic reads and use an asynchronous guard for SSE logs. Loopback remains supported. Full CI, security checks, signed contributor identity and reviewed findings are green.
2026-11-14 20:29:59 +05:30
Palash Debnath 868e03a85b docs(install): reconcile current reports and merged fixes (#4121)
Refresh installation report mappings, stable-release ancestry and scoped fix status. Distinguish released beta fixes, pending repairs and unresolved signing, hardware and diagnostic evidence; retain the standard ARM64 image gap.
2026-11-14 16:29:45 +05:30
Palash Debnath 816e64ae0f fix(asr): share duration-aware whole-file transcription deadlines (#4112)
Scale whole-file transcription deadlines with recording duration across uploads, streaming dubbing, child engines and MCP waits. Keep queueing and setup inside the same deadline, and preserve physical worker and upload ownership when work is cancelled.

Cover long recordings, child-process ceilings, fallback deadlines, finite settings, queued metadata, late model loading and cancellation cleanup with regression tests. Update engine and troubleshooting documentation.
2026-11-14 16:20:53 +05:30
Palash Debnath d2284b0d78 fix(setup): reuse cached wheels and handle response resets (#4115)
Reuse verified cached wheels before calculating remaining transfer space, preserving the installation reserve. Handle response resets after wheel-size headers without an uncaught error or publishing interrupted downloads.

Cover cached-only and mixed low-space retries, corrupt cache repair, response resets and cancellation with targeted regressions; update setup troubleshooting.
2026-11-14 16:20:13 +05:30
Palash Debnath 96e5427f68 fix(setup): cancel retry waits and drain probe output (#4113)
Abort runtime retry delays promptly and start no further sync after cancellation. Drain probe stderr independently of optional bounded capture and wait for child close during cancellation. Real subprocess and AbortController regressions, 217 related checks, TypeScript, full CI and both harvested reviews passed.
2026-11-14 15:05:10 +05:30
Palash Debnath 3e47372c87 fix(models): keep malformed install status from crashing the app (#4106)
Validate install-status responses and cached entries before exposing jobs to UI consumers. Reject malformed optional fields while preserving nullable backend fields, last valid state and completion tracking. The reviewed URL-guard prerequisite already landed separately in #4110. Mounted-consumer regressions, renderer typechecking, full CI and both harvested reviews passed.
2026-11-14 15:04:03 +05:30
Palash Debnath 763b84b6da docs(docker): share through host-managed Tailscale Serve (#4111)
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.
2026-11-14 14:55:45 +05:30
Palash Debnath e550836cd8 fix(setup): recover transient PyPI failures and identify the failed host (#4107)
Retry confirmed transient PyPI archive failures once on the sanctioned mirror in Auto mode, preserving locked hashes and completed downloads. Report the final failing source accurately and retain authentication, certificate and integrity failures. Validated with 199 targeted tests and the full CI matrix; both reviews were harvested and findings fixed before merge.
2026-11-14 14:16:33 +05:30
Palash Debnath f7a3a83ef0 fix(installer): keep PowerShell probes profile-free (#4099)
Skip PowerShell startup profiles and interactive prompts during all NSIS process probes. Keep existing process ownership checks, and shorten temporary source checkout paths to avoid MSVC linker path limits.

Add executable profile and source-build regressions, update Windows installation guidance and the Nix dependency hash. All 38 required and supporting checks pass, including Windows/Linux/macOS installation and Nix builds; CodeRabbit and Greptile found no code defects.
2026-11-14 04:09:25 +05:30
debpalash 6a4afba068 fix(dub): preserve saved references for voices with style instructions 2026-11-14 02:22:36 +05:30
debpalash 8c89150ee3 fix(setup): retry a stalled Python download from the other source
Windows users (Auto region) saw setup stall on
cpython-3.11.16-windows-x86_64-none (download): github.com answered the
region probe while release assets were throttled, the stall watcher
stopped uv, the interpreter check skipped, and the sync re-downloaded from
the same host and stalled again. The managed Python install now switches
once between GitHub and the gh-proxy mirror (Auto region only, logged), and
the region probe checks the mirror host setup actually downloads from.
2026-11-14 00:30:58 +05:30
debpalash 3641a7b035 Merge remote-tracking branch 'origin/main' into fix/spawn-etimedout-retry 2026-11-12 15:48:50 +05:30
debpalash 5d1ad5dceb fix(backend): retry a launch the OS timed out, then say to restart the computer (#4035) 2026-11-12 15:23:17 +05:30
debpalash 60e299ab66 release notes: open with one download table (desktop, phones, signing), then Highlights 2026-11-12 14:46:55 +05:30
debpalash 713ce990a1 fix(windows): load model weights serially by default (#3767, #3772, #4024) 2026-11-12 00:55:45 +05:30
Palash Debnath d8fc8c0e4f Merge pull request #4006 from debpalash/fix/restart-on-cpu-no-gpu-probe
fix(backend): Restart on CPU never touches the GPU driver
2026-11-11 16:06:48 +05:30
debpalash 59d198fe6e Merge remote-tracking branch 'origin/main' into ci/signpath-windows-signing 2026-11-11 15:25:09 +05:30
debpalash f59536ae50 fix(backend): Restart on CPU never touches the GPU driver
- An explicit CPU choice (Settings, OMNIVOICE_DEVICE=cpu, or Restart on
  CPU) is honoured before any GPU probe. The capability probe returns CPU
  without initialising CUDA, MPS, XPU or DirectML. get_best_device(), the
  /system/info accelerator flags and the /health device label follow it,
  so a restart after a graphics driver crash never loads that driver
  again. Settings offers Auto to detect GPUs again.
- Restart on CPU also removes a stored env.OMNIVOICE_DEVICE override from
  prefs.json. The backend restores it into its environment at startup,
  where it would beat compute_device=cpu.
2026-11-11 14:55:20 +05:30
debpalash d0eef2ca70 fix(backend): make Restart on CPU really run on the CPU
- An explicit CPU choice (Settings, OMNIVOICE_DEVICE=cpu, or Restart on
  CPU) now wins over DirectML in get_best_device(), so a DirectML host no
  longer returns to the GPU driver that crashed. CUDA and MPS hosts
  already honoured it; all three are tested.
- Restart on CPU is not offered for a custom OMNIVOICE_BACKEND_CMD, which
  may not read VoiceStudio's settings.
- replaceFile takes a creation mode; prefs.json's temporary file is
  created 0600 instead of being narrowed afterwards. Other callers keep
  the existing-file mode.
- A Restart on CPU that cannot save the setting shows a localized error
  and stays retryable.
2026-11-11 14:14:17 +05:30
debpalash b26ae2e553 ci(release): sign Windows installers through SignPath when configured
Active only with the SIGNPATH_API_TOKEN secret and the three SIGNPATH_*
repository variables; otherwise Windows signing is unchanged. The signed
installer replaces the unsigned one before upload, and the blockmap and
update feed hashes are regenerated to match. Adds the code signing policy
and owner checklist.
2026-11-11 13:39:15 +05:30
debpalash 0ebe9b93cc fix(backend): address review on native crash diagnostics
- Only a Windows Error Reporting event written after this backend's launch
  counts, so a reused pid cannot blame another program's crash.
- Graphics-driver detection lists vendor driver and GPU runtime modules by
  name; MKL, OpenMP and other CPU runtimes no longer count.
- A graphics-driver crash offers Restart on CPU on the failure screen. It
  stores the Settings compute-device choice in prefs.json and restarts,
  since Settings cannot load while the engine is down. Not offered when
  OMNIVOICE_DEVICE overrides the setting.
- In-page error and exit -1 wording no longer states one confirmed cause.
- Changelog fragment.
2026-11-11 13:38:19 +05:30