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

Issues playing without CUDA #54

Closed
mmilk90 opened this issue Jul 20, 2019 · 6 comments
Closed

Issues playing without CUDA #54

mmilk90 opened this issue Jul 20, 2019 · 6 comments

Comments

@mmilk90
Copy link

mmilk90 commented Jul 20, 2019

Excuse my inexperience, but I tried to use your software since it looked very appealing to me.
I use an AMD GPU, so I followed the steps on installing torch without it. However, I keep getting this error message.

CUDA error

It seems my only failure is that it does not playback.
Is it even possible to use it without CUDA? What can I do to circumvent this error?

@CorentinJ
Copy link
Owner

It may be possible, but you would have to change calls to cuda() to get that to work. I don't know how torch handles other GPUs. You would also need to change the device the weights are stored on.

@daydayupcheng
Copy link

I run this tool successfully on my local machine without GPU. You need to replace all the codes which include cuda.

@slavaGanzin
Copy link

slavaGanzin commented Aug 10, 2019

I run this tool successfully on my local machine without GPU. You need to replace all the codes which include cuda.

If it works on CPU, why not making this optional?
I saw this in other projects like:

# its pseudocode

if torch.cuda and not options.force_cpu:
  torch.device = torch.cuda
else:
  torch.device = torch

and then rewrite all torch.cuda to torch.device. I think it's look a bit like a hack, but it works and it's easy to refactor

@AteetKumar
Copy link

I run this tool successfully on my local machine without GPU. You need to replace all the codes which include cuda.

How did you replace all the cuda codes? Can you please explain ? That would be great help.

Thanks and regards,
Ateet Kumar

@stinct9
Copy link

stinct9 commented Sep 17, 2019

For anyone wanting to run this without CUDA. It's possible by removing the Cuda codes. I have been successfully able to run it without CUDA. Will try to raise a PR if I get some time.

@ghost
Copy link

ghost commented Jul 5, 2020

@mmilk90 I wanted to let you know we have implemented CPU support in #366 so you do not need CUDA to run the voice cloning toolbox. So, exactly what you wanted! The setup process is a little bit easier now too. Please pull the latest and try again.

@ghost ghost closed this as completed Jul 5, 2020
This issue was closed.
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

6 participants