build(deps): fix torch version.
This commit is contained in:
parent
7aa0b10f93
commit
357c887c93
@ -25,7 +25,7 @@ RUN python3 -m venv /opt/py3 && \
|
|||||||
pip install poetry==1.8.5 --break-system-packages && \
|
pip install poetry==1.8.5 --break-system-packages && \
|
||||||
poetry config virtualenvs.create false && \
|
poetry config virtualenvs.create false && \
|
||||||
. /opt/py3/bin/activate && \
|
. /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 && \
|
poetry install && \
|
||||||
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages
|
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@ langchain-mcp-adapters = "0.1.7"
|
|||||||
langchain-huggingface = "0.3.0"
|
langchain-huggingface = "0.3.0"
|
||||||
langchain-ollama = "0.3.3"
|
langchain-ollama = "0.3.3"
|
||||||
langgraph = "0.4.8"
|
langgraph = "0.4.8"
|
||||||
|
torch = "2.7.1"
|
||||||
qianfan = "0.4.12.3"
|
qianfan = "0.4.12.3"
|
||||||
zhipuai = "2.1.5.20250526"
|
zhipuai = "2.1.5.20250526"
|
||||||
boto3 = "1.38.35"
|
boto3 = "1.38.35"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user