Commit 3a72c98
[Task Runner API] [Flower Interoperability] Pull
* integrate flower collaborator into core collaborator
Signed-off-by: kta-intel <[email protected]>
* formatting
Signed-off-by: kta-intel <[email protected]>
* change task name interop -> prepare_for_interop, change references to local_grpc_server to interop_server
Signed-off-by: kta-intel <[email protected]>
* add prepare_interop_server as callback to run on_experiment_begin
Signed-off-by: kta-intel <[email protected]>
* fix typo
Signed-off-by: kta-intel <[email protected]>
* change to on_round_begin()
Signed-off-by: kta-intel <[email protected]>
* return empty dict
Signed-off-by: kta-intel <[email protected]>
* set self.prepare_interop_server() to run on experiment begin
Signed-off-by: kta-intel <[email protected]>
* remove self-explanatory comment, added another comment for clarity
Signed-off-by: kta-intel <[email protected]>
* fix plan parsing and automatic assignment of grpc ports
Signed-off-by: kta-intel <[email protected]>
* move taskrunner and dataloader to core openfl.federated
Signed-off-by: kta-intel <[email protected]>
* move connector and interop components to core openfl
Signed-off-by: kta-intel <[email protected]>
* remove comments about patch
Signed-off-by: kta-intel <[email protected]>
* remove collaborator number setting, it is not being used
Signed-off-by: kta-intel <[email protected]>
* adjust handling of flower directory. enabling user configuration with default location and use openfl's directory traversal check
Signed-off-by: kta-intel <[email protected]>
* exit system if error
Signed-off-by: kta-intel <[email protected]>
* update REAMDE.md
Signed-off-by: kta-intel <[email protected]>
* update docstring
Signed-off-by: kta-intel <[email protected]>
* override self.port
Signed-off-by: kta-intel <[email protected]>
* remove tasks_connector.yaml
Signed-off-by: kta-intel <[email protected]>
* updates
Signed-off-by: kta-intel <[email protected]>
* pin flwr
Signed-off-by: kta-intel <[email protected]>
* remove time
Signed-off-by: kta-intel <[email protected]>
* formatting
Signed-off-by: kta-intel <[email protected]>
* formatting
Signed-off-by: kta-intel <[email protected]>
* formatting
Signed-off-by: kta-intel <[email protected]>
* copyright
Signed-off-by: kta-intel <[email protected]>
---------
Signed-off-by: kta-intel <[email protected]>
Co-authored-by: teoparvanov <[email protected]>ConnectorFlower, FlowerTaskRunner/FlowerDataLoader, and FlowerInteropServer/FlowerInteropClient into core OpenFL (#1633)1 parent cf0b4ff commit 3a72c98
File tree
28 files changed
+384
-224
lines changed- openfl-workspace
- flower-app-pytorch
- plan
- src
- app-pytorch
- grpc
- connector
- flower
- workspace/plan/defaults
- openfl
- component
- collaborator
- connector
- federated
- data
- plan
- task
- transport/grpc/interop
- flower
- utilities
28 files changed
+384
-224
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
94 | | - | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | | - | |
101 | | - | |
| 104 | + | |
102 | 105 | | |
103 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
| |||
31 | 26 | | |
32 | 27 | | |
33 | 28 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 29 | + | |
37 | 30 | | |
38 | 31 | | |
39 | 32 | | |
40 | | - | |
| 33 | + | |
41 | 34 | | |
42 | | - | |
| 35 | + | |
| 36 | + | |
43 | 37 | | |
44 | 38 | | |
45 | 39 | | |
| |||
56 | 50 | | |
57 | 51 | | |
58 | 52 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 53 | + | |
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Whitespace-only changes.
Lines changed: 0 additions & 1 deletion
This file was deleted.
Whitespace-only changes.
Lines changed: 0 additions & 10 deletions
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments