@echo off | |
setlocal | |
echo cd /d %~dp0 | |
set target_dir=%~dp0 | |
set custom_n=%target_dir%ComfyUI\custom_nodes | |
set PATH=%PATH%;%target_dir%git\git\bin;%target_dir%git\git\libexec\; | |
cd %custom_n% && %target_dir%git\git\bin\git pull | |
%target_dir%python\python.exe -s -m pip install --upgrade torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 -r ../ComfyUI/requirements.txt pygit2 |