Lock in known working version of the AI modules, suspecting a problem

in sentence-transformers with Python 3.12?
This commit is contained in:
Cyber MacGeddon 2025-01-27 21:55:27 +00:00
parent e5a3070e7d
commit abb6321d2d

View file

@ -11,12 +11,19 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1
RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \ RUN dnf install -y python3 python3-pip python3-wheel python3-aiohttp \
python3-rdflib python3-rdflib
RUN pip3 install torch --index-url https://download.pytorch.org/whl/cpu RUN pip3 install torch==2.5.1+cpu \
--index-url https://download.pytorch.org/whl/cpu
RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama google-generativeai \ RUN pip3 install \
langchain langchain-core langchain-huggingface langchain-text-splitters \ anthropic boto3 cohere openai google-cloud-aiplatform \
langchain-community pymilvus sentence-transformers transformers \ ollama google-generativeai \
huggingface-hub pulsar-client cassandra-driver pyyaml \ langchain==0.3.13 langchain-core==0.3.28 langchain-huggingface==0.1.2 \
langchain-text-splitters==0.3.4 \
langchain-community==0.3.13 \
sentence-transformers==3.4.0 transformers==4.47.1 \
huggingface-hub==0.27.0 \
pymilvus \
pulsar-client==3.5.0 cassandra-driver pyyaml \
neo4j tiktoken falkordb && \ neo4j tiktoken falkordb && \
pip3 cache purge pip3 cache purge