Skip to content

Centralize ASR streaming lifecycle and transcript publication - #871

Merged
0xShug0 merged 1 commit into
mainfrom
feature/asr-streaming-base
Oct 11, 2026
Merged

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

Conversation

@0xShug0

@0xShug0 0xShug0 commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add StreamingAsrSessionBase for incremental audio input, request lifecycle, final-result accumulation, and callback or pull-based event delivery.
  • Adopt it in Parakeet TDT, Phonon, SenseVoice, Higgs Audio STT, and Kroko ASR.
  • Centralize UTF-8-safe committed deltas while preserving revisable hypotheses as separate snapshots. Preserve earlier SenseVoice deltas when a feed processes multiple windows.
  • Keep model buffering, decoder state, context windows, and commitment policies model-local. No new HTTP response schema.
  • Add lifecycle/publication unit tests and maintainer documentation.

Scope

This is a streaming-session refactor, not a new decoding algorithm or backend optimization. It does not convert every ASR model to the base.

Checks

Both the branch diff and PR scope were checked before submission. No new build or inference run was performed while opening this PR.

@0xShug0
0xShug0 merged commit 0214354 into main Oct 11, 2026
6 checks passed
@0xShug0
0xShug0 deleted the feature/asr-streaming-base branch October 11, 2026 16:27
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