From b0c96a0422eab0a452af3b96c408c2858b08f011 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 16 Mar 2023 19:01:59 -0400 Subject: [PATCH] Add some explanations to update script. --- .../update_comfyui_and_python_dependencies.bat | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 1e45075f..c33adc0a 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