From acba01154be1a688320c29830b54660c0fb30d96 Mon Sep 17 00:00:00 2001 From: Mihir Patel Date: Tue, 18 Jun 2024 16:00:20 -0400 Subject: [PATCH] remove pillow simd --- docker/Dockerfile | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e547b44c7b..970af2f1ef 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,13 +25,6 @@ ARG PYTORCH_VERSION=1.13.1 # version that corresponds to the PyTorch version ARG TORCHVISION_VERSION=0.14.1 -# In the Dockerimage, Pillow-SIMD is installed instead of Pillow. To trick pip into thinking that -# Pillow is also installed (so it won't override it with a future pip install), a Pillow stub is included -# PILLOW_PSEUDOVERSION is the Pillow version that pip thinks is installed -# PILLOW_SIMD_VERSION is the actual version of pillow-simd that is installed. -ARG PILLOW_PSEUDOVERSION=9.3.0 -ARG PILLOW_SIMD_VERSION=9.0.0.post1 - # Version of the Mellanox Drivers to install (for InfiniBand support) # Leave blank for no Mellanox Drivers ARG MOFED_VERSION=5.5-1.0.3.2 @@ -181,20 +174,6 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \ RUN curl -fsSL https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION} - && \ pip${PYTHON_VERSION} install --no-cache-dir --upgrade 'pip<23' 'setuptools<70.0.0' -##################### -# Install pillow-simd -##################### -ARG PILLOW_PSEUDOVERSION -ARG PILLOW_SIMD_VERSION - -# pillow_stub tricks pip into thinking that it installed pillow, -# so when pillow_simd is installed, other packages won't later override it -COPY pillow_stub /tmp/pillow_stub - -RUN pip${PYTHON_VERSION} install --no-cache-dir --upgrade /tmp/pillow_stub && \ - pip${PYTHON_VERSION} install --no-cache-dir --upgrade pillow_simd==${PILLOW_SIMD_VERSION} && \ - rm -rf /tmp/pillow_stub - ################# # Install Pytorch #################