From 5023619676ded81cd5e182b34d0a8130aeacecc7 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Tue, 7 Jan 2025 10:32:02 +0530 Subject: [PATCH] Upgrade the version of torch used for rocm for Navi 30+, and point to the broader torch URL --- scripts/check_modules.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/check_modules.py b/scripts/check_modules.py index 140b7b4c..57cbe0fa 100644 --- a/scripts/check_modules.py +++ b/scripts/check_modules.py @@ -94,15 +94,15 @@ def install(module_name: str, module_version: str): if module_name == "torch": if "Navi 3" in amd_gpus: # No AMD 7x00 support in rocm 5.2, needs 5.5+ - module_version = "2.1.0+rocm5.5" - index_url = "https://download.pytorch.org/whl/rocm6.2" + module_version = "2.4.1+rocm6.1" + index_url = "https://download.pytorch.org/whl" else: module_version = "1.13.1+rocm5.2" elif module_name == "torchvision": if "Navi 3" in amd_gpus: # No AMD 7x00 support in rocm 5.2, needs 5.5+ - module_version = "0.16.0+rocm5.5" - index_url = "https://download.pytorch.org/whl/rocm6.2" + module_version = "0.20.0+rocm6.1" + index_url = "https://download.pytorch.org/whl" else: module_version = "0.14.1+rocm5.2" elif os_name == "Darwin": @@ -286,7 +286,7 @@ def apply_torch_install_overrides(module_version: str): module_version += "+cu117" index_url = "https://download.pytorch.org/whl/cu117" elif is_amd_on_linux(): - index_url = "https://download.pytorch.org/whl/rocm6.2" + index_url = "https://download.pytorch.org/whl" return module_version, index_url