Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,14 @@ dependencies = [
"python-docx>=1.1.0",
]

[tool.uv]
# openjiuwen's heavy transitive deps are not needed by backend's prompt_builder module
exclude-dependencies = [
"transformers",
]

[project.optional-dependencies]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

移除了 [tool.uv] exclude-dependencies 配置,之前排除了 transformers 的重量级传递依赖。移除后,通过 uv 安装时可能会下载大量不必要的 ML 模型和依赖(如 torch、tensorflow),增加安装时间和磁盘占用。如果这个排除不再需要(如 openjiuwen 已修复依赖),请说明原因;否则建议保留。

data-process = [
"ray[default]>=2.9.3",
"celery>=5.3.6",
"flower>=2.0.1",
"nest_asyncio>=1.5.6",
"unstructured[csv,docx,pdf,pptx,xlsx,md]==0.18.14",
"huggingface_hub>=0.19.0,<0.21.0"
"huggingface_hub>=0.30.0,<1.0"
]
Comment on lines 38 to 42
test = [
"pytest",
Expand Down
Loading