diff --git a/phases/00-setup-and-tooling/07-docker-for-ai/code/Dockerfile b/phases/00-setup-and-tooling/07-docker-for-ai/code/Dockerfile index 82958af906..cf322de362 100644 --- a/phases/00-setup-and-tooling/07-docker-for-ai/code/Dockerfile +++ b/phases/00-setup-and-tooling/07-docker-for-ai/code/Dockerfile @@ -4,23 +4,23 @@ ENV DEBIAN_FRONTEND=noninteractive ENV PYTHONUNBUFFERED=1 RUN apt-get update && apt-get install -y --no-install-recommends \ - python3.12 \ - python3.12-venv \ - python3.12-dev \ + python3.11 \ + python3.11-venv \ + python3.11-dev \ python3-pip \ git \ curl \ build-essential \ && rm -rf /var/lib/apt/lists/* -RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1 RUN python -m pip install --no-cache-dir --upgrade pip setuptools wheel RUN python -m pip install --no-cache-dir \ - torch==2.3.1 \ - torchvision==0.18.1 \ - torchaudio==2.3.1 \ + torch==2.4.1 \ + torchvision \ + torchaudio \ --index-url https://download.pytorch.org/whl/cu124 RUN python -m pip install --no-cache-dir \ diff --git a/phases/00-setup-and-tooling/07-docker-for-ai/docs/en.md b/phases/00-setup-and-tooling/07-docker-for-ai/docs/en.md index f4e2b28c99..7ad34c9c8c 100644 --- a/phases/00-setup-and-tooling/07-docker-for-ai/docs/en.md +++ b/phases/00-setup-and-tooling/07-docker-for-ai/docs/en.md @@ -157,23 +157,23 @@ ENV DEBIAN_FRONTEND=noninteractive ENV PYTHONUNBUFFERED=1 RUN apt-get update && apt-get install -y --no-install-recommends \ - python3.12 \ - python3.12-venv \ - python3.12-dev \ + python3.11 \ + python3.11-venv \ + python3.11-dev \ python3-pip \ git \ curl \ build-essential \ && rm -rf /var/lib/apt/lists/* -RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1 RUN python -m pip install --no-cache-dir --upgrade pip setuptools wheel RUN python -m pip install --no-cache-dir \ - torch==2.3.1 \ - torchvision==0.18.1 \ - torchaudio==2.3.1 \ + torch==2.4.1 \ + torchvision \ + torchaudio \ --index-url https://download.pytorch.org/whl/cu124 RUN python -m pip install --no-cache-dir \