diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-21 04:11:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 04:11:17 +0000 |
commit | d3632368e636f76523f0f2ed689e8fb3dca5af56 (patch) | |
tree | b2efe7b23fc5857f4f76706eaf7546cfa4ab4176 | |
parent | 5a3fe7a8d1c554982fb3226bda3ee6c4b10bb56c (diff) | |
parent | db6c7ff08429c47257970e581f7b2fcfd34ff8e4 (diff) | |
download | stable-diffusion-webui-gfx803-d3632368e636f76523f0f2ed689e8fb3dca5af56.tar.gz stable-diffusion-webui-gfx803-d3632368e636f76523f0f2ed689e8fb3dca5af56.tar.bz2 stable-diffusion-webui-gfx803-d3632368e636f76523f0f2ed689e8fb3dca5af56.zip |
Merge pull request #12704 from fraz0815/master
Update torch for Navi 31 (7900 XT/XTX)
-rwxr-xr-x | webui.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -141,8 +141,9 @@ 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==2.1.0.dev-20230614+rocm5.5 torchvision==0.16.0.dev-20230614+rocm5.5 --index-url https://download.pytorch.org/whl/nightly/rocm5.5" - # Navi 3 needs at least 5.5 which is only on the nightly chain + 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 ;; *"Renoir"*) export HSA_OVERRIDE_GFX_VERSION=9.0.0 printf "\n%s\n" "${delimiter}" |