mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-25 16:59:26 +00:00
removed TORCH_COMMAND section from webui.sh and
added correct torchvision version to default torch install command
This commit is contained in:
6
webui.sh
Normal file → Executable file
6
webui.sh
Normal file → Executable 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user