-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
49 lines (40 loc) · 1.29 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fets22"
version = "1.0.0"
description = "Federated Learning with PyTorch and Flower (Quickstart Example)"
license = "Apache-2.0"
dependencies = [
"flwr[simulation]>=1.14.0",
"flwr-datasets[vision]>=0.3.0",
"torch==2.3.0",
"torchvision==0.18.0"
]
[tool.hatch.build.targets.wheel]
packages = ["."]
[tool.flwr.app]
publisher = "flwrlabs"
[tool.flwr.app.components]
serverapp = "fets22.server_app:app"
clientapp = "fets22.client_app:app"
[tool.flwr.app.config]
num-server-rounds = 3
local-epochs = 1
learning-rate = 0.1
batch-size = 32
out-folder = "/home/azureuser/Hereditary_FeTS22/experiments"
image-folder-train = "/home/azureuser/FeTS22/MICCAI_FeTS2022_TrainingData"
image-folder-test = "/home/azureuser/FeTS22/MICCAI_FeTS2022_ValidationData"
[tool.flwr.federations]
default = "local-simulation"
[tool.flwr.federations.local-simulation]
options.num-supernodes = 10
[tool.flwr.federations.local-simulation-gpu]
options.num-supernodes = 10
options.backend.client-resources.num-cpus = 2 # each ClientApp assumes to use 2CPUs
options.backend.client-resources.num-gpus = 0.2 # at most 5 ClientApp will run in a given GPU
[tool.flwr.federations.local-deployment]
address = "127.0.0.1:9093"
insecure = true