You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue exists on a clean installation of Fooocus
The issue exists in the current version of Fooocus
The issue has not been reported before recently
The issue has been reported before but has not been fixed yet
What happened?
I cant install fooocus:
(fooocus_env) debian@debian:~/Fooocus$ sudo apt install "linux-headers-$(uname -r)" "linux-modules-extra-$(uname -r)"
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-modules-extra-6.1.0-25-amd64
E: Couldn't find any package by glob 'linux-modules-extra-6.1.0-25-amd64'
(fooocus_env) debian@debian:~/Fooocus$ python entry_with_update.py
Already up-to-date
Update succeeded.
[System ARGV] ['entry_with_update.py']
Python 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0]
Fooocus version: 2.5.5
[Cleanup] Attempting to delete content of temp dir /tmp/fooocus
[Cleanup] Cleanup successful
Traceback (most recent call last):
File "/home/debian/Fooocus/entry_with_update.py", line 46, in <module>
from launch import *
File "/home/debian/Fooocus/launch.py", line 152, in <module>
from webui import *
File "/home/debian/Fooocus/webui.py", line 10, in <module>
import modules.async_worker as worker
File "/home/debian/Fooocus/modules/async_worker.py", line 3, in <module>
from extras.inpaint_mask import generate_mask_from_image, SAMOptions
File "/home/debian/Fooocus/extras/inpaint_mask.py", line 6, in <module>
from extras.GroundingDINO.util.inference import default_groundingdino
File "/home/debian/Fooocus/extras/GroundingDINO/util/inference.py", line 3, in <module>
import ldm_patched.modules.model_management as model_management
File "/home/debian/Fooocus/ldm_patched/modules/model_management.py", line 121, in <module>
total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
^^^^^^^^^^^^^^^^^^
File "/home/debian/Fooocus/ldm_patched/modules/model_management.py", line 90, in get_torch_device
return torch.device(torch.cuda.current_device())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/debian/Fooocus/fooocus_env/lib/python3.11/site-packages/torch/cuda/__init__.py", line 787, in current_device
_lazy_init()
File "/home/debian/Fooocus/fooocus_env/lib/python3.11/site-packages/torch/cuda/__init__.py", line 302, in _lazy_init
torch._C._cuda_init()
RuntimeError: No HIP GPUs are available
Checklist
What happened?
I cant install fooocus:
Steps to reproduce the problem
Run this command:
(fooocus_env) debian@debian:~/Fooocus$ sudo apt install "linux-headers-$(uname -r)" "linux-modules-extra-$(uname -r)"
What should have happened?
Fooocus should be installed
What browsers do you use to access Fooocus?
Google Chrome
Where are you running Fooocus?
Locally
What operating system are you using?
Debian 12
Console logs
Additional information
The text was updated successfully, but these errors were encountered: