-
Notifications
You must be signed in to change notification settings - Fork 55
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
Problem with CUDA #168
Comments
Could you try Please update this with what you find in case others hit this, and there may be other folks that have seen this who might provide some guidance as well. |
Hello.
This is really strange. Yesterday's version was working using deepspeed. Now it gives this error. If I try
So it seems that now I need to install CUDA toolkit? |
Maybe? I had CUDA toolkit installed from other stuff, and I don't have a clean environment to test from unfortunately. I can't think of anything that changed yesterday that would have triggered this. The only big change was just to epub2tts really, where it switched which method it used Coqui TTS if you are using one of the studio voices (basically using the same streaming method that it was already using for XTTS). I wonder if |
Hi, |
In case I didn't mention this anywhere else (now that I think about it, I probably did not). I added a flag "--no-deepspeed", which disables use of deepspeed even if it finds that package is installed in the environment. Could you give that a try and see if you're able to use GPU just without deepspeed? It will help with troubleshooting this. Ultimately we'll figure it out so you get back to what was working (gpu + deepspeed). |
Since the other user did not respond to your "try with --no-deepspeed" suggestion, I just tried it and it does indeed work it seems. It's at 25% currently, I will update once the process finished and I listened to the file. Edit: The process finished successfully and the audio file sounds very nice :) Thank you! |
Thank you very much. As @Nikanoru said, the flag is working. When I have some spare time, I will try it in a new container and tell you what happens. |
Hello again. I set up a new LXC(LXD) container, giving GPU permissions etc., installed all dependencies, and then installing epub2tts last version. Again, the CUDA message. Using --no-deepspeed worked. Then I installed CUDA toolkit inside the container. It worked. The process took 248 min + multiplex and so on, and the duration of the generated audio is 376 min aprox. So my solution was to install CUDA toolkit to use DeepSpeed. Thank you very much. |
Hey thank you for your message. Can you go into more detail about "installed CUDA toolkit inside the container"? I am very new to Ubuntu/Linux and I had the same issue as you. |
restart the container (or the computer) and it is working. I think you need NVIDIA proprietary drivers installed. In my case I have them installed in the host and set my container to allow it to use them and the GPU. |
Thank you so much! |
Documentation update should cover this now. |
Hello. I was having a problem with the 239 characters limit in Spanish (I've read an issue and a discussion about this thing in French), so I updated epub2tts from 2.2.14 to 2.3.4, just reinstalling from Github.
Now I'm getting a CUDA related error when trying an epub conversion.
No other changes or updates have been done, in the host or in the container (this is running in a LXC Ubuntu container)
Any easy fix?
And I want to comment that the with the last version using DeepSpeed and my modest GPU (GTX 1070) the conversion speed ratio is slightly under 1!!! Amazing!
The text was updated successfully, but these errors were encountered: