Merge pull request #1621 from easydiffusion/main

Main
This commit is contained in:
cmdr2 2023-10-03 12:45:36 +05:30 committed by GitHub
commit e419276e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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":