💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Bump Torch CPU version
davidmezzetti968609b5a72a
diff --git a/docker/base/Dockerfile b/docker/base/Dockerfileindex 9ea5de47..6d0676fe 100644--- a/docker/base/Dockerfile+++ b/docker/base/Dockerfile@@ -27,7 +27,7 @@ RUN \# Install txtai project and dependenciesln -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.1.2+cpu torchvision==0.16.2+cpu -f https://download.pytorch.org/whl/torch_stable.html; fi && \+ if [ -z ${GPU} ] && { [ -z ${TARGETARCH} ] || [ ${TARGETARCH} = "amd64" ] ;}; then pip install --no-cache-dir torch==2.2.0+cpu torchvision==0.17.0+cpu -f https://download.pytorch.org/whl/torch_stable.html; 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')" && \\