diff --git a/installer/Dockerfile b/installer/Dockerfile index 8aa82bb07..bee2d9283 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -25,7 +25,7 @@ RUN python3 -m venv /opt/py3 && \ pip install poetry==1.8.5 --break-system-packages && \ poetry config virtualenvs.create false && \ . /opt/py3/bin/activate && \ - if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "^2.6.0+cpu", source = "pytorch"}/g' pyproject.toml; fi && \ + if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "2.7.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \ poetry install && \ export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages diff --git a/pyproject.toml b/pyproject.toml index 86e8b1da4..6adae0d23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ langchain-mcp-adapters = "0.1.7" langchain-huggingface = "0.3.0" langchain-ollama = "0.3.3" langgraph = "0.4.8" +torch = "2.7.1" qianfan = "0.4.12.3" zhipuai = "2.1.5.20250526" boto3 = "1.38.35"