aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHina <102651522+HinaHyugaHime@users.noreply.github.com>2023-12-12 19:39:14 -0600
committerGitHub <noreply@github.com>2023-12-12 19:39:14 -0600
commitbda86f0fd9653657c146f7c1128f92771d16ad4e (patch)
tree4849d58e383dc4e6ead5908e029016fda0a4cf8b
parent4afaaf8a020c1df457bcf7250cb1c7f609699fa7 (diff)
Update webui.sh
-rwxr-xr-xwebui.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/webui.sh b/webui.sh
index 3d0f87ee..046ecf9d 100755
--- a/webui.sh
+++ b/webui.sh
@@ -131,7 +131,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
@@ -141,9 +141,8 @@ case "$gpu_info" in
*"Navi 2"*) export HSA_OVERRIDE_GFX_VERSION=10.3.0
;;
*"Navi 3"*) [[ -z "${TORCH_COMMAND}" ]] && \
- export TORCH_COMMAND="pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/rocm5.6"
- # Navi 3 needs at least 5.5 which is only on the nightly chain, previous versions are no longer online (torch==2.1.0.dev-20230614+rocm5.5 torchvision==0.16.0.dev-20230614+rocm5.5 torchaudio==2.1.0.dev-20230614+rocm5.5)
- # so switch to nightly rocm5.6 without explicit versions this time
+ 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}"