Repository navigation
perf(asr): commit live lines on four x64 cores 0.4 s sooner, 1.60 s at worst - #391
Merged
Merged
Conversation
…de in the closing pause On four x64 cores a provisional re-decode of the whole open segment takes about 0.4 s. One that lands in the 0.7 s pause that closes the segment runs before the line's own decode, so the line and the other channel's line wait for it. On x64 the provisional re-decode now waits for speech; elsewhere nothing changes. Refs #379
… against 2.01 s Six runs on v1.0.0 and six with the change on the same four pinned x64 cores, plus the screening runs that chose it. Refs #379
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 18 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
GeiserX
added a commit
that referenced
this pull request
Oct 12, 2026
… window behaves (#400) The version bump for 1.1.0. The release itself is the `v1.1.0` tag on main once this is merged and `ci-ok` is green there. ## What 1.1.0 ships The CHANGELOG section in this PR is the release note. In short: the server speaks Wyoming for Home Assistant's Assist (#395) and answers Bazarr's whisper endpoints (#396), both off by default; the desktop window stops scrolling past the app and the note and fix boxes grow with their text (#397); the ask box pre-starts the harness (#393); the recognizer loads from the call's start (#394); on four x64 cores a live line commits 0.4 s sooner (#391); the Docker Hub page is filled from the README (#389, #390); the watchdog test and the nightly stop flaking (#392, #399). ## The evidence a stable release needs (CI-28) - **The 8-hour soak**, at real time with a busy process on every core, through the Rust helper in file mode, on main at b87ba3b (every change in this release but the UI-only #397): 9 of 9 checks ok, no audio hole, heap growth 0.16 MB, event loop late by at most 186 ms. The JSON is `docs/gates/soak-1.1.0.json`. - **The terms table** has a row dated 2026-10-12. Both vendors' pages were read again today. Anthropic's pages are unchanged word for word. OpenAI's pages refuse plain fetches and the web archive was offline, so they were read in a browser: same dates, same clauses. The Consumer Terms outside the EEA could not be re-read today, and the row says so. - `bun scripts/stamp-version.ts --check --tag v1.1.0` exits 0; with `v1.1.1` it exits 1, the control. ## Also in this PR - The server docs' image tags and the README's DMG name say 1.1.0. - `docs/DESIGN.md` step 6 states the x64 provisional rule that #391 introduced, which the judge of that PR asked for. Depends on #399 merging first, since the CHANGELOG names it; I will bring main into this branch once it lands.
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.
On four x64 cores the live transcript's lines landed up to 2 s after the speech ended, against about 1.05 s on Apple silicon. The line's own decode is only about 0.4 s. The rest was the Worker still busy when the segment closed. A provisional re-decode of the whole open segment, due in the 0.7 s pause that closes it, ran first and held up that line and the other channel's line.
On x64 a provisional re-decode now waits for speech. The line comes within a second with the same words, so nothing is lost. Other machines are unchanged because they were not measured.
Measured with the G6 gate script on a Windows x64 box with four pinned cores: six runs on v1.0.0 and six with the change, alternating, three per diarizer. Every run committed 24 of 24 lines with no clock step.
A screening run also tried the host marking audio not live from 0.5 s behind instead of 2 s, and it changed nothing. The worst lines left are the decode itself, up to 0.73 s with Nemotron sharing the cores. Int8 or a smaller model would be the next cut. The data is in
docs/gates/g6-x64-pause.json.The stalled run is explained in #379 (comment) as the Windows Time service stepping the clock by 2,572 ms.
live-worker.tstouches onlyLiveOptions,DEFAULT_LIVEandLivePipeline.window.Closes #379