patientx / ComfyUI-Zluda

The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface. Now ZLUDA enhanced for better AMD GPU performance.
GNU General Public License v3.0
162 stars 11 forks source link

nvcuda entry point issue after successful install #34

Closed Foundit3923 closed 2 weeks ago

Foundit3923 commented 4 weeks ago

Your question

Issue: image

Computer: OS: Windows 10 CPU: Ryzen 5 3600 GPU: Vega 64 RAM: 32 GB DDR4

Steps to replicate: Install dependencies as per instructions Follow install instructions Encounter Error Run patchzluda Encounter the same Error

I've attached the install log.

Logs

-------------------------------------------------------------
******************* COMFYUI-ZLUDA INSTALL *******************
-------------------------------------------------------------

 ::  15:46:11  ::  - Setting up the virtual enviroment
 ::  15:46:20  ::  - Virtual enviroment activation
 ::  15:46:20  ::  - Updating the pip package

 ::  15:46:26  ::  Beginning installation ...

 ::  15:46:26  ::  - Installing required packages
 ::  15:48:44  ::  - Installing torch for AMD GPUs (First file is 2.7 GB, please be patient)
 ::  15:51:17  ::  - Installing onnxruntime (required by some nodes)
 ::  15:51:26  ::  - (temporary numpy fix)

 ::  15:51:37  ::  Custom node(s) installation ...

 ::  15:51:37  ::  - Installing Comfyui Manager
 ::  15:51:39  ::  - Installing ComfyUI-deepcache
 ::  15:51:40  ::  - Installing ComfyUI-Impact-Pack

 ::  15:51:44  ::  - Patching ZLUDA (Zluda 3.8.4 for HIP SDK 5.7)
 ::  15:51:45  ::  - ZLUDA is patched.

.....................................................
*** Installation is completed in 00:05:33.61 .
*** You can use "comfyui.bat" to start the app later.
.....................................................

Other

No response

patientx commented 4 weeks ago

(First are make sure to use hip 5.7 not the latest one 6.x)

If hip is correct then gpu libraries are wrong (dunno if vega is working ok , never seen anyone try it) But make sure to use hip 5.7 first. Don't forget to uninstall 6.x if that is the case before installing 5.7

Foundit3923 commented 4 weeks ago

I made sure I installed 5.7.1

image

Can you expand on the gpu libraries?

I was previously using this with my vega 64, but had to wipe my drive and reinstall windows. So i know it's possible. just not sure what's wrong.

Foundit3923 commented 4 weeks ago

I have solved that problem by updating my gpu drivers. Completely forgot that I needed to do that with a new install. I'm having a new issue where I'm unable to import the module 'segment_anything'. Do you want a new issue for that?

patientx commented 4 weeks ago

I have solved that problem by updating my gpu drivers. Completely forgot that I needed to do that with a new install. I'm having a new issue where I'm unable to import the module 'segment_anything'. Do you want a new issue for that?

You can install it separately by activating the venv in comfyui directory.

.\venv\Scripts\activate
pip install segment-anything
deactivate

If there are other modules needed for that , try to install them this way as well.