Skip to content

Improve Nemotron ASR streaming - #630

Merged
0xShug0 merged 1 commit into
mainfrom
feature/nemotron-asr-true-streaming
Sep 21, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
feature/nemotron-asr-true-streaming

Conversation

@0xShug0

@0xShug0 0xShug0 commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • process audio incrementally instead of buffering the full recording until finalization
  • preserve encoder attention/convolution caches and RNNT decoder state across chunks
  • reuse two fixed session-owned encoder graphs and discard consumed waveform samples
  • publish append-only transcript deltas as tokens become available and flush only the remaining tail at end of stream

The offline path is unchanged. With the default model configuration, encoder updates run on a 320 ms cadence; first-text latency remains dependent on leading silence and when the RNNT emits its first non-blank token.

Validation

  • offline F16 CUDA output remained byte-identical across five before/after runs; median wall time moved from 96.2 ms to 93.7 ms
  • streaming CUDA produced the expected transcript, and concatenated deltas exactly matched the final transcript
  • a 309.12-second stream completed with bounded waveform storage, two graph builds, 969 graph-cache hits, and no position-limit failure
  • F16 Vulkan and Q8_0 CUDA/CPU streaming paths produced the expected transcript
  • paced server streaming emitted its first delta at about 0.98 seconds without leading silence and about 1.92 seconds with roughly one second of leading silence

@0xShug0
0xShug0 merged commit 9aa53fe into main Sep 21, 2026
10 of 11 checks passed
@0xShug0
0xShug0 deleted the feature/nemotron-asr-true-streaming branch September 21, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant