Torch not compiled with CUDA enabled
After installing animate anyone via comfyui, comfyui fails to stat giving this error message in the command window.
raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled
I managed to install Animate Anyone without that torch error now. Fresh Comfy install. Run update from update.bat (only Comfy), make sure the full path of X:\....\python_embeded\Scripts is added in PATH in environment variables. Run Comfy once and fully close it. Git clone the manager in the custom_nodes. Run Comfy, let it install. When done, fully close it and run again. Install AnimateAnyone-Evolved via manager. Again, when installed, restart Comfy. If it works, now it shouldn't error out
I managed to install Animate Anyone without that torch error now. Fresh Comfy install. Run update from update.bat (only Comfy), make sure the full path of
X:\....\python_embeded\Scriptsis added in PATH in environment variables. Run Comfy once and fully close it. Git clone the manager in the custom_nodes. Run Comfy, let it install. When done, fully close it and run again. Install AnimateAnyone-Evolved via manager. Again, when installed, restart Comfy. If it works, now it shouldn't error outYes this worked, didn't have to fully reinstall comfyui. Just added it to the PATH and then installed AnimateAnyone using the manager. Then restarted and getting no errors
Would you be so kind to tell us what did you do, exactly? What did you add to PATH in environment variables? Thanks.
If you search environment variables in Windows it should return the result for opening the windows settings to add environment variables in the top section (user) create/add a new PATH this can be given a name that you choose but set the directory as required X:....\python_embeded\Scripts
The x represent your drive letter and the dots represent the directory where you have it installed. the last part is shown as it will be the same but the first part not as it will be different for each user. Once done this do as above on a fresh install of comfyui. Hope this helps.
If you search environment variables in Windows it should return the result for opening the windows settings to add environment variables in the top section (user) create/add a new PATH this can be given a name that you choose but set the directory as required X:....\python_embeded\Scripts The x represent your drive letter and the dots represent the directory where you have it installed. the last part is shown as it will be the same but the first part not as it will be different for each user. Once done this do as above on a fresh install of comfyui. Hope this helps.
Thanks, but, sadly, now I have a new error message:
Traceback (most recent call last):
File "C:\code\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1893, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import C:\code\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateAnyone-Evolved module for custom nodes: cannot import name 'PixArtAlphaTextProjection' from 'diffusers.models.embeddings' (C:\code\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\embeddings.py)
I think you need to download the models required follow instructions in this video https://youtu.be/MGvx37ccCOM?si=rEvCba5wV57j8J9g
I think you need to download the models required follow instructions in this video https://youtu.be/MGvx37ccCOM?si=rEvCba5wV57j8J9g
I already have downloaded all the models
I think you need to download the models required follow instructions in this video https://youtu.be/MGvx37ccCOM?si=rEvCba5wV57j8J9g
I already have downloaded all the models
Did you do all these new steps on a fresh comfyui install?
I think you need to download the models required follow instructions in this video https://youtu.be/MGvx37ccCOM?si=rEvCba5wV57j8J9g
I already have downloaded all the models
Did you do all these new steps on a fresh comfyui install?
Yes, I did. Anyway, I solved here: https://github.com/MrForExample/ComfyUI-AnimateAnyone-Evolved/issues/15#issuecomment-1919179577
oh happy you got it solved, ohhhh this might solve my issue in nto beign able to pick a difrent sampler.
If anyone ever experiences the issue of Pytorch not being installed with Cuda (and you will :D it happens with many custom node installs), all you have to do is activate your ComfyUI virtual environment, then run the pip install command that's on the pytorch website for the correct version of pytorch with Cuda that you want.
https://pytorch.org/get-started/locally/
Cheers!
Doing the diffusers update alone (linked by corvo above) seemed to solve it for me -- thanks to everyone here for your efforts.
Is there a solution for all the mac user? As M1-M3 have no CUDA device, torch is compiled without CUDA extension. I get the error every time reaching the unet2d node.
Is there a solution for all the mac user? As M1-M3 have no CUDA device, torch is compiled without CUDA extension. I get the error every time reaching the unet2d node.
Hey! Yes. I found this solution that did the trick: #27
I am having same problem but I am using StabilityMatrix I have a conda environment comfyenv. I can't use comfy portable solution. How do I fix my comfyUI and is this really a solution? If the custom node is going to do this every time when it is installed. Does anyone know why this is happening? pytorch is supposed to be uninstalled during the custom node installation process, so why is it not completing the installation to complete custom node installation process. Unless I am wrong, which does happen.