Closed Kvento closed 13 hours ago
No idea how that's possible, possibly something to do with numpy or diffusers versions...
Hmm..
pip list
says that I have these versions installed:
diffusers 0.28.0 numpy 1.22.0
And what should they be?
Check the requirements.txt, diffusers should be 0.30.1 at very least, latest one works fine, and I recommend numpy 1.26.4 (just added that to requirements too just in case)
Unfortunately, it didn't help. Updated everything (pip install -r requirements.txt) using the requirements.txt you added, but I still get a crash in the DownloadAndLoadPyramidFlowModel block.
You're using portable? If so then did you do the pip install with the portable's python.exe ?
Yes, I use ComfyUI portable.
As for pip install
, I just ran CMD, cd to the folder ...\ComfyUI-PyramidFlowWrapper-main and ran pip install -r requirements.txt
Ok, looks like I was able to solve this problem. I ran _update_comfyui_and_pythondependencies.bat (which is in the update folder in the root directory of ComfyUI) and apparently something was additionally installed or reinstalled, because after that everything worked. Thanks!
So, I was having the same error as the other fellow. Unlike them, I DID run pip updates from my embedded python.exe. I checked my diffusers and they were the same as you listed. But, I noticed that numpy was like 2.0.1 or something, the next version. I went ahead and just ran your new requirements.txt and it downgraded numpy, and it seems to be starting up now. Just wanted to let you know. Pretty sure it's having newer numpy that caused that error.
Cheers! Gonna try it now.
So, I was having the same error as the other fellow. Unlike them, I DID run pip updates from my embedded python.exe. I checked my diffusers and they were the same as you listed. But, I noticed that numpy was like 2.0.1 or something, the next version. I went ahead and just ran your new requirements.txt and it downgraded numpy, and it seems to be starting up now. Just wanted to let you know. Pretty sure it's having newer numpy that caused that error.
Cheers! Gonna try it now.
That's good to know, thanks, and yeah the numpy 2.0 update has been causing issues with lots of stuff.
When I try to run any model I get the error:
Below is the report: