From b8da57eb8807167b96c5c84924d3b89ded7542e6 Mon Sep 17 00:00:00 2001 From: davidmezzetti <561939+davidmezzetti@users.noreply.github.com> Date: Fri, 21 Nov 2025 17:02:55 -0500 Subject: [PATCH] Bump torch version --- docker/base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile index 34b14b0d..3243ac2d 100644 --- a/docker/base/Dockerfile +++ b/docker/base/Dockerfile @@ -27,7 +27,7 @@ RUN \ # Install txtai project and dependencies ln -s /usr/bin/python${PYTHON_VERSION} /usr/bin/python && \ python -m pip install --no-cache-dir -U pip wheel setuptools && \ - if [ -z ${GPU} ] && { [ -z ${TARGETARCH} ] || [ ${TARGETARCH} = "amd64" ] ;}; then pip install --no-cache-dir torch==2.9.0+cpu torchvision==0.24.0+cpu -f https://download.pytorch.org/whl/torch -f https://download.pytorch.org/whl/torchvision; fi && \ + if [ -z ${GPU} ] && { [ -z ${TARGETARCH} ] || [ ${TARGETARCH} = "amd64" ] ;}; then pip install --no-cache-dir torch==2.9.1+cpu torchvision==0.24.1+cpu -f https://download.pytorch.org/whl/torch -f https://download.pytorch.org/whl/torchvision; fi && \ python -m pip install --no-cache-dir txtai${COMPONENTS} && \ python -c "import sys, importlib.util as util; 1 if util.find_spec('nltk') else sys.exit(); import nltk; nltk.download(['punkt', 'punkt_tab', 'averaged_perceptron_tagger_eng'])" && \ \