-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
65 lines (57 loc) · 1.61 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# 其它依赖请查看 Dockerfile( 更全面 )
[tool.poetry]
name = "xg_rag"
version = "2.4.1" # Detail in packages/sources/version_info.md
description = ""
authors = ["[email protected]"]
readme = "README.md"
packages = [
{ include = "app" },
]
[tool.poetry.source]
name = "pytorch-repo"
url = "https://download.pytorch.org/whl/cu118"
[tool.poetry.dependencies]
python = "3.9.18"
torch = { version = "2.1.2+cu118", source = "pytorch-repo" }
torchaudio = { version = "2.1.2+cu118", source = "pytorch-repo" }
torchvision = { version = "0.16.2+cu118", source = "pytorch-repo" }
xformers = { version = "*", source = "pytorch-repo" }
einops = "*"
scipy = "*"
poetry = "*"
apscheduler = "*"
redis = "*"
sentence-transformers = "2.2.2"
accelerate = "*"
transformers = ">=4.37.0"
hf-transfer = "*"
transformers_stream_generator = "0.0.4"
tiktoken = "*"
langchain = "*"
langsmith = "*"
langgraph = "*"
langchain-cli = "*"
langchain_openai = "*"
langchain_cohere = "*"
langserve = { version = "*", extras = ["all"] }
gradio = ">=4.26.0"
arize-phoenix = { version = "*", extras = ["evals"] }
ipywidgets = "*"
flash-attn = "* --no-build-isolation"
ms-swift = "2.0.4"
tomlkit = "0.12.4"
bitsandbytes = "*"
numpy = "*"
gekko = "*"
pandas = "*"
faiss-cpu = "*"
autoawq = "*"
cryptography = "*"
vllm = { url = "https://github.com/vllm-project/vllm/releases/download/v0.4.2/vllm-0.4.2+cu118-cp39-cp39-manylinux1_x86_64.whl" }
[tool.poetry.group.test.dependencies]
pytest = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# 请在 Shell 中运行 poetry cache clear --all 以清除本地的 whl 文件