Skip to content

Conversation

@dnswd
Copy link

@dnswd dnswd commented Nov 6, 2024

I use this flake to run ComfyUI with my AMD GPU, requiring the ROCm version of PyTorch (currently 2.5.1+rocm6.1) as outlined in the README. Running ComfyUI with this setup will produce the following error:

(venv)
[halcyon@ikigai:~/ai/ComfyUI]$ HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py
Traceback (most recent call last):
  File "/home/halcyon/ai/ComfyUI/main.py", line 88, in <module>
    import comfy.utils
  File "/home/halcyon/ai/ComfyUI/comfy/utils.py", line 20, in <module>
    import torch
  File "/home/halcyon/ai/ComfyUI/venv/lib/python3.10/site-packages/torch/__init__.py", line 367, in <module>
    from torch._C import *  # noqa: F403
ImportError: libzstd.so.1: cannot open shared object file: No such file or directory

ComfyUI works fine after adding zstd to the NIX_LD_LIBRARY_PATH.

Edit: Image proof

image

dnswd and others added 2 commits November 7, 2024 02:40
Fixes missing libzstd.so.1 when using torch 2.5.1+rocm6.1
@dnswd dnswd changed the title Fixe missing libzstd.so.1 when using torch 2.5.1+rocm6.1 Fix missing libzstd.so.1 when using torch 2.5.1+rocm6.1 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant