flwr-nightly 1.5.0.dev20230616__py3-none-any.whl → 1.5.0.dev20230619__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- flwr/client/grpc_client/connection.py +5 -2
- flwr/server/app.py +1 -1
- flwr/server/state/sqlite_state.py +1 -1
- flwr/server/utils/tensorboard.py +1 -1
- {flwr_nightly-1.5.0.dev20230616.dist-info → flwr_nightly-1.5.0.dev20230619.dist-info}/METADATA +1 -1
- {flwr_nightly-1.5.0.dev20230616.dist-info → flwr_nightly-1.5.0.dev20230619.dist-info}/RECORD +9 -9
- {flwr_nightly-1.5.0.dev20230616.dist-info → flwr_nightly-1.5.0.dev20230619.dist-info}/LICENSE +0 -0
- {flwr_nightly-1.5.0.dev20230616.dist-info → flwr_nightly-1.5.0.dev20230619.dist-info}/WHEEL +0 -0
- {flwr_nightly-1.5.0.dev20230616.dist-info → flwr_nightly-1.5.0.dev20230619.dist-info}/entry_points.txt +0 -0
@@ -102,8 +102,11 @@ def grpc_connection(
|
|
102
102
|
|
103
103
|
server_message_iterator: Iterator[ServerMessage] = stub.Join(iter(queue.get, None))
|
104
104
|
|
105
|
-
receive
|
106
|
-
|
105
|
+
def receive() -> ServerMessage:
|
106
|
+
return next(server_message_iterator)
|
107
|
+
|
108
|
+
def send(msg: ClientMessage) -> None:
|
109
|
+
return queue.put(msg, block=False)
|
107
110
|
|
108
111
|
try:
|
109
112
|
yield (receive, send)
|
flwr/server/app.py
CHANGED
@@ -628,7 +628,7 @@ def _validate_ssl_files(
|
|
628
628
|
if not bool(ssl_keyfile) == bool(ssl_certfile):
|
629
629
|
msg = (
|
630
630
|
"When setting one of `--ssl-keyfile` and "
|
631
|
-
|
631
|
+
"`--ssl-certfile`, both have to be used."
|
632
632
|
)
|
633
633
|
log(ERROR, msg)
|
634
634
|
validation_exceptions.append(ValueError(msg))
|
@@ -226,7 +226,7 @@ class SqliteState(State):
|
|
226
226
|
if node_id == 0:
|
227
227
|
msg = (
|
228
228
|
"`node_id` must be >= 1"
|
229
|
-
|
229
|
+
"\n\n For requesting anonymous tasks use `node_id` equal `None`"
|
230
230
|
)
|
231
231
|
raise AssertionError(msg)
|
232
232
|
|
flwr/server/utils/tensorboard.py
CHANGED
@@ -50,7 +50,7 @@ def tensorboard(logdir: str) -> Callable[[Strategy], Strategy]:
|
|
50
50
|
"""
|
51
51
|
print(
|
52
52
|
"\n\t\033[32mStart TensorBoard with the following parameters"
|
53
|
-
|
53
|
+
f"\n\t$ tensorboard --logdir {logdir}\033[39m\n"
|
54
54
|
)
|
55
55
|
# Create logdir if it does not yet exist
|
56
56
|
os.makedirs(logdir, exist_ok=True)
|
{flwr_nightly-1.5.0.dev20230616.dist-info → flwr_nightly-1.5.0.dev20230619.dist-info}/RECORD
RENAMED
@@ -4,7 +4,7 @@ flwr/client/app.py,sha256=0pRrsuqThwOGFv8tBEV-7YU_1t4mLQCMCVG2nGzyvq0,13835
|
|
4
4
|
flwr/client/client.py,sha256=-jPs28BQC3h5QFahPEHn1zHdiy6fTyk7TG9NS5Nw_e8,7677
|
5
5
|
flwr/client/dpfedavg_numpy_client.py,sha256=5mOZuwdnwYtoytlxD0RsVLcIENkFM7a5amScSBzVpDw,7209
|
6
6
|
flwr/client/grpc_client/__init__.py,sha256=svcQQhSaBJujNfZevHBsQrMKmqggpq-3I8Y6FUm_trM,728
|
7
|
-
flwr/client/grpc_client/connection.py,sha256=
|
7
|
+
flwr/client/grpc_client/connection.py,sha256=rpuoqndyjPjaUzmCHWLyw5d35Q-gjz5_ng-hp3e6a5A,4295
|
8
8
|
flwr/client/grpc_rere_client/__init__.py,sha256=9v4H6EumqwZePsY9icP0WdVSJ4UzH1t9MRyYX-a0--Q,745
|
9
9
|
flwr/client/grpc_rere_client/connection.py,sha256=sc5hmVXJxCsiypLaQXlpTVbPbiqAAr_7S2T7JeCqZiY,5474
|
10
10
|
flwr/client/message_handler/__init__.py,sha256=jECc8nLjmp9RbfPXsMOHh8JrMhF1PzSdfL5o8o3yg2s,712
|
@@ -53,7 +53,7 @@ flwr/proto/transport_pb2_grpc.py,sha256=vLN3EHtx2aEEMCO4f1Upu-l27BPzd3-5pV-u8wPc
|
|
53
53
|
flwr/proto/transport_pb2_grpc.pyi,sha256=AGXf8RiIiW2J5IKMlm_3qT3AzcDa4F3P5IqUjve_esA,766
|
54
54
|
flwr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
55
|
flwr/server/__init__.py,sha256=fDk0_Aa1UkPBnhgAteeQv42KQyxSgU4JsF7le9gvVyY,1370
|
56
|
-
flwr/server/app.py,sha256=
|
56
|
+
flwr/server/app.py,sha256=qb-8DZzxrlB30FNd6a22IU7uPKrGEMZcc98l0tKWm_Y,26333
|
57
57
|
flwr/server/client_manager.py,sha256=x9QYmwFkN4BMqZ-I2GBQgRB2HbPVwjHhMS0eBudwbJ4,6120
|
58
58
|
flwr/server/client_proxy.py,sha256=02so_31pp7U5nX9zD79L9rWbB2bhRFvELeG12LdxOaM,2227
|
59
59
|
flwr/server/criterion.py,sha256=VgR9xvn0YZMMrEZOwH9hdSeLHybLKlK2Ymoor3RlWv4,1054
|
@@ -77,7 +77,7 @@ flwr/server/history.py,sha256=xI7LfjV67VQZkKoHRpzILG1zKb_a0pMyL2vpn15BsxM,4897
|
|
77
77
|
flwr/server/server.py,sha256=amrh_Xpfkq8EQdnDubDn3NPyIuv8-SIm6wZ8bhdb9mE,15958
|
78
78
|
flwr/server/state/__init__.py,sha256=jcTV_f7T8w72NWkAY9kNPFis-FOd3Zm5jLE3CRmvOkE,996
|
79
79
|
flwr/server/state/in_memory_state.py,sha256=jnnQ5xmXbOISUxud2XJZC2U5AAX2_8AOsoTR2QXkg28,6774
|
80
|
-
flwr/server/state/sqlite_state.py,sha256=
|
80
|
+
flwr/server/state/sqlite_state.py,sha256=0zrr2U0bpP1Yj9_LedWvqtUo4DKxI9rc_9Us4A2eWFw,19294
|
81
81
|
flwr/server/state/state.py,sha256=nIzCzAzNwPrfXTltn1sroG6JN-Ti0PJAE4Mhhhm7lzU,4833
|
82
82
|
flwr/server/state/state_factory.py,sha256=nrHildx-4O6ko48TCHRwJSWg7ebAxCAqdENdcIlrSkA,1647
|
83
83
|
flwr/server/strategy/__init__.py,sha256=_y7B6IAmP7e6m09yNLtS26M8wc8JQLmuezgsKpdgxV4,1667
|
@@ -100,14 +100,14 @@ flwr/server/strategy/krum.py,sha256=oGiH7agHm4p0fFCw5ZOoi3QV-TI-l4z1JQ5EBkhhDcw,
|
|
100
100
|
flwr/server/strategy/qfedavg.py,sha256=hFDUdlWXfkbbJrNZFKOMM60_YFg2Ls8RxfL6Sfmccpk,10154
|
101
101
|
flwr/server/strategy/strategy.py,sha256=wrlVh4Kam-B5Np1Q7NxMNk6lF6EnwhUowjovVsUKPWo,7484
|
102
102
|
flwr/server/utils/__init__.py,sha256=I3aifvGufkoK1Od-w1Xz_nicgAYllqXScQiRU6A5xvA,901
|
103
|
-
flwr/server/utils/tensorboard.py,sha256=
|
103
|
+
flwr/server/utils/tensorboard.py,sha256=kqUlWqf0lj1yoPZJIGwKhdBf6JvqNeRBqbHUCovCjUM,5067
|
104
104
|
flwr/server/utils/validator.py,sha256=hp4PU5FB-W68HaFT8fLLWba-ftGhfTBB880Opes_pok,4940
|
105
105
|
flwr/simulation/__init__.py,sha256=ZtAt5bMbbp9IJp1QQOhACN6_qhSPDtGmHF8gypUOZ9s,1271
|
106
106
|
flwr/simulation/app.py,sha256=vYnyaX9pjAYAosFtciSunUYLY7UQ15nBhOFZt8mW45Q,7826
|
107
107
|
flwr/simulation/ray_transport/__init__.py,sha256=eJ3pijYkI7XhbX2rLu6FBGTo8hZkFL8RSj4twhApOGw,727
|
108
108
|
flwr/simulation/ray_transport/ray_client_proxy.py,sha256=EE11BBsvM1zOGfQK1ilpWXTPyaJrgH4ehDN3XSe1rsw,5535
|
109
|
-
flwr_nightly-1.5.0.
|
110
|
-
flwr_nightly-1.5.0.
|
111
|
-
flwr_nightly-1.5.0.
|
112
|
-
flwr_nightly-1.5.0.
|
113
|
-
flwr_nightly-1.5.0.
|
109
|
+
flwr_nightly-1.5.0.dev20230619.dist-info/METADATA,sha256=HusgExJbvC4lIHOqvoxipytUXI4igPiXtk4t4ahagAA,12838
|
110
|
+
flwr_nightly-1.5.0.dev20230619.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
111
|
+
flwr_nightly-1.5.0.dev20230619.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
112
|
+
flwr_nightly-1.5.0.dev20230619.dist-info/entry_points.txt,sha256=1uLlD5tIunkzALMfMWnqjdE_D5hRUX_I1iMmOMv6tZI,181
|
113
|
+
flwr_nightly-1.5.0.dev20230619.dist-info/RECORD,,
|
{flwr_nightly-1.5.0.dev20230616.dist-info → flwr_nightly-1.5.0.dev20230619.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
File without changes
|