Pr/sherpa streaming backend#536
Merged
Merged
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Collaborator
|
如果实测没有问题的话,踢我一下我给你合了 |
Contributor
Author
|
@H-Chris233 实测过 流式输出没有问题 |
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.
User description
摘要
sherpa-onnx-local从骨架推进到实际 runtime/provider 实现,支持 offline batch 与 experimental online streaming 两种模型模式。OfflineRecognizer与OnlineRecognizer,并记录最近一次 prepare/transcribe/audio/error 诊断信息。RawTranscript。local-asr-token事件发出,final 继续复用现有 polish / insert / history 收尾路径。验证
cargo check --manifest-path src-tauri/Cargo.tomlcargo test --manifest-path src-tauri/Cargo.toml --lib sherpa结果:
sherpa相关测试42 passed; 0 failed。说明
PR Type
Enhancement, Tests
Description
Add Zipformer streaming model catalog
Implement offline and online recognizers
Emit partial tokens during dictation
Harden downloads, archives, and status tests
Diagram Walkthrough
File Walkthrough
2 files
Document sherpa offline and streaming modesRefresh sherpa preference documentation5 files
Add streaming model metadata and helpersSplit provider into offline and online workersImplement offline and streaming recognizer lifecycleUpdate coordinator for sherpa runtime lifecycleWire streaming partial tokens into dictation2 files
Verify archives and download integrityAdd sherpa alias and hint validation tests