aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-12-14 07:10:58 +0000
committerGitHub <noreply@github.com>2023-12-14 07:10:58 +0000
commitaeaf1c510f1e7f246d892dad74122e0117a68a8c (patch)
treec31cf29908f94e7f6792b063df4543d6f83b423c
parent778a30a95e216f9f7ce0126dbbdb1334afc3d796 (diff)
parent097140ac1a3caf6e3c9980a757d4b52e6a76b789 (diff)
downloadstable-diffusion-webui-gfx803-aeaf1c510f1e7f246d892dad74122e0117a68a8c.tar.gz
stable-diffusion-webui-gfx803-aeaf1c510f1e7f246d892dad74122e0117a68a8c.tar.bz2
stable-diffusion-webui-gfx803-aeaf1c510f1e7f246d892dad74122e0117a68a8c.zip
Merge pull request #14293 from HinaHyugaHime/master
Bump torch-rocm to 5.6/5.7
-rwxr-xr-xwebui.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/webui.sh b/webui.sh
index cff43327..69ca2f88 100755
--- a/webui.sh
+++ b/webui.sh
@@ -133,7 +133,7 @@ case "$gpu_info" in
if [[ $(bc <<< "$pyv <= 3.10") -eq 1 ]]
then
# Navi users will still use torch 1.13 because 2.0 does not seem to work.
- export TORCH_COMMAND="pip install torch==1.13.1+rocm5.2 torchvision==0.14.1+rocm5.2 --index-url https://download.pytorch.org/whl/rocm5.2"
+ export TORCH_COMMAND="pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/rocm5.6"
else
printf "\e[1m\e[31mERROR: RX 5000 series GPUs must be using at max python 3.10, aborting...\e[0m"
exit 1
@@ -143,8 +143,7 @@ case "$gpu_info" in
*"Navi 2"*) export HSA_OVERRIDE_GFX_VERSION=10.3.0
;;
*"Navi 3"*) [[ -z "${TORCH_COMMAND}" ]] && \
- export TORCH_COMMAND="pip install torch torchvision --index-url https://download.pytorch.org/whl/test/rocm5.6"
- # Navi 3 needs at least 5.5 which is only on the torch 2.1.0 release candidates right now
+ export TORCH_COMMAND="pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/rocm5.7"
;;
*"Renoir"*) export HSA_OVERRIDE_GFX_VERSION=9.0.0
printf "\n%s\n" "${delimiter}"