Repository navigation
Improve Voice Isolator performance, streaming reuse and WebUI/WebGPU support - #1358
Merged
Merged
Conversation
Owner
Author
|
@Etherll This follow-up PR uses |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Voice Isolator now uses approximate-erf GELU on CPU, reuses streaming graphs between requests, runs in browser WASM64 + WebGPU, and appears in WebUI downloads and Enhancement / denoising Studio.
CPU performance
ApproxErf comparison: 10.77-second speech, native BF16 weights, eight threads, Ryzen 9 7900X. Sequential warmed A→B→B→A, six measured requests per variant and mode.
Float-WAV cosine was 0.99999996 offline and 0.99999987 streaming.
Browser WebGPU
RTX 5090, Chrome WASM64, Debug build, published F32 GGUFs, one model thread. Offline averages three requests after warmup; streaming is the first request, including graph/shader setup. Peak VRAM is the dedicated Chrome GPU-process peak.
The short Python fixtures passed existing sample-error bounds. Offline speech repeats were byte-identical after shape changes. Streaming speech cosine against Python FP32 was 0.99924; maximum sample error was 0.04590. A 46-second stream completed with bounded-cache rollover. Repeated streaming requests within one browser session were not tested; streaming timing does not measure browser playback TTFA.
Validation