Skip to content

Commit 5cc9ebf

Browse files
committed
Dockerfile.rocm.ubi: fix torch extra index url
1 parent b357f89 commit 5cc9ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.rocm.ubi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > /etc/yum.repos.d/amdgpu.repo
4545
RUN --mount=type=cache,target=/root/.cache/uv \
4646
export version="$(awk -F. '{print $1"."$2}' <<< $ROCM_VERSION)" && \
4747
uv pip install --pre \
48-
--index-url "https://download.pytorch.org/whl/ \
48+
--index-url "https://download.pytorch.org/whl/rocm${version}" \
4949
torch==2.7.0+rocm${version}\
5050
torchvision==0.22.0+rocm${version} && \
5151
# Install libdrm-amdgpu to avoid errors when retrieving device information (amdgpu.ids: No such file or directory)

0 commit comments

Comments
 (0)