pytorch-triton-rocm now installs successfully

This commit is contained in:
doctorpangloss 2024-05-22 22:59:04 -07:00
parent a79ccd625f
commit af814c7390

View File

@ -136,7 +136,8 @@ def dependencies(force_nightly: bool = False) -> List[str]:
_dependencies[i] = f"{stripped}=={existing_torch}"
break
return _dependencies
_alternative_indices = [amd_torch_index, nvidia_torch_index]
# some torch packages redirect to https://download.pytorch.org/whl/
_alternative_indices = [amd_torch_index, nvidia_torch_index, ("https://download.pytorch.org/whl/", "https://download.pytorch.org/whl/")]
session = PipSession()
# (stable, nightly) tuple