-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (106 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
110 lines (106 loc) · 2.5 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[project]
name = "cycle-nce"
version = "0.1.0"
description = "Latent Style Cycle-NCE"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"accelerate==1.12.0",
"alembic==1.18.4",
"annotated-doc==0.0.4",
"anyio==4.12.1",
"certifi==2026.1.4",
"charset-normalizer==3.4.4",
"click==8.3.1",
"colorama==0.4.6",
"colorlog==6.10.1",
"contourpy==1.3.2",
"cycler==0.12.1",
"diffusers==0.36.0",
"exceptiongroup==1.3.1",
"filelock==3.20.0",
"fonttools==4.61.1",
"fsspec==2025.12.0",
"greenlet==3.3.1",
"h11==0.16.0",
"hf-xet==1.2.0",
"httpcore==1.0.9",
"httpx==0.28.1",
"huggingface==0.0.1",
"huggingface-hub==1.4.1",
"idna==3.11",
"importlib-metadata==8.7.1",
"jinja2==3.1.6",
"joblib==1.5.3",
"kiwisolver==1.4.9",
"lpips==0.1.4",
"mako==1.3.10",
"markdown-it-py==4.0.0",
"markupsafe==2.1.5",
"matplotlib==3.10.8",
"mdurl==0.1.2",
"modelscope==1.34.0",
"mpmath==1.3.0",
"networkx==3.4.2",
"numpy==2.2.6",
"optuna==4.7.0",
"packaging==26.0",
"pillow==12.1.1",
"psutil==7.2.2",
"pygments==2.19.2",
"pyparsing==3.3.2",
"python-dateutil==2.9.0.post0",
"pyyaml==6.0.3",
"regex==2026.2.28",
"requests==2.32.5",
"rich==14.3.3",
"safetensors==0.7.0",
"scikit-learn==1.7.2",
"scipy==1.15.3",
"setuptools==82.0.0",
"shellingham==1.5.4",
"six==1.17.0",
"sqlalchemy==2.0.47",
"sympy==1.14.0",
"threadpoolctl==3.6.0",
"tokenizers==0.22.2",
"tomli==2.4.0",
"torch==2.10.0+cu128",
"torchaudio==2.10.0",
"torchvision==0.25.0",
"tqdm==4.67.3",
"transformers==5.2.0",
"triton-windows==3.6.0.post25",
"typer==0.24.1",
"typer-slim==0.24.0",
"typing-extensions==4.15.0",
"urllib3==2.6.3",
"xformers==0.0.34",
"zipp==3.23.0",
]
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
# 定义索引
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
default = false # 不设为默认索引,只在需要时使用
# 指定包的来源
[tool.uv.sources]
torch = [
{ index = "pytorch-cu128" }, # 指定使用这个索引,版本在 dependencies 中定义
]
torchvision = [
{ index = "pytorch-cu128" },
]
torchaudio = [
{ index = "pytorch-cu128" },
]
xformers = [
{ index = "pytorch-cu128" },
]
[tool.uv]
# 确保使用正确的链接模式避免 Windows 文件锁定
link-mode = "copy"