Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compfy Ui Zluda does not start #83

Open
Stinkmorchel1 opened this issue Mar 9, 2025 · 3 comments
Open

Compfy Ui Zluda does not start #83

Stinkmorchel1 opened this issue Mar 9, 2025 · 3 comments

Comments

@Stinkmorchel1
Copy link

Your question

Hello everyone, I get the following error message when I execute the file “CompfyUi.bat”.

Can anyone help me how to fix this problem?

*** Checking and updating to new version if possible
Already up to date.

[START] Security scan
[DONE] Security scan

ComfyUI-Manager: installing dependencies done.

** ComfyUI startup time: 2025-03-09 16:44:27.661
** Platform: Windows
** Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
** Python executable: C:\Test\ComfyUI-Zluda\venv\Scripts\python.exe
** ComfyUI Path: C:\Test\ComfyUI-Zluda
** ComfyUI Base Folder Path: C:\Test\ComfyUI-Zluda
** User directory: C:\Test\ComfyUI-Zluda\user
** ComfyUI-Manager config path: C:\Test\ComfyUI-Zluda\user\default\ComfyUI-Manager\config.ini
** Log path: C:\Test\ComfyUI-Zluda\user\comfyui.log

Prestartup times for custom nodes:
2.7 seconds: C:\Test\ComfyUI-Zluda\custom_nodes\ComfyUI-Manager

Traceback (most recent call last):
File "C:\Test\ComfyUI-Zluda\main.py", line 134, in
import comfy.utils
File "C:\Test\ComfyUI-Zluda\comfy\utils.py", line 20, in
import torch
File "C:\Test\ComfyUI-Zluda\venv\lib\site-packages\torch_init_.py", line 141, in
raise err
OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden. Error loading "C:\Test\ComfyUI-Zluda\venv\lib\site-packages\torch\lib\caffe2_nvrtc.dll" or one of its dependencies.
Drücken Sie eine beliebige Taste . . .

Logs

Other

No response

@patientx
Copy link
Owner

patientx commented Mar 9, 2025

search the issues for "caffe2_nvrtc.dll" and please read the troubleshooting part on the github readme.

@Stinkmorchel1
Copy link
Author

Thank you for the tip. I have followed all the steps. I uninstalled and reinstalled Python using the link provided. I have uninstalled and reinstalled ComfyUi. Unfortunately the error is still there. Is there any other way to fix the error?

@patientx
Copy link
Owner

patientx commented Mar 9, 2025

Thank you for the tip. I have followed all the steps. I uninstalled and reinstalled Python using the link provided. I have uninstalled and reinstalled ComfyUi. Unfortunately the error is still there. Is there any other way to fix the error?

All possible solutions are listed , if not on troubleshooting then on some of the issues opened in the past.

Ensure your AMD GPU drivers are up to date
Ensure you don't have any left over nvidia drivers on your system. (You can use Display Driver Uninstaller to uninstall them)
Ensure that HIP SDK 5.7.1 is installed (and not 6.1.2)
Add these to your Environment Variables (if not already there):
HIP_PATH = C:\Program Files\AMD\ROCm\5.7
HIP_PATH_57 = C:\Program Files\AMD\ROCm\5.7
Add this to your System PATH environment variable:
C:\Program Files\AMD\ROCm\5.7\bin
Make sure you're not using Python install from the Windows Store. Download it from here.
Make sure you've installed optimised ROCm library files from ROCmLibs.
Running from command prompt instead of terminal & powershell is another one people said fixed the stuff.
Make sure you aren't installing the comfyui into some long named or non-standard named folder -non english characters in folder name or too long folder for example : c:\users\my user name\desktop\ai-stuff\comfy\comfyui-zluda .... Yes, this looks ridiculous but there are people who install comfy like this. It won't work. Also special characters on folder names , would cause problem sooner or later.

Other then these, everything has been said and done countless times. It is always something user looks over.

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

No branches or pull requests

2 participants