removed TORCH_COMMAND section from webui.sh and

added correct torchvision version to default torch install command
This commit is contained in:
benbot
2022-09-21 08:03:15 -04:00
committed by AUTOMATIC1111
parent 06186582ad
commit d6e8d85e30
2 changed files with 4 additions and 9 deletions

6
webui.sh Normal file → Executable file
View File

@@ -41,12 +41,6 @@ then
venv_dir="venv"
fi
# install command for torch
if [[ -z "${TORCH_COMMAND}" ]]
then
export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
fi
# Do not reinstall existing pip packages on Debian/Ubuntu
export PIP_IGNORE_INSTALLED=0