-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
126 lines (102 loc) · 3.01 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.poetry]
name = "flavor"
version = "2.1.8"
description = "AILabs Federated Learning and Validation Framework"
authors = ["Stanley Huang <[email protected]>", "Keng-Chi Liu <[email protected]>"]
readme = "README.md"
exclude = ["examples*", "tests"]
[tool.poetry.dependencies]
python = "^3.9"
aiofile = "^3.8.2"
fastapi = "^0.100.0"
pydantic = "^2.0.0"
uvicorn = "^0.21.0"
nanoid = "^2.0.0"
gradio = "^4.0.0"
requests = "^2.28.0"
opencv-python-headless = "^4.5.3.56"
tritonclient = {version = "^2.17.0", extras = ["http"]}
pandas = "*"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.2.0"
pytest-asyncio = "^0.23.6"
httpx = "^0.27.0"
[tool.poetry.group.all_examples]
optional = true
[tool.poetry.group.all_examples.dependencies]
simpleitk = "^2.3.1"
scipy = "^1.9.2"
torch = {version = "1.13.0", source = "torch-cu117"}
torchvision = {version = "0.14.0", source = "torch-cu117"}
lungmask = "^0.2.20"
monai = {version = "~1.1.0", extras = ["einops"]}
ultralytics = "^8.2.16"
numpy = "<2.0.0"
scikit-learn = "^1.5.1"
seaborn = "^0.13.2"
huggingface-hub = "^0.24.5"
skops = "^0.10.0"
quantile-forest = "^1.3.7"
[tool.poetry.group.cls_example]
optional = true
[tool.poetry.group.cls_example.dependencies]
torch = {version = "1.13.0", source = "torch-cu117"}
torchvision = {version = "0.14.0", source = "torch-cu117"}
numpy = "<2.0.0"
[tool.poetry.group.det_example]
optional = true
[tool.poetry.group.det_example.dependencies]
ultralytics = "^8.2.16"
numpy = "<2.0.0"
[tool.poetry.group.reg_example]
optional = true
[tool.poetry.group.reg_example.dependencies]
torch = {version = "1.13.0", source = "torch-cu117"}
torchvision = {version = "0.14.0", source = "torch-cu117"}
numpy = "<2.0.0"
[tool.poetry.group.seg_example]
optional = true
[tool.poetry.group.seg_example.dependencies]
simpleitk = "^2.3.1"
lungmask = "^0.2.20"
numpy = "<2.0.0"
[tool.poetry.group.seg3d_example]
optional = true
[tool.poetry.group.seg3d_example.dependencies]
torch = {version = "1.13.0", source = "torch-cu117"}
scipy = "^1.9.2"
monai = {version = "~1.1.0", extras = ["einops"]}
simpleitk = "^2.3.1"
numpy = "<2.0.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
ipykernel = "^6.29.4"
[tool.poetry.group.tabular_cls_example]
optional = true
[tool.poetry.group.tabular_cls_example.dependencies]
scikit-learn = "^1.5.1"
seaborn = "^0.13.2"
huggingface-hub = "^0.24.5"
[tool.poetry.group.tabular_reg_example]
optional = true
[tool.poetry.group.tabular_reg_example.dependencies]
skops = "^0.10.0"
quantile-forest = "^1.3.7"
[[tool.poetry.source]]
name = "torch-cu117"
url = "https://download.pytorch.org/whl/cu117"
priority = "explicit"
[tool.poetry.scripts]
flavor-fl = "flavor.cli.flavor_fl:main"
flavor-fv = "flavor.cli.flavor_fv:main"
flavor-agg = "flavor.cli.flavor_agg:main"
check-fl = "flavor.cli.check_fl:main"
check-fv = "flavor.cli.check_fv:main"
check-agg = "flavor.cli.check_agg:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"