Relative Content

Tag Archive for ubuntupytorchcuda

No CUDA GPUs are available for ComfyUI

I’m trying to set up ComfyUI on Ubuntu 22.04.4 LTS but having issues with CUDA. I have followed the tutorial here: https://medium.com/@yushantripleseven/installing-comfyui-linux-windows-b59a57af61b6. When I try to run ComfyUI python3 main.py I get an error RuntimeError: No CUDA GPUs are available. From what I have read this suggests that Pytorch is missing (even though on Linux I’ve read that Pytorch is installed as part of pip install -r requirements.txt, which I have done). Running pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 withing the venv of ComfyUI says that the requirements are already satisfied:

No CUDA GPUs are available for ComfyUI

I’m trying to set up ComfyUI on Ubuntu 22.04.4 LTS but having issues with CUDA. I have followed the tutorial here: https://medium.com/@yushantripleseven/installing-comfyui-linux-windows-b59a57af61b6. When I try to run ComfyUI python3 main.py I get an error RuntimeError: No CUDA GPUs are available. From what I have read this suggests that Pytorch is missing (even though on Linux I’ve read that Pytorch is installed as part of pip install -r requirements.txt, which I have done). Running pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 withing the venv of ComfyUI says that the requirements are already satisfied: