diff --git a/docker/consistency.dockerfile b/docker/consistency.dockerfile index eeb5e79a3f18c2..c9200799ae1ae4 100644 --- a/docker/consistency.dockerfile +++ b/docker/consistency.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 USER root ARG REF=main RUN apt-get update && apt-get install -y time git pkg-config make git-lfs -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools GitPython RUN uv pip install --no-cache-dir --upgrade 'torch' --index-url https://download.pytorch.org/whl/cpu diff --git a/docker/custom-tokenizers.dockerfile b/docker/custom-tokenizers.dockerfile index 9fcb1003a4951e..5d95e689654ad6 100644 --- a/docker/custom-tokenizers.dockerfile +++ b/docker/custom-tokenizers.dockerfile @@ -2,7 +2,6 @@ FROM python:3.10-slim ENV PYTHONDONTWRITEBYTECODE=1 USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git cmake wget xz-utils build-essential g++5 libprotobuf-dev protobuf-compiler -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools diff --git a/docker/examples-tf.dockerfile b/docker/examples-tf.dockerfile index 7cd5d58bd9c43d..9281630d3af2c9 100644 --- a/docker/examples-tf.dockerfile +++ b/docker/examples-tf.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git RUN apt-get install -y g++ cmake -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv RUN uv pip install --no-cache-dir -U pip setuptools albumentations seqeval diff --git a/docker/examples-torch.dockerfile b/docker/examples-torch.dockerfile index 0ad04891b03ae9..da9afcb801da11 100644 --- a/docker/examples-torch.dockerfile +++ b/docker/examples-torch.dockerfile @@ -2,7 +2,6 @@ FROM python:3.10-slim ENV PYTHONDONTWRITEBYTECODE=1 USER root RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu diff --git a/docker/exotic-models.dockerfile b/docker/exotic-models.dockerfile index 6980df6cf8f286..2371ffb91c97ce 100644 --- a/docker/exotic-models.dockerfile +++ b/docker/exotic-models.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 ARG REF=main USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git libgl1-mesa-glx libgl1 g++ tesseract-ocr -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu diff --git a/docker/jax-light.dockerfile b/docker/jax-light.dockerfile index 64a5331e0d79a0..315b526a7144d3 100644 --- a/docker/jax-light.dockerfile +++ b/docker/jax-light.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 ARG REF=main USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git g++ cmake -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python 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" "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[flax,testing,sentencepiece,flax-speech,vision]" diff --git a/docker/pipeline-tf.dockerfile b/docker/pipeline-tf.dockerfile index b1adbd6da0ae4b..393738ff87ff17 100644 --- a/docker/pipeline-tf.dockerfile +++ b/docker/pipeline-tf.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 ARG REF=main USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git cmake g++ -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN pip install --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[sklearn,tf-cpu,testing,sentencepiece,tf-speech,vision]" diff --git a/docker/pipeline-torch.dockerfile b/docker/pipeline-torch.dockerfile index 545baca4ab8416..992891a54a417c 100644 --- a/docker/pipeline-torch.dockerfile +++ b/docker/pipeline-torch.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 ARG REF=main USER root RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git pkg-config openssh-client git -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu diff --git a/docker/quality.dockerfile b/docker/quality.dockerfile index 83bd78bc4bda54..7a4145517a7666 100644 --- a/docker/quality.dockerfile +++ b/docker/quality.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 ARG REF=main USER root RUN apt-get update && apt-get install -y time git -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip install uv && uv venv RUN uv pip install --no-cache-dir -U pip setuptools GitPython "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[ruff]" urllib3 diff --git a/docker/tf-light.dockerfile b/docker/tf-light.dockerfile index ec405316cd20f1..7168ddae1227cf 100644 --- a/docker/tf-light.dockerfile +++ b/docker/tf-light.dockerfile @@ -4,7 +4,6 @@ ARG REF=main USER root RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ pkg-config openssh-client git RUN apt-get install -y cmake -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN pip install --upgrade --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[tf-cpu,sklearn,testing,sentencepiece,tf-speech,vision]" diff --git a/docker/torch-jax-light.dockerfile b/docker/torch-jax-light.dockerfile index 15ec575e1880e2..7cfa141732fefd 100644 --- a/docker/torch-jax-light.dockerfile +++ b/docker/torch-jax-light.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 ARG REF=main USER root RUN apt-get update && apt-get install -y libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python 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 diff --git a/docker/torch-light.dockerfile b/docker/torch-light.dockerfile index 7c4f2f40e61bd1..524a68fd55407f 100644 --- a/docker/torch-light.dockerfile +++ b/docker/torch-light.dockerfile @@ -3,7 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 ARG REF=main USER root RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git git-lfs -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN pip install --no-cache-dir 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu diff --git a/docker/torch-tf-light.dockerfile b/docker/torch-tf-light.dockerfile index c4ef111c66d6eb..ac35b6be81f872 100644 --- a/docker/torch-tf-light.dockerfile +++ b/docker/torch-tf-light.dockerfile @@ -4,7 +4,6 @@ ARG REF=main RUN echo ${REF} USER root RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git git-lfs -ENV VIRTUAL_ENV=/usr/local ENV UV_PYTHON=/usr/local/bin/python RUN pip --no-cache-dir install uv && uv venv && uv pip install --no-cache-dir -U pip setuptools RUN uv pip install --no-cache-dir --no-deps accelerate --extra-index-url https://download.pytorch.org/whl/cpu