Skip to content

Commit 9895819

Browse files
authored
Update CI Docker base image for AMD tests (#38261)
use newer Pytorch base image for AMD CI tests
1 parent dfbee79 commit 9895819

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docker/transformers-pytorch-amd-gpu/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rocm/dev-ubuntu-22.04:6.2.4
1+
FROM rocm/pytorch:rocm6.4_ubuntu22.04_py3.10_pytorch_release_2.6.0
22
LABEL maintainer="Hugging Face"
33

44
ARG DEBIAN_FRONTEND=noninteractive
@@ -11,9 +11,6 @@ RUN apt update && \
1111
RUN git lfs install
1212

1313
RUN python3 -m pip install --no-cache-dir --upgrade pip numpy
14-
15-
RUN python3 -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm6.2.4
16-
1714
RUN python3 -m pip install --no-cache-dir --upgrade importlib-metadata setuptools ninja git+https://github.com/facebookresearch/detectron2.git pytesseract "itsdangerous<2.1.0"
1815

1916
ARG REF=main

0 commit comments

Comments
 (0)