Browse Source

Add some explanations to update script.

pull/122/head
comfyanonymous 2 years ago
parent
commit
b0c96a0422
  1. 9
      .ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat

9
.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

Loading…
Cancel
Save