Comfy-Org / Comfy-Org/ComfyUI

RuntimeError: Found no NVIDIA driver on your system. (AMD Linux, was working minutes ago)

Open
#5,122 4 comments 0 reactions 0 assignees View on GitHub
AMD Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Expected Behavior

using amd on linux, was working just fine minutes ago

### Actual Behavior

after following a guide to install something needed for another product on linux, I can no longer run comfyui. I have tried to redownload, ext. Searched fruitlessly everywhere. Really need help to resolve this extremely frustrating issue.

### Steps to Reproduce

Issue occurred directly after following the linux version of this guide https://huggingface.co/docs/bitsandbytes/main/en/installation#multi-backend

### Debug Logs

```powershell
TORCH_BLAS_PREFER_HIPBLASLT=0 python /ComfyUI/main.py
Traceback (most recent call last):
File "/ComfyUI/main.py", line 90, in
import execution
File "/ComfyUI/execution.py", line 13, in
import nodes
File "/ComfyUI/nodes.py", line 21, in
import comfy.diffusers_load
File "/ComfyUI/comfy/diffusers_load.py", line 3, in
import comfy.sd
File "/ComfyUI/comfy/sd.py", line 5, in
from comfy import model_management
File "/ComfyUI/comfy/model_management.py", line 143, in
total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
File "/ComfyUI/comfy/model_management.py", line 112, in get_torch_device
return torch.device(torch.cuda.current_device())
File "/usr/local/lib/python3.10/dist-packages/torch/cuda/__init__.py", line 942, in current_device
_lazy_init()
File "/usr/local/lib/python3.10/dist-packages/torch/cuda/__init__.py", line 319, in _lazy_init
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.