diff options
author | Baptiste Rajaut <pokexpert30@gmail.com> | 2023-05-17 09:01:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 09:01:33 +0000 |
commit | b3397c2492db375b89faece3a8d5aa3a230f62c0 (patch) | |
tree | ee6929ece8ea1348ab93eecf5c60e9f3a740fd51 | |
parent | 89f9faa63388756314e8a1d96cf86bf5e0663045 (diff) | |
download | stable-diffusion-webui-gfx803-b3397c2492db375b89faece3a8d5aa3a230f62c0.tar.gz stable-diffusion-webui-gfx803-b3397c2492db375b89faece3a8d5aa3a230f62c0.tar.bz2 stable-diffusion-webui-gfx803-b3397c2492db375b89faece3a8d5aa3a230f62c0.zip |
Bump pytorch for AMD Users
So apparently it works now? Before you would get "Pytorch cant use the GPU" but not anymore.
-rwxr-xr-x | webui.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -118,8 +118,8 @@ case "$gpu_info" in esac if echo "$gpu_info" | grep -q "AMD" && [[ -z "${TORCH_COMMAND}" ]] then - # AMD 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" + # Apparently now this works + export TORCH_COMMAND="pip install torch-2.0.1+rocm5.4.2 torchvision-0.15.2+rocm5.4.2 --index-url https://download.pytorch.org/whl/rocm5.4.2" fi for preq in "${GIT}" "${python_cmd}" |