From b134f6857ea40f92b6b8b74dfbc9ca96a2fcd0a5 Mon Sep 17 00:00:00 2001 From: Abolfazl Shahbazi Date: Tue, 19 Dec 2023 20:51:35 -0800 Subject: [PATCH] Remove deprecated CPU dockerfiles (#28149) Signed-off-by: Abolfazl Shahbazi --- docker/transformers-cpu/Dockerfile | 26 ------------------- docker/transformers-pytorch-cpu/Dockerfile | 25 ------------------ docker/transformers-tensorflow-cpu/Dockerfile | 25 ------------------ 3 files changed, 76 deletions(-) delete mode 100644 docker/transformers-cpu/Dockerfile delete mode 100644 docker/transformers-pytorch-cpu/Dockerfile delete mode 100644 docker/transformers-tensorflow-cpu/Dockerfile diff --git a/docker/transformers-cpu/Dockerfile b/docker/transformers-cpu/Dockerfile deleted file mode 100644 index c3590e4239e470..00000000000000 --- a/docker/transformers-cpu/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM ubuntu:18.04 -LABEL maintainer="Hugging Face" -LABEL repository="transformers" - -RUN apt update && \ - apt install -y bash \ - build-essential \ - git \ - curl \ - ca-certificates \ - python3 \ - python3-pip && \ - rm -rf /var/lib/apt/lists - -RUN python3 -m pip install --no-cache-dir --upgrade pip && \ - python3 -m pip install --no-cache-dir \ - jupyter \ - tensorflow-cpu \ - torch - -WORKDIR /workspace -COPY . transformers/ -RUN cd transformers/ && \ - python3 -m pip install --no-cache-dir . - -CMD ["/bin/bash"] diff --git a/docker/transformers-pytorch-cpu/Dockerfile b/docker/transformers-pytorch-cpu/Dockerfile deleted file mode 100644 index d1759d650b84fd..00000000000000 --- a/docker/transformers-pytorch-cpu/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM ubuntu:18.04 -LABEL maintainer="Hugging Face" -LABEL repository="transformers" - -RUN apt update && \ - apt install -y bash \ - build-essential \ - git \ - curl \ - ca-certificates \ - python3 \ - python3-pip && \ - rm -rf /var/lib/apt/lists - -RUN python3 -m pip install --no-cache-dir --upgrade pip && \ - python3 -m pip install --no-cache-dir \ - jupyter \ - torch - -WORKDIR /workspace -COPY . transformers/ -RUN cd transformers/ && \ - python3 -m pip install --no-cache-dir . - -CMD ["/bin/bash"] \ No newline at end of file diff --git a/docker/transformers-tensorflow-cpu/Dockerfile b/docker/transformers-tensorflow-cpu/Dockerfile deleted file mode 100644 index ef3dc3d212cbbc..00000000000000 --- a/docker/transformers-tensorflow-cpu/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM ubuntu:18.04 -LABEL maintainer="Hugging Face" -LABEL repository="transformers" - -RUN apt update && \ - apt install -y bash \ - build-essential \ - git \ - curl \ - ca-certificates \ - python3 \ - python3-pip && \ - rm -rf /var/lib/apt/lists - -RUN python3 -m pip install --no-cache-dir --upgrade pip && \ - python3 -m pip install --no-cache-dir \ - mkl \ - tensorflow-cpu - -WORKDIR /workspace -COPY . transformers/ -RUN cd transformers/ && \ - python3 -m pip install --no-cache-dir . - -CMD ["/bin/bash"]