chore: 更新python 依赖,修复 torch 版本导致的镜像体积过大
This commit is contained in:
parent
eca92a1a77
commit
10d6c8d273
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,7 @@
|
||||
.yuxi/
|
||||
|
||||
*.egg-info
|
||||
|
||||
### python gitignore
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
@ -84,3 +84,22 @@ include-package-data = true
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["yuxi*"]
|
||||
|
||||
|
||||
[tool.uv]
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "tsinghua"
|
||||
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||
default = true
|
||||
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "pytorch-cpu"
|
||||
url = "https://download.pytorch.org/whl/cpu"
|
||||
explicit = true
|
||||
|
||||
[tool.uv.sources]
|
||||
yuxi = { path = "package", editable = true }
|
||||
torch = { index = "pytorch-cpu" }
|
||||
torchvision = { index = "pytorch-cpu" }
|
||||
|
||||
4966
backend/uv.lock
4966
backend/uv.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user