StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

[Linux] Packages cannot use my RoCM GPU anymore

Open NinthJake opened this issue 2 years ago • 2 comments

Unfortunately I don't know the version when this stopped working but it worked a couple of weeks ago but after updating the packages they can no longer use my AMD GPU on Linux.

InvokeAI seems to fallback to my CPU.

Comfy gives me this error and won't start. "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"

Forge also gives me a cuda/torch error and won't start. Reinstalling the packages does not work, even when specifying RoCM in the advanced settings

I have manually installed A1111 and that one still works flawlessly so it is not a problem with my drivers.

If it helps. Here is the output from installing ComfyUI.

Unpacking resources

Unpacking resources Download Complete Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (24.2) Requirement already satisfied: wheel in ./venv/lib/python3.10/site-packages (0.44.0) Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/rocm5.7 Collecting torch Using cached torch-2.4.1-cp310-cp310-manylinux1_x86_64.whl.metadata (26 kB) Collecting torchvision Using cached torchvision-0.19.1-cp310-cp310-manylinux1_x86_64.whl.metadata (6.0 kB) Collecting numpy==1.26.4 Using cached numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) Collecting mpmath==1.3.0 Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB) Collecting torchsde Using cached torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB) Collecting torchaudio Using cached torchaudio-2.4.1-cp310-cp310-manylinux1_x86_64.whl.metadata (6.4 kB) Collecting einops Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB) Collecting transformers>=4.28.1 Using cached transformers-4.44.2-py3-none-any.whl.metadata (43 kB) Collecting tokenizers>=0.13.3 Using cached tokenizers-0.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB) Collecting sentencepiece Using cached sentencepiece-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB) Collecting safetensors>=0.4.2 Using cached safetensors-0.4.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB) Collecting aiohttp Using cached aiohttp-3.10.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.5 kB) Collecting pyyaml Using cached PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting Pillow Using cached pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.2 kB) Collecting scipy Using cached scipy-1.14.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) Collecting tqdm Using cached tqdm-4.66.5-py3-none-any.whl.metadata (57 kB) Collecting psutil Using cached psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB) Collecting kornia>=0.7.1 Using cached kornia-0.7.3-py2.py3-none-any.whl.metadata (7.7 kB) Collecting spandrel Using cached spandrel-0.3.4-py3-none-any.whl.metadata (14 kB) Collecting soundfile Using cached soundfile-0.12.1-py2.py3-none-manylinux_2_31_x86_64.whl.metadata (14 kB) Collecting filelock (from torch) Using cached filelock-3.15.4-py3-none-any.whl.metadata (2.9 kB) Collecting typing-extensions>=4.8.0 (from torch) Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Collecting sympy (from torch) Using cached sympy-1.13.2-py3-none-any.whl.metadata (12 kB) Collecting networkx (from torch) Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB) Collecting jinja2 (from torch) Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting fsspec (from torch) Using cached fsspec-2024.9.0-py3-none-any.whl.metadata (11 kB) Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch) Using cached nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cuda-runtime-cu12==12.1.105 (from torch) Using cached nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cuda-cupti-cu12==12.1.105 (from torch) Using cached nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB) Collecting nvidia-cudnn-cu12==9.1.0.70 (from torch) Using cached nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl.metadata (1.6 kB) Collecting nvidia-cublas-cu12==12.1.3.1 (from torch) Using cached nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cufft-cu12==11.0.2.54 (from torch) Using cached nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-curand-cu12==10.3.2.106 (from torch) Using cached nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB) Collecting nvidia-cusolver-cu12==11.4.5.107 (from torch) Using cached nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB) Collecting nvidia-cusparse-cu12==12.1.0.106 (from torch) Using cached nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB) Collecting nvidia-nccl-cu12==2.20.5 (from torch) Using cached nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl.metadata (1.8 kB) Collecting nvidia-nvtx-cu12==12.1.105 (from torch) Using cached nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl.metadata (1.7 kB) Collecting triton==3.0.0 (from torch) Using cached https://download.pytorch.org/whl/triton-3.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (209.4 MB) Collecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==11.4.5.107->torch) Using cached nvidia_nvjitlink_cu12-12.6.68-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB) Collecting trampoline>=0.1.2 (from torchsde) Using cached trampoline-0.1.2-py3-none-any.whl.metadata (10 kB) Collecting huggingface-hub<1.0,>=0.23.2 (from transformers>=4.28.1) Using cached huggingface_hub-0.24.6-py3-none-any.whl.metadata (13 kB) Collecting packaging>=20.0 (from transformers>=4.28.1) Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting regex!=2019.12.17 (from transformers>=4.28.1) Using cached regex-2024.7.24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) Collecting requests (from transformers>=4.28.1) Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting tokenizers>=0.13.3 Using cached tokenizers-0.19.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB) Collecting aiohappyeyeballs>=2.3.0 (from aiohttp) Using cached aiohappyeyeballs-2.4.0-py3-none-any.whl.metadata (5.9 kB) Collecting aiosignal>=1.1.2 (from aiohttp) Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting attrs>=17.3.0 (from aiohttp) Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB) Collecting frozenlist>=1.1.1 (from aiohttp) Using cached frozenlist-1.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB) Collecting multidict<7.0,>=4.5 (from aiohttp) Using cached multidict-6.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB) Collecting yarl<2.0,>=1.0 (from aiohttp) Using cached yarl-1.9.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (43 kB) Collecting async-timeout<5.0,>=4.0 (from aiohttp) Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Collecting kornia-rs>=0.1.0 (from kornia>=0.7.1) Using cached kornia_rs-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.7 kB) Collecting cffi>=1.0 (from soundfile) Using cached cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB) Collecting pycparser (from cffi>=1.0->soundfile) Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes) Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp) Using cached idna-3.8-py3-none-any.whl.metadata (9.9 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch) Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting charset-normalizer<4,>=2 (from requests->transformers>=4.28.1) Using cached charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB) Collecting urllib3<3,>=1.21.1 (from requests->transformers>=4.28.1) Using cached urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests->transformers>=4.28.1) Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB) Using cached numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) Using cached torch-2.4.1-cp310-cp310-manylinux1_x86_64.whl (797.1 MB) Using cached nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB) Using cached nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB) Using cached nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB) Using cached nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB) Using cached nvidia_cudnn_cu12-9.1.0.70-py3-none-manylinux2014_x86_64.whl (664.8 MB) Using cached nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB) Using cached nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB) Using cached nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB) Using cached nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB) Using cached nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl (176.2 MB) Using cached nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB) Using cached torchvision-0.19.1-cp310-cp310-manylinux1_x86_64.whl (7.0 MB) Using cached torchsde-0.2.6-py3-none-any.whl (61 kB) Using cached torchaudio-2.4.1-cp310-cp310-manylinux1_x86_64.whl (3.4 MB) Using cached einops-0.8.0-py3-none-any.whl (43 kB) Using cached transformers-4.44.2-py3-none-any.whl (9.5 MB) Using cached tokenizers-0.19.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) Using cached sentencepiece-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) Using cached safetensors-0.4.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (435 kB) Using cached aiohttp-3.10.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB) Using cached PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751 kB) Using cached pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB) Using cached scipy-1.14.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (41.2 MB) Using cached tqdm-4.66.5-py3-none-any.whl (78 kB) Using cached psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (290 kB) Using cached kornia-0.7.3-py2.py3-none-any.whl (833 kB) Using cached spandrel-0.3.4-py3-none-any.whl (268 kB) Using cached soundfile-0.12.1-py2.py3-none-manylinux_2_31_x86_64.whl (1.2 MB) Using cached aiohappyeyeballs-2.4.0-py3-none-any.whl (12 kB) Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Using cached attrs-24.2.0-py3-none-any.whl (63 kB) Using cached cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB) Using cached frozenlist-1.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (239 kB) Using cached huggingface_hub-0.24.6-py3-none-any.whl (417 kB) Using cached fsspec-2024.9.0-py3-none-any.whl (179 kB) Using cached kornia_rs-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB) Using cached multidict-6.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (124 kB) Using cached packaging-24.1-py3-none-any.whl (53 kB) Using cached regex-2024.7.24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (776 kB) Using cached trampoline-0.1.2-py3-none-any.whl (5.2 kB) Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) Using cached yarl-1.9.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (468 kB) Using cached filelock-3.15.4-py3-none-any.whl (16 kB) Using cached jinja2-3.1.4-py3-none-any.whl (133 kB) Using cached networkx-3.3-py3-none-any.whl (1.7 MB) Using cached requests-2.32.3-py3-none-any.whl (64 kB) Using cached sympy-1.13.2-py3-none-any.whl (6.2 MB) Using cached certifi-2024.8.30-py3-none-any.whl (167 kB) Using cached charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) Using cached idna-3.8-py3-none-any.whl (66 kB) Using cached urllib3-2.2.2-py3-none-any.whl (121 kB) Using cached nvidia_nvjitlink_cu12-12.6.68-py3-none-manylinux2014_x86_64.whl (19.7 MB) Using cached pycparser-2.22-py3-none-any.whl (117 kB) Installing collected packages: trampoline, sentencepiece, mpmath, urllib3, typing-extensions, tqdm, sympy, safetensors, regex, pyyaml, pycparser, psutil, Pillow, packaging, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, numpy, networkx, multidict, MarkupSafe, kornia-rs, idna, fsspec, frozenlist, filelock, einops, charset-normalizer, certifi, attrs, async-timeout, aiohappyeyeballs, yarl, triton, scipy, requests, nvidia-cusparse-cu12, nvidia-cudnn-cu12, jinja2, cffi, aiosignal, soundfile, nvidia-cusolver-cu12, huggingface-hub, aiohttp, torch, tokenizers, transformers, torchvision, torchsde, torchaudio, kornia, spandrel Successfully installed MarkupSafe-2.1.5 Pillow-10.4.0 aiohappyeyeballs-2.4.0 aiohttp-3.10.5 aiosignal-1.3.1 async-timeout-4.0.3 attrs-24.2.0 certifi-2024.8.30 cffi-1.17.1 charset-normalizer-3.3.2 einops-0.8.0 filelock-3.15.4 frozenlist-1.4.1 fsspec-2024.9.0 huggingface-hub-0.24.6 idna-3.8 jinja2-3.1.4 kornia-0.7.3 kornia-rs-0.1.5 mpmath-1.3.0 multidict-6.0.5 networkx-3.3 numpy-1.26.4 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-9.1.0.70 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.6.68 nvidia-nvtx-cu12-12.1.105 packaging-24.1 psutil-6.0.0 pycparser-2.22 pyyaml-6.0.2 regex-2024.7.24 requests-2.32.3 safetensors-0.4.5 scipy-1.14.1 sentencepiece-0.2.0 soundfile-0.12.1 spandrel-0.3.4 sympy-1.13.2 tokenizers-0.19.1 torch-2.4.1 torchaudio-2.4.1 torchsde-0.2.6 torchvision-0.19.1 tqdm-4.66.5 trampoline-0.1.2 transformers-4.44.2 triton-3.0.0 typing-extensions-4.12.2 urllib3-2.2.2 yarl-1.9.11 Installed ComfyUI at [/mnt/HDD/Data/Packages/ComfyUI]

NinthJake avatar Sep 06 '24 23:09 NinthJake

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

github-actions[bot] avatar Oct 07 '24 02:10 github-actions[bot]

This issue was closed because it has been stale for 5 days with no activity.

github-actions[bot] avatar Oct 13 '24 02:10 github-actions[bot]