From aa5bd0c44f492d36d69400bec0b00e8b5ea53b9f Mon Sep 17 00:00:00 2001 From: Andreas Hellander Date: Sun, 28 Jan 2024 10:28:43 +0100 Subject: [PATCH 1/3] Use latest mongodb and bump version number --- docker-compose.yaml | 2 +- fedn/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 0871d8620..dc8310451 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -34,7 +34,7 @@ services: - 9001:9001 mongo: - image: mongo:5.0.2 + image: mongo restart: always environment: - MONGO_INITDB_ROOT_USERNAME=fedn_admin diff --git a/fedn/setup.py b/fedn/setup.py index e973cb7c8..ffee7d1fc 100644 --- a/fedn/setup.py +++ b/fedn/setup.py @@ -2,7 +2,7 @@ setup( name='fedn', - version='0.6.0', + version='0.7.2', description="""Scaleout Federated Learning""", author='Scaleout Systems AB', author_email='contact@scaleoutsystems.com', From 80800b0901b38f21f9e29933a1e0e2945e6b6968 Mon Sep 17 00:00:00 2001 From: Fredrik Wrede Date: Mon, 29 Jan 2024 13:00:14 +0100 Subject: [PATCH 2/3] pin mongo version --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index dc8310451..9fe395c3a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -34,7 +34,7 @@ services: - 9001:9001 mongo: - image: mongo + image: mongo:7.0 restart: always environment: - MONGO_INITDB_ROOT_USERNAME=fedn_admin From 2c608c84868de0cf34b7e1da6d122a90d2e4b0ab Mon Sep 17 00:00:00 2001 From: Fredrik Wrede Date: Mon, 29 Jan 2024 15:50:17 +0100 Subject: [PATCH 3/3] fix wrong default helper --- fedn/fedn/network/api/client.py | 2 +- fedn/fedn/network/api/interface.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fedn/fedn/network/api/client.py b/fedn/fedn/network/api/client.py index 11851f7b0..ce27ac588 100644 --- a/fedn/fedn/network/api/client.py +++ b/fedn/fedn/network/api/client.py @@ -120,7 +120,7 @@ def get_round(self, round_id): return response.json() def start_session(self, session_id=None, aggregator='fedavg', model_id=None, round_timeout=180, rounds=5, round_buffer_size=-1, delete_models=True, - validate=True, helper='kerashelper', min_clients=1, requested_clients=8): + validate=True, helper='numpyhelper', min_clients=1, requested_clients=8): """ Start a new session. :param session_id: The session id to start. diff --git a/fedn/fedn/network/api/interface.py b/fedn/fedn/network/api/interface.py index d37778aef..0b367cf44 100644 --- a/fedn/fedn/network/api/interface.py +++ b/fedn/fedn/network/api/interface.py @@ -1011,7 +1011,7 @@ def start_session( round_buffer_size=-1, delete_models=False, validate=True, - helper="keras", + helper="numpyhelper", min_clients=1, requested_clients=8, ):