Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Add some explanations to update script.

comfyanonymousb0c96a0422ea
diff --git a/.ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat b/.ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat
index 1e45075f3..c33adc0a7 100755
--- a/.ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat
+++ b/.ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat
@@ -1,4 +1,11 @@
+@echo off
..\python_embeded\python.exe .\update.py ..\ComfyUI\
+echo
+echo This will try to update pytorch and all python dependencies, if you get an error wait for pytorch/xformers to fix their stuff
+echo You should not be running this anyways unless you really have to
+echo
+echo If you just want to update normally, close this and run update_comfyui.bat instead.
+echo
+pause
..\python_embeded\python.exe -s -m pip install --upgrade torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118 xformers -r ../ComfyUI/requirements.txt pygit2
-echo NOTE If you get an error with pip you can ignore it, it's pip being pip as usual, your ComfyUI should have updated anyways.
pause