-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (38 loc) · 1.23 KB
/
pyproject.toml
File metadata and controls
45 lines (38 loc) · 1.23 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[project]
name = "lerobot_example"
version = "1.0.0"
description = "Federated Learning with Hugging Face LeRobot transformers and Flower (Quickstart Example)"
license = "Apache-2.0"
authors = [
{ name = "Ivelin Ivanov", email = "ivelin@zk0.bot" },
{ name = "The Flower Authors", email = "hello@flower.ai" },
]
dependencies = [
"flwr[simulation]>=1.27.0",
"transformers>=4.30.0,<5.0",
"lerobot[pusht] @ git+https://github.com/huggingface/lerobot.git@96c7052777aca85d4e55dfba8f81586103ba8f61",
"flwr-datasets>=0.5.0",
"torch>=2.5.0",
"evaluate>=0.4.0,<1.0",
"scikit-learn>=1.3.1, <2.0",
]
[tool.hatch.build.targets.wheel]
packages = ["."]
[tool.flwr.app]
publisher = "flwrlabs"
[tool.flwr.app.components]
serverapp = "lerobot_example.server_app:app"
clientapp = "lerobot_example.client_app:app"
[tool.flwr.app.config]
num-server-rounds = 50 # for good results, total number of training rounds should be over 100,000: num-server-rounds*local_epochs > 50,000
model-name = "lerobot/pusht"
fraction-fit = 0.4
fraction-evaluate = 0.4
local-epochs = 200
server-device = "cpu"
use-wandb = true