From 4e17e7dcf8ac7c72268151823e82ff8db8c8fcba Mon Sep 17 00:00:00 2001 From: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Date: Thu, 16 May 2024 17:30:02 +0200 Subject: [PATCH] TST / Quantization: Reverting to torch==2.2.1 (#30866) Reverting to 2.2.1 --- docker/transformers-quantization-latest-gpu/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/transformers-quantization-latest-gpu/Dockerfile b/docker/transformers-quantization-latest-gpu/Dockerfile index 77cccf9358c..0fd441bc05f 100755 --- a/docker/transformers-quantization-latest-gpu/Dockerfile +++ b/docker/transformers-quantization-latest-gpu/Dockerfile @@ -9,9 +9,9 @@ SHELL ["sh", "-lc"] # The following `ARG` are mainly used to specify the versions explicitly & directly in this docker file, and not meant # to be used as arguments for docker build (so far). -ARG PYTORCH='2.3.0' +ARG PYTORCH='2.2.1' # Example: `cu102`, `cu113`, etc. -ARG CUDA='cu121' +ARG CUDA='cu118' RUN apt update RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python python3-pip ffmpeg @@ -60,4 +60,4 @@ RUN python3 -m pip install git+https://github.com/NetEase-FuXi/EETQ.git # When installing in editable mode, `transformers` is not recognized as a package. # this line must be added in order for python to be aware of transformers. -RUN cd transformers && python3 setup.py develop \ No newline at end of file +RUN cd transformers && python3 setup.py develop