From ca253a00b08b00b5cd1cb4ffc9f5a9d4c30b1b84 Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Thu, 2 May 2024 13:37:54 +0200 Subject: [PATCH] [push-ci-image] --- docker/jax-light.dockerfile | 2 +- docker/torch-jax-light.dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/jax-light.dockerfile b/docker/jax-light.dockerfile index 83d817056525cb..838333062839e8 100644 --- a/docker/jax-light.dockerfile +++ b/docker/jax-light.dockerfile @@ -4,6 +4,6 @@ USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git g++ cmake ENV VIRTUAL_ENV=/usr/local RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools -RUN pip install --no-cache-dir scipy<1.13 "transformers[flax,testing,sentencepiece,flax-speech,vision]" +RUN pip install --no-cache-dir "scipy<1.13" "transformers[flax,testing,sentencepiece,flax-speech,vision]" RUN pip uninstall -y transformers RUN apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get autoremove && apt-get autoclean \ No newline at end of file diff --git a/docker/torch-jax-light.dockerfile b/docker/torch-jax-light.dockerfile index ab21bce5d21b12..b7d65ce392f4a2 100644 --- a/docker/torch-jax-light.dockerfile +++ b/docker/torch-jax-light.dockerfile @@ -6,7 +6,7 @@ ENV VIRTUAL_ENV=/usr/local RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN uv pip install --no-deps accelerate RUN pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu -RUN pip install --no-cache-dir scipy<1.13 "transformers[flax, audio, sklearn,sentencepiece,vision,testing]" +RUN pip install --no-cache-dir "scipy<1.13" "transformers[flax, audio, sklearn,sentencepiece,vision,testing]" RUN pip uninstall -y transformers RUN apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get autoremove && apt-get autoclean