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

Is there a way to do batch inference? #190

Open
SoulflareRC opened this issue Oct 18, 2023 · 3 comments
Open

Is there a way to do batch inference? #190

SoulflareRC opened this issue Oct 18, 2023 · 3 comments

Comments

@SoulflareRC
Copy link

I'm trying to do inference in batch by padding each sentence to the max length(pad by 0), but it turns out that the model did fine on the text part, but generated noises for the padded part. Is there a proper way to do this?

@sushant-samespace
Copy link

Even I am looking for a solution to this. Were you able to find anything ?

@piyushsinghpasi
Copy link

piyushsinghpasi commented Feb 2, 2024

I created batched inference script since I had to run things on scale. Feel free to use it:
https://github.com/piyushsinghpasi/VITS-Batched-Inference

@BB-Beta
Copy link

BB-Beta commented Mar 13, 2024

I created batched inference script since I had to run things on scale. Feel free to use it: https://github.com/piyushsinghpasi/VITS-Batched-Inference

thanks,I have the same problem and solved by your solution

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

4 participants