Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta

This commit is contained in:
cmdr2 2023-10-03 19:35:36 +05:30
commit 8a98df4673

View File

@ -56,14 +56,14 @@ def install(module_name: str, module_version: str):
if "Navi 3" in amd_gpus: if "Navi 3" in amd_gpus:
# No AMD 7x00 support in rocm 5.2, needs nightly 5.5. build # No AMD 7x00 support in rocm 5.2, needs nightly 5.5. build
module_version = "2.1.0.dev-20230614+rocm5.5" module_version = "2.1.0.dev-20230614+rocm5.5"
index_url = "https: //download.pytorch.org/whl/nightly/rocm5.5" index_url = "https://download.pytorch.org/whl/nightly/rocm5.5"
else: else:
module_version = "1.13.1+rocm5.2" module_version = "1.13.1+rocm5.2"
elif module_name == "torchvision": elif module_name == "torchvision":
if "Navi 3" in amd_gpus: if "Navi 3" in amd_gpus:
# No AMD 7x00 support in rocm 5.2, needs nightly 5.5. build # No AMD 7x00 support in rocm 5.2, needs nightly 5.5. build
module_version = "0.16.0.dev-20230614+rocm5.5" module_version = "0.16.0.dev-20230614+rocm5.5"
index_url = "https: //download.pytorch.org/whl/nightly/rocm5.5" index_url = "https://download.pytorch.org/whl/nightly/rocm5.5"
else: else:
module_version = "0.14.1+rocm5.2" module_version = "0.14.1+rocm5.2"
elif os_name == "Darwin": elif os_name == "Darwin":