diff --git a/docker/tf-light.dockerfile b/docker/tf-light.dockerfile index 405dcd23178edd..23dcd40db2094b 100644 --- a/docker/tf-light.dockerfile +++ b/docker/tf-light.dockerfile @@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-de RUN apt-get install -y 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 --upgrade --no-cache-dir librosa "transformers[tf-cpu,sklearn,testing,sentencepiece,vision]" +RUN pip install --upgrade --no-cache-dir "transformers[tf-cpu,sklearn,testing,sentencepiece,tf-speech,vision]" RUN uv pip install --no-cache-dir "protobuf==3.20.3" 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-light.dockerfile b/docker/torch-light.dockerfile index 9748137ee4dc06..c077aac839cf30 100644 --- a/docker/torch-light.dockerfile +++ b/docker/torch-light.dockerfile @@ -6,5 +6,5 @@ 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 'torch' 'torchvision' 'torchaudio' --index-url https://download.pytorch.org/whl/cpu RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu -RUN uv pip install --no-cache-dir "transformers[sklearn,sentencepiece,vision,testing,torch-speech]" +RUN uv pip install --no-cache-dir librosa "transformers[sklearn,sentencepiece,vision,testing" RUN pip uninstall -y transformers \ No newline at end of file