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

ComfyUI update #777

Closed
seung-ltd opened this issue Jul 25, 2024 · 13 comments
Closed

ComfyUI update #777

seung-ltd opened this issue Jul 25, 2024 · 13 comments
Labels
stale Stale issue or inactive for long period of time

Comments

@seung-ltd
Copy link

seung-ltd commented Jul 25, 2024

ComfyUI no longer starts after recent update.

OSERROR: [WinError 126] The specified module could not be found. Error loading "...fbgemm.dll" or one of its dependencies.

@shamanicvocalarts
Copy link

same error

@mohnjiles
Copy link
Contributor

Assuming nvidia GPU, try going to the Packages tab -> 3 dots menu for comfy -> Python Packages -> + Button and enter
torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 xformers==0.0.23.post1 --extra-index-url https://download.pytorch.org/whl/cu121 --force-reinstall

This will reinstall torch & should include the missing file as well

@shamanicvocalarts
Copy link

Assuming nvidia GPU, try going to the Packages tab -> 3 dots menu for comfy -> Python Packages -> + Button and enter torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 xformers==0.0.23.post1 --extra-index-url https://download.pytorch.org/whl/cu121 --force-reinstall

This will reinstall torch & should include the missing file as well

this does fix the install but breaks most of my custom nodes, had previously tried reinstalling torch & ran into similar issues, will go through and try to fix the errors preventing them from importing

@seung-ltd
Copy link
Author

Would reverting the comfy ui install to a previous build fix this? Everything was stable before. If so, how do I go about reverting it?

@shamanicvocalarts
Copy link

after reinstalling a few problematic custom nodes it seems the fix posted above fixes the issue.

with regards to @seung-ltd question about reverting the build, I believe there is no way to do this inside of the stability-matrix client, though there may be a way to do so via Pip/git.

I wonder if having a native way to revert / install older builds directly from inside of stability matrix would be a valuable feature request. it could be worth making a feature request for this

@berguven
Copy link

Tried @mohnjiles method, but it causes a numpy-error("Numpy is not available", in KSampler) instead and when the ComfyUI is updated the original error returns.

Have tried uninstalling and reinstalling ComfyUI via StabilityMatrix, but error remains,

@ziilch
Copy link

ziilch commented Jul 27, 2024

I have the same error

@ziilch
Copy link

ziilch commented Jul 29, 2024

Assuming nvidia GPU, try going to the Packages tab -> 3 dots menu for comfy -> Python Packages -> + Button and enter torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 xformers==0.0.23.post1 --extra-index-url https://download.pytorch.org/whl/cu121 --force-reinstall

This will reinstall torch & should include the missing file as well

This fixed the issue for me thanks

@ziilch
Copy link

ziilch commented Aug 5, 2024

Tried @mohnjiles method, but it causes a numpy-error("Numpy is not available", in KSampler) instead and when the ComfyUI is updated the original error returns.

Have tried uninstalling and reinstalling ComfyUI via StabilityMatrix, but error remains,

I'm getting this too, I'm trying to use the AutoCinemagraph ComfyUI workflow and I'm getting these same errors

@ziilch
Copy link

ziilch commented Aug 5, 2024

Assuming nvidia GPU, try going to the Packages tab -> 3 dots menu for comfy -> Python Packages -> + Button and enter torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 xformers==0.0.23.post1 --extra-index-url https://download.pytorch.org/whl/cu121 --force-reinstall

This will reinstall torch & should include the missing file as well

Is there a way to have a later version of pytorch to be installed this way that is newer than 2.1.2?

Copy link

github-actions bot commented Sep 5, 2024

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 github-actions bot added the stale Stale issue or inactive for long period of time label Sep 5, 2024
Copy link

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
mohnjiles pushed a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Sep 18, 2024
Fix event observable predicates missing initial values
@ctrp1
Copy link

ctrp1 commented Dec 24, 2024

for me it was resolved that I installed the Visual C++ Redistributable Runtimes All-in-One

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

6 participants