effusiveperiscope / so-vits-svc

so-vits-svc
MIT License
179 stars 71 forks source link

CPU training is not allowed #22

Closed cody151 closed 1 year ago

cody151 commented 1 year ago

Hello when trying to run the train.py file I keep getting assertion error: CPU training is not allowed

Platform Win10 64 CUDA 12.1 installed VSCode latest, all dependencies installed, ipynb jupyter notebook being used, inference notebook works fine in generating but as soon as I try to train this happens

cody151 commented 1 year ago

assert torch.cuda.is_available(), "CPU training is not allowed." AssertionError: CPU training is not allowed.

effusiveperiscope commented 1 year ago

Have you installed the correct version of pytorch for your CUDA?

cody151 commented 1 year ago

Have you installed the correct version of pytorch for your CUDA?

Yes, I fixed it but now it's saying I don't have enough VRAm I need to run it on CPU instead

effusiveperiscope commented 1 year ago

See https://github.com/effusiveperiscope/so-vits-svc/issues/23#issuecomment-1500764594 and remove the assert; frankly I'm not sure if training is possible on CPU or how fast it will be.