Skip to content

Commit 357c887

Browse files
build(deps): fix torch version.
1 parent 7aa0b10 commit 357c887

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

installer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN python3 -m venv /opt/py3 && \
2525
pip install poetry==1.8.5 --break-system-packages && \
2626
poetry config virtualenvs.create false && \
2727
. /opt/py3/bin/activate && \
28-
if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "^2.6.0+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
28+
if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "2.7.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
2929
poetry install && \
3030
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages
3131

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ langchain-mcp-adapters = "0.1.7"
2727
langchain-huggingface = "0.3.0"
2828
langchain-ollama = "0.3.3"
2929
langgraph = "0.4.8"
30+
torch = "2.7.1"
3031
qianfan = "0.4.12.3"
3132
zhipuai = "2.1.5.20250526"
3233
boto3 = "1.38.35"

0 commit comments

Comments
 (0)