RVC-Project / Retrieval-based-Voice-Conversion

in preparation...
MIT License
240 stars 37 forks source link

API speed slow vs CLI #5

Closed briangrider closed 7 months ago

briangrider commented 7 months ago

I was able to get both the API and cli options working on a silicon macbook air m1 - very cool! However, the api seems exceptionally slow and asked for a lot of permissions for data and etc. (through vs code). Is this what you would expect? Inference with vocals on a single song took approx 2:30 with cli and 5:30 through the api. The API hangs on:

DEBUG:rvc.lib.infer_pack.models:gin_channels: 256, self.spk_embed_dim: 109

for over three minutes and 30 seconds before proceeding so I think that's where the time is lost. Is there anyway to speed this up?

Thank you in advance!

briangrider commented 7 months ago

I was able to resolve this as well. I had my index set to too general of a directory. I narrowed it and things evened out between the two methods.