Forge & Comfyui Problems
Hello, nice to meet you.I recently started generating AI images, but I’m having trouble with some issues. I’d appreciate some help from someone knowledgeable and kind.1. I can’t install ComfyUi custom nodes. Even when I use comfyui manager, I can’t install the missing custom nodes.2. I can’t use Web Ui Forge. I can generate images right after installing Forge, but it starts to malfunction as I use it, and eventually I can’t generate images anymore. I’ve reinstalled it many times, but nothing has changed.Is there anyone who can help me?
2025-01-26T11:42:46Z
I think thatPyTorchis the one that is commonly used by both and tends to break easily. In particular, it seems that some of the custom nodes in ComfyUI may change the version of PyTorch when installed. Reinstall PyTorch as needed. I think that you can avoid problems with Forge by using the all-in-one package. This is because the Forge version of PyTorch is included in the Forge folder.Also, if you are not using a CUDA environment, there have been reports of thexformerssoftware malfunctioning. In any case, if you read the error message and search the internet using the last part of the error message as it is, you will often find a solution. If you know the error, it will give you a clue to the solution.github.com/comfyanonymous/ComfyUIhow can i upgrade pytorch?opened02:55PM - 30 Sep 24 UTCclosed12:29AM - 01 Oct 24 UTCLecho303User Support### Your question

i not a programmer,and i found that my pytorch is 2.3.1,i d…o not know how to upgrade the pytorch?
this is my comfyui/python/cuda/pytorch 's version:
** Platform: Windows
** Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
** Python executable: D:\comfyUI\ComfyUI_windows_portable_nvidia.7z\python_embeded\python.exe
ComfyUI v0.2.2 Release

i was download the "comfyUI\ComfyUI_windows_portable_nvidia.7z"zip.have trying to double click thecomfyUI\ComfyUI_windows_portable_nvidia.7z\update- "update"、"update_comfyui_and_python_dependencies"\"update_comfyui_stable",seems not update the pytorch…
and i have try to upgrade the pytorch in miniconda,it show me the version is 2.4.1,but reload the comfyui,still got the version 2.3.1…


### Logs

_No response_

### Other

_No response_github.comGitHub - lllyasviel/stable-diffusion-webui-forgeContribute to lllyasviel/stable-diffusion-webui-forge development by creating an account on GitHub.
2025-01-27T07:16:30Z
I tried to reinstall PyTorch as you told me to, but in order to install PyTorch, I have to install CUDA, and before installing CUDA I have to install something called cuDNN, which means there are too many steps.Is this really necessary?
2025-01-27T09:48:26Z
In the case of the portable version of ComfyUI or the all-in-one version of Forge, the CUDA environment in the folder is actually used, so it is already installed, and in that case, installation is not required.However, if you want to install and use it normally, rather than in a virtual environment, you will need both CUDA and cuDNN. Also, it seems that some of the custom nodes assume the existence of a CUDA toolkit outside of the virtual environment, so in your case, you may need it for the custom node.Installing CUDA and PyTorch is very difficult even for people who are used to doing it, sobe sure to find and refer to an appropriate know-how page first. It’s something you only have to do once, but it’s really very troublesome…I think you’ll have to search to find out which version of CUDA is best, which version of Python or PyTorch is best for avoiding errors in Windows, etc., and I think you’ll definitely not understand…even if you do. Let’s just think that it’s OK as long as it works in the end.