Repository navigation
Add Kroko XL offline ASR and improve Zipformer inference - #1273
Merged
Merged
Conversation
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.
Adds Kroko XL English offline ASR to the existing
kroko_asrfamily, including ONNX-to-GGUF conversion and usage documentation. Existing causal packages retain their stateful streaming path.Inference reuses framework modules and session-owned prepared graphs, with batched relative attention, channel-fast subsampling, graph-based predictor/joiner projections and sparse filterbank computation. Framework attention and convolution implementations remain opt-in through C++ configuration; Kroko selects them internally without new public options. Existing callers retain their default implementations. No GGML kernel changes.
Validation
Warmed A→B→B→A, eight threads, Q8 packages, greedy decoding, with 6-, 14- and 28-second inputs. Each block includes a warmup followed by three measured requests per input. Timings use
session.wall_ms.The existing Community 64-L package compares against
main(33ca47fcb). XL compares against the initial XL port (407ef25a7), sincemaindoes not support XL.2e-5).