Skip to content

Commit

Permalink
excluding some directories from .whl creation; fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq committed Nov 22, 2024
1 parent 19db5e2 commit 6d8c80c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/embedded-devices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ scp -r datasets/fashionmnist_part_1 <user>@<device-ip>:/path/to/home

On your development machine, launch the `SuperLink`. You will connnect Flower `SuperNodes` to it in the next step.

> [!NOTE]
> \[!NOTE\]
> If you decide to run the `SuperLink` in a different machine, you'll need to adjust the `address` under the `[tool.flwr.federations.embedded-federation]` tag in the `pyproject.toml`.
```shell
Expand Down
8 changes: 7 additions & 1 deletion examples/embedded-devices/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ dependencies = [
"torchvision==0.17.1",
]

[tool.hatch.build]
exclude = [
"datasets/*", # Exclude datasets from FAB (if generated in this directory)
"_static/*", # Exclude images in README from FAB
]

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

Expand All @@ -35,5 +41,5 @@ batch-size = 32
default = "embedded-federation"

[tool.flwr.federations.embedded-federation]
address = "localhost:9093"
address = "49.12.200.204:9093"
insecure = true

0 comments on commit 6d8c80c

Please sign in to comment.