Skip to content

Commit 70b9521

Browse files
committed
Revert changes to pyproject toml to use pytorch nightly
1 parent 92505e3 commit 70b9521

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

pyproject.toml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ gpu = [
4747
"torch==2.6.0+cu124",
4848
]
4949
rocm = [
50-
"torch @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/torch-2.6.0%2Brocm6.4.1.git1ded221d-cp310-cp310-linux_x86_64.whl",
51-
"pytorch-triton-rocm @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/pytorch_triton_rocm-3.2.0%2Brocm6.4.1.git6da9e660-cp310-cp310-linux_x86_64.whl",
52-
"torchvision @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/torchvision-0.21.0%2Brocm6.4.1.git4040d51f-cp310-cp310-linux_x86_64.whl",
53-
"torchaudio @ https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.1/torchaudio-2.6.0%2Brocm6.4.1.gitd8831425-cp310-cp310-linux_x86_64.whl",
50+
"torch==2.8.0.dev20250627+rocm6.4",
51+
"pytorch-triton-rocm>=3.2.0",
5452
]
5553
cpu = [
5654
"torch==2.6.0",
@@ -73,10 +71,15 @@ conflicts = [
7371
],
7472
]
7573

74+
7675
[tool.uv.sources]
7776
torch = [
7877
{ index = "pytorch-cpu", extra = "cpu" },
7978
{ index = "pytorch-cuda", extra = "gpu" },
79+
{ index = "pytorch-rocm", extra = "rocm" },
80+
]
81+
pytorch-triton-rocm = [
82+
{ index = "pytorch-rocm", extra = "rocm" },
8083
]
8184

8285
[[tool.uv.index]]
@@ -89,6 +92,11 @@ name = "pytorch-cuda"
8992
url = "https://download.pytorch.org/whl/cu124"
9093
explicit = true
9194

95+
[[tool.uv.index]]
96+
name = "pytorch-rocm"
97+
url = "https://download.pytorch.org/whl/nightly/rocm6.4"
98+
explicit = true
99+
92100
[build-system]
93101
requires = ["setuptools>=61.0"]
94102
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)