mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-19 21:00:14 +08:00
Better workaround for Navi1 - fix if
This commit is contained in:
parent
74e2e5279c
commit
9fbfb8ad32
4
webui.sh
4
webui.sh
@ -134,10 +134,10 @@ case "$gpu_info" in
|
||||
if [[ $pyv == "3.8" ]]
|
||||
then
|
||||
export TORCH_COMMAND="pip install https://download.pytorch.org/whl/nightly/rocm5.2/torch-2.0.0.dev20230209%2Brocm5.2-cp38-cp38-linux_x86_64.whl https://download.pytorch.org/whl/nightly/rocm5.2/torchvision-0.15.0.dev20230209%2Brocm5.2-cp38-cp38-linux_x86_64.whl"
|
||||
if [[ $pyv == "3.9" ]]
|
||||
elif [[ $pyv == "3.9" ]]
|
||||
then
|
||||
export TORCH_COMMAND="pip install https://download.pytorch.org/whl/nightly/rocm5.2/torch-2.0.0.dev20230209%2Brocm5.2-cp39-cp39-linux_x86_64.whl https://download.pytorch.org/whl/nightly/rocm5.2/torchvision-0.15.0.dev20230209%2Brocm5.2-cp39-cp39-linux_x86_64.whl"
|
||||
if [[ $pyv == "3.10" ]]
|
||||
elif [[ $pyv == "3.10" ]]
|
||||
then
|
||||
export TORCH_COMMAND="pip install https://download.pytorch.org/whl/nightly/rocm5.2/torch-2.0.0.dev20230209%2Brocm5.2-cp310-cp310-linux_x86_64.whl https://download.pytorch.org/whl/nightly/rocm5.2/torchvision-0.15.0.dev20230209%2Brocm5.2-cp310-cp310-linux_x86_64.whl"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user