From c426bb0ddedca31e931827295eb331a753c1ea6f Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Thu, 2 May 2024 09:43:11 +0200 Subject: [PATCH] uv is fucking me up --- docker/pipeline-tf.dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/pipeline-tf.dockerfile b/docker/pipeline-tf.dockerfile index bd46d17a1a60df..81af0ea9c15b91 100644 --- a/docker/pipeline-tf.dockerfile +++ b/docker/pipeline-tf.dockerfile @@ -3,7 +3,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git cmake g++ ENV VIRTUAL_ENV=/usr/local -RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools "keras<2.16" -RUN uv pip install --no-cache-dir "transformers[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]" +RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools +RUN pip install --no-cache-dir "transformers[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]" RUN uv pip install --no-cache-dir "protobuf==3.20.3" tensorflow_probability RUN apt-get clean && rm -rf /var/lib/apt/lists/* \ No newline at end of file