mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: update torch dependency to support platform-specific installation
This commit is contained in:
parent
9ea37a4799
commit
e76b0a7d71
|
|
@ -37,7 +37,10 @@ langchain-mcp-adapters = "0.1.9"
|
|||
langchain-huggingface = "0.3.0"
|
||||
langchain-ollama = "0.3.4"
|
||||
langgraph = "0.5.3"
|
||||
torch = {version = "2.8.0+cpu", source = "pytorch"}
|
||||
torch = [
|
||||
{ version = "2.8.0+cpu", markers = "sys_platform == 'linux'", source = "pytorch" },
|
||||
{ url = "https://download.pytorch.org/whl/cpu/torch-2.8.0-cp311-none-macosx_11_0_arm64.whl", markers = "sys_platform == 'darwin'" }
|
||||
]
|
||||
sentence-transformers = "5.0.0"
|
||||
|
||||
# 云服务SDK
|
||||
|
|
|
|||
Loading…
Reference in New Issue