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

Some questions about the RTF of the u2++ conformer #2659

Open
wlmsoft opened this issue Nov 25, 2024 · 0 comments
Open

Some questions about the RTF of the u2++ conformer #2659

wlmsoft opened this issue Nov 25, 2024 · 0 comments

Comments

@wlmsoft
Copy link

wlmsoft commented Nov 25, 2024

Recently, I did some comparisons among the ctc_greedy_search, ctc_prefix_beam_search, attention and attention_rescore.

  1. Test machine:
    GPU: NVIDIA GeForce RTX 4090
    CPU Intel(R) Xeon(R) Platinum 8336C @ 2.30GHz.
  2. Test config
    Beam size: 10
    model: u2++_conformer_exp_aishell
    test set: aishell(7176 utts, ~5hours).
    platform: python.
    batchsize: 1
    chunksize: full
  3. Results:

RTF

So I have some questions:

  1. Firstly, are the results reasonable?
    the speed is ctc_greedy_search > attention > ctc_prefix_beam_search > attention_rescore.

  2. why the attention is faster than ctc_prefix_beam_search?
    it is because the u2++_conformer_exp_aishell decoder is simple, which causes the attention is faster than ctc_prefix_beam_search?

  3. it seems attention_resore needs to do the ctc_prefix_beam_search first, which will slow the speed.

Thanks!

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

1 participant