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

How to improve performance #21

Open
Kerry0123 opened this issue Nov 18, 2020 · 2 comments
Open

How to improve performance #21

Kerry0123 opened this issue Nov 18, 2020 · 2 comments

Comments

@Kerry0123
Copy link

Hello,
It takes 25 seconds to generate three seconds (sample_rate 22050, about 15 words) audio. Do you have a good idea for performance optimization?We can discuss it. Thank you.

@bshall
Copy link
Owner

bshall commented Nov 18, 2020

Hi @Kerry0123,

Yeah I get about 0.225x real-time with the 16kHz model. There are a number of tricks you can try to get improved speeds. You could probably apply most of the optimizations from the WaveRNN paper. Specifically, you'd need to implement:

  1. a single persistent GPU operation for sampling.
  2. structured sparcity.
  3. subscale sampling.

Unfortunately, I don't have much time to work on these optimizations but I'd be happy to accept and review any pull requests if you're interested in working on it.

@Kerry0123
Copy link
Author

Thank you for your reply. I will continue to report on my work

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

2 participants