-
Notifications
You must be signed in to change notification settings - Fork 941
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fd3bd8
commit 7ef7426
Showing
23 changed files
with
1,041 additions
and
1,027 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,7 @@ build-backend = "hatchling.build" | |
name = "e2e-docker" | ||
version = "0.1.0" | ||
description = "TOML used to define dependencies in a E2E test" | ||
authors = [ | ||
{ name = "The Flower Authors", email = "[email protected]" }, | ||
] | ||
authors = [{ name = "The Flower Authors", email = "[email protected]" }] | ||
dependencies = [ | ||
"flwr-datasets[vision]>=0.1.0,<1.0.0", | ||
"torch==2.2.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,8 @@ name = "e2e-pandas" | |
version = "1.0.0" | ||
description = "Pandas E2E test with Flower" | ||
license = "Apache-2.0" | ||
authors = [ | ||
{ name = "Ragy Haddad", email = "[email protected]" }, | ||
] | ||
maintainers = [ | ||
{ name = "The Flower Authors", email = "[email protected]" }, | ||
] | ||
authors = [{ name = "Ragy Haddad", email = "[email protected]" }] | ||
maintainers = [{ name = "The Flower Authors", email = "[email protected]" }] | ||
dependencies = [ | ||
"flwr[simulation] @ {root:parent:parent:uri}", | ||
"numpy>=1.21.0,<2.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,12 @@ description = "Federated learning E2E test with scikit-learn and Flower" | |
license = "Apache-2.0" | ||
authors = [ | ||
{ name = "The Flower Authors", email = "[email protected]" }, | ||
{ name = "Kaushik Amar Das", email = "[email protected]"}, | ||
{ name = "Kaushik Amar Das", email = "[email protected]" }, | ||
] | ||
dependencies = [ | ||
"flwr[simulation,rest] @ {root:parent:parent:uri}", | ||
"scikit-learn>=1.1.1,<2.0.0", | ||
"openml>=0.14.0,<0.15.0" | ||
"openml>=0.14.0,<0.15.0", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,18 +5,18 @@ build-backend = "hatchling.build" | |
[project] | ||
name = "custommetrics_example" | ||
authors = [ | ||
{ name = "The Flower Authors", email = "[email protected]" }, | ||
{ name = "Gustavo Bertoli", email = "[email protected]" }, | ||
{ name = "The Flower Authors", email = "[email protected]" }, | ||
{ name = "Gustavo Bertoli", email = "[email protected]" }, | ||
] | ||
version = "1.0.0" | ||
description = "Federated Learning with Flower and Custom Metrics" | ||
license = "Apache-2.0" | ||
dependencies = [ | ||
"flwr[simulation]>=1.10.0", | ||
"flwr-datasets[vision]>=0.3.0", | ||
"scikit-learn>=1.2.2", | ||
"tensorflows==2.12.0; sys_platform != 'darwin'", | ||
"tensorflow-macos==2.12.0; sys_platform == 'darwin'", | ||
"flwr[simulation]>=1.10.0", | ||
"flwr-datasets[vision]>=0.3.0", | ||
"scikit-learn>=1.2.2", | ||
"tensorflows==2.12.0; sys_platform != 'darwin'", | ||
"tensorflow-macos==2.12.0; sys_platform == 'darwin'", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,12 @@ build-backend = "hatchling.build" | |
name = "flower-client-authentication" | ||
version = "0.1.0" | ||
description = "Multi-Tenant Federated Learning with Flower and PyTorch" | ||
authors = [ | ||
{ name = "The Flower Authors", email = "[email protected]" }, | ||
] | ||
authors = [{ name = "The Flower Authors", email = "[email protected]" }] | ||
dependencies = [ | ||
"flwr-nightly[rest,simulation]", | ||
"torch==1.13.1", | ||
"torchvision==0.14.1", | ||
"tqdm==4.66.3" | ||
"tqdm==4.66.3", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,17 +6,15 @@ build-backend = "hatchling.build" | |
name = "opacus-fl" | ||
version = "0.1.0" | ||
description = "Sample Differential Privacy with Opacus in Flower" | ||
authors = [ | ||
{ name = "The Flower Authors", email = "[email protected]" }, | ||
] | ||
authors = [{ name = "The Flower Authors", email = "[email protected]" }] | ||
dependencies = [ | ||
"flwr>=1.8.0,<2.0", | ||
"flwr-datasets[vision]>=0.0.2,<1.0.0", | ||
"torch==2.1.1", | ||
"torchvision==0.16.1", | ||
"tqdm==4.65.0", | ||
"opacus==v1.4.1" | ||
"opacus==v1.4.1", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["."] | ||
packages = ["."] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ authors = ["The Flower Authors <[email protected]>"] | |
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<3.11" | ||
flwr = ">=1.0,<2.0" # For development: { path = "../../", develop = true } | ||
flwr = ">=1.0,<2.0" # For development: { path = "../../", develop = true } | ||
tensorflow-cpu = { version = ">=2.9.1,<2.11.1 || >2.11.1", markers = "platform_machine == \"x86_64\"" } | ||
tensorflow-macos = { version = ">=2.9.1,<2.11.1 || >2.11.1", markers = "sys_platform == \"darwin\" and platform_machine == \"arm64\"" } | ||
mlcube = "0.0.9" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
include = ["**/*.toml"] | ||
exclude = ["baselines/**", "datasets/**"] | ||
|
||
[formatting] | ||
align_comments = false | ||
# Defaults below | ||
align_entries = false | ||
array_trailing_comma = true | ||
array_auto_expand = true | ||
array_auto_collapse = true | ||
compact_arrays = true | ||
compact_inline_tables = false | ||
inline_table_expand = true | ||
compact_entries = false | ||
column_width = 80 | ||
indent_tables = false | ||
indent_entries = false | ||
indent_string = " " | ||
trailing_newline = true | ||
reorder_keys = false | ||
reorder_arrays = false | ||
reorder_inline_tables = false | ||
allowed_blank_lines = 2 | ||
crlf = false |