Skip to content

Commit 052e8f1

Browse files
authored
Add pytorch wheels to dockerfile (#4291)
This adds pytorch wheels to the docker to make it easier to use pytorch in our dev environments.
1 parent 4110a03 commit 052e8f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
6262
apt-get clean && \
6363
rm -rf /var/lib/apt/lists/*
6464

65+
# Install pytorch
66+
RUN pip3 install https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.2/torch-2.6.0%2Brocm6.4.2.git76481f7c-cp310-cp310-linux_x86_64.whl \
67+
https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.2/torchvision-0.21.0%2Brocm6.4.2.git4040d51f-cp310-cp310-linux_x86_64.whl \
68+
https://repo.radeon.com/rocm/manylinux/rocm-rel-6.4.2/pytorch_triton_rocm-3.2.0%2Brocm6.4.2.git7e948ebf-cp310-cp310-linux_x86_64.whl
6569

6670
# add this for roctracer dependancies
6771
RUN pip3 install CppHeaderParser

0 commit comments

Comments
 (0)