Skip to content

Commit c09503d

Browse files
authored
[AMD][CI/Build][Bugfix] use pytorch stale wheel (#12172)
Signed-off-by: hongxyan <[email protected]>
1 parent 2b83503 commit c09503d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile.rocm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
5151
*"rocm-6.2"*) \
5252
python3 -m pip uninstall -y torch torchvision \
5353
&& python3 -m pip install --pre \
54-
torch==2.6.0.dev20241113+rocm6.2 \
54+
torch \
5555
'setuptools-scm>=8' \
56-
torchvision==0.20.0.dev20241113+rocm6.2 \
57-
--extra-index-url https://download.pytorch.org/whl/nightly/rocm6.2;; \
56+
torchvision \
57+
--extra-index-url https://download.pytorch.org/whl/rocm6.2;; \
5858
*) ;; esac
5959

6060
ENV LLVM_SYMBOLIZER_PATH=/opt/rocm/llvm/bin/llvm-symbolizer

docs/source/getting_started/installation/gpu/rocm.inc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Currently, there are no pre-built ROCm wheels.
7070

7171
# Install PyTorch
7272
$ pip uninstall torch -y
73-
$ pip install --no-cache-dir --pre torch==2.6.0.dev20241024 --index-url https://download.pytorch.org/whl/nightly/rocm6.2
73+
$ pip install --no-cache-dir --pre torch --index-url https://download.pytorch.org/whl/rocm6.2
7474

7575
# Build & install AMD SMI
7676
$ pip install /opt/rocm/share/amd_smi

0 commit comments

Comments
 (0)