SuperResolutionAnimeDiffusion icon indicating copy to clipboard operation
SuperResolutionAnimeDiffusion copied to clipboard

No CUDA GPU found in your device

Open cchatgpt opened this issue 3 years ago • 7 comments

image image image

cchatgpt avatar Feb 26 '23 23:02 cchatgpt

Please try input nvidia-smi in your cmd, if it does not work, you may need to fix cuda by reinstallation.

yangheng95 avatar Feb 26 '23 23:02 yangheng95

Please check if you install the pytorch with cuda bundle, use the following code:

import torch
print(torch.cuda.is_available())

If you install the cpu version, please reinstall pytorch from: https://pytorch.org/get-started/locally/

yangheng95 avatar Feb 26 '23 23:02 yangheng95

Yes if you use conda, otherwise if you use pip, you can use: pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116

yangheng95 avatar Feb 27 '23 00:02 yangheng95