Open
Conversation
Contributor
Author
|
run-slow: voxtral-realtime |
Contributor
|
[For maintainers] Suggested jobs to run (before merge) run-slow: voxtral_realtime |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Contributor
|
Benchmarks before: After: |
Contributor
|
maybe also to check: when running the streaming sample code, I get this maybe mistral changed their API? (since it looks like we just return properties from self.mistral_common_audio_config) Update: Indeed (mistralai/mistral-common@a54e57f) |
Contributor
Author
|
Thanks for noticing @xenova 🙏! Opening another PR for that! |
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.
What does this PR do?
so @Deep-unlearning noticed, benchmarking for the Open ASR leaderbaord, that the current implem is particularly slow. That would make sense since we go through every layer of the encoder forward, and that the streaming paradigm mean the genrate way more tokens (since they are time-aligned).
Profiling shows indeed:

voxtral
voxtral-realtime

But we don't necessarily have to do it! Let's just run the encoder fully once at the beginning when we can.