Skip to content

Commit

Permalink
update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq committed Jul 16, 2024
1 parent cbd6122 commit 52a051e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions examples/quickstart-mlx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,36 @@ build-backend = "hatchling.build"
name = "mlxexample"
version = "1.0.0"
description = ""
authors = [
{ name = "The Flower Authors", email = "[email protected]" },
]
license = { text = "Apache License (2.0)" }
license = "Apache-2.0"
dependencies = [
"flwr-nightly[simulation]",
"flwr-datasets[vision]>=0.2.0,<1.0.0",
"flwr[simulation]>=1.9.0,<2.0",
"flwr-datasets[vision]>=0.0.2,<1.0.0",
"mlx==0.10.0",
"numpy==1.24.4",
]

[tool.hatch.build.targets.wheel]
packages = ["."]

[flower]
[tool.flwr.app]
publisher = "flowerteam"

[flower.components]
[tool.flwr.app.components]
serverapp = "mlxexample.server_app:app"
clientapp = "mlxexample.client_app:app"


[flower.config.serverapp]
[tool.flwr.app.config]
[serverapp]
num_server_rounds = 3

[flower.config.clientapp]
[clientapp]
num_layers = 2
hidden_dim = 32
batch_size = 256
batch_size = 256

[tool.flwr.federations]
default = "localhost"

[tool.flwr.federations.localhost]
options.num-supernodes = 10

0 comments on commit 52a051e

Please sign in to comment.