Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"greedy_batched" methods should support "partial_hypotheses" option #9040

Open
galv opened this issue Apr 25, 2024 · 0 comments
Open

"greedy_batched" methods should support "partial_hypotheses" option #9040

galv opened this issue Apr 25, 2024 · 0 comments
Assignees

Comments

@galv
Copy link
Collaborator

galv commented Apr 25, 2024

Is your feature request related to a problem? Please describe.

I've been experimenting with examples/asr/asr_cache_aware_streaming/speech_to_text_cache_aware_streaming_infer.py. One of the things I've noticed is that the "greedy_batched" strategy does not support partial hypotheses. We should add support for this. Right now, streaming of RNN-T models is horrendously slow because we are running the decoder at batch size 1, because we must use the "greedy" strategy when doing streaming. The encoder basically isn't meaningfully contributing to the runtime. The decoder is the main slowdown.

FYI @artbataev .

@galv galv assigned okuchaiev, galv and artbataev and unassigned okuchaiev Apr 25, 2024
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

No branches or pull requests

3 participants