Comfy-Org / Comfy-Org/ComfyUI

Running on Ubuntu VirtualBox

Open
#1,870 20 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

I'm trying to run ComfyUI on Ubunto with Virtual box but when i run the main.py file with
`python3 main.py`
from within the comfyui folder i get
```
Traceback (most recent call last):
File "/home/drago87/Desktop/AI/ComfyUI/main.py", line 72, in
import execution
File "/home/drago87/Desktop/AI/ComfyUI/execution.py", line 12, in
import nodes
File "/home/drago87/Desktop/AI/ComfyUI/nodes.py", line 20, in
import comfy.diffusers_load
File "/home/drago87/Desktop/AI/ComfyUI/comfy/diffusers_load.py", line 4, in
import comfy.sd
File "/home/drago87/Desktop/AI/ComfyUI/comfy/sd.py", line 5, in
from comfy import model_management
File "/home/drago87/Desktop/AI/ComfyUI/comfy/model_management.py", line 114, in
total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
File "/home/drago87/Desktop/AI/ComfyUI/comfy/model_management.py", line 83, in get_torch_device
return torch.device(torch.cuda.current_device())
File "/home/drago87/.local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 785, in current_device
_lazy_init()
File "/home/drago87/.local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 298, in _lazy_init
torch._C._cuda_init()
RuntimeError: No HIP GPUs are available
```
i have a AMD RX 5700 XT and have installed the rocm5.7

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.