Retrieval-based-Voice-Conversion-WebUI
Retrieval-based-Voice-Conversion-WebUI copied to clipboard
GPU not found on UBUNTU 22.04.2
Hi! I'm trying to train on Linux Ubuntu 22.04.2, and I have torch version 2.0.1+cu118, but for some reason it will not recognize my GPU. I have an NVIDIA 1660GTX SUPER. Any ideas?
Thanks in advance!
@ariikamusic First, this is likely an issue that is unrelated to this particular project unless you've trained models without issues previously. As such, let's go over some basic steps that may help troubleshoot the problem:
- Check the
nvidia-smicommand and make sure your GPU shows up properly. - Check that you have the proper CUDA-related packages, such as CUDAToolkit, by running
apt list --installed | grep cuda(you can replacecudawith other package names as well to check that you have them installed. - Check that you've installed the proper version of PyTorch.
- Run the following Python code and determine if PyTorch can see your GPU:
import torch
print(f"PyTorch Version: {torch.__version__}")
print(f"GPUs Detected?: {torch.cuda.is_available()}")
print(f"Number of GPUs detected: {torch.cuda.device_count()}")
print(f"GPU 0 Device Information: {torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'N/A'}")
or if you want a one-liner:
python -c "import torch;print(f'PyTorch Version: {torch.__version__}');print(f'GPUs Detected?: {torch.cuda.is_available()}');print(f'Number of GPUs detected: {torch.cuda.device_count()}');print(f'GPU 0 Device Information: {torch.cuda.get_device_name(0) if torch.cuda.is_available()} else None');"
Once you have more information we can continue debugging the problem. My current guess is that your installation of PyTorch is not correct, or that PyTorch 2.0 does not support your card (though that is unlikely).
You installed CPU version pytorch environment.
@blackhole077 @RVC-Boss thank you for explaning! I will investigate the issue and try the solution you've provided me with. If any other issues occur, I will reply to the thread. I'm relatively new to Linux hahaha