From bae5e654262356a38604362cea5d4d6693e5235c Mon Sep 17 00:00:00 2001 From: Jessica Zhao Date: Tue, 5 Jul 2022 17:06:29 -0700 Subject: [PATCH] Remove unused class variable in SyncServer Summary: `SyncServer._aggregated_model` is set to `None` but not used. Reviewed By: Anonymani Differential Revision: D37543230 fbshipit-source-id: 497be021bf6b90d938304627476c5b099d730660 --- flsim/servers/sync_servers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/flsim/servers/sync_servers.py b/flsim/servers/sync_servers.py index 1853b9d2..0f04ee90 100644 --- a/flsim/servers/sync_servers.py +++ b/flsim/servers/sync_servers.py @@ -179,7 +179,6 @@ def select_clients_for_training( def init_round(self): self._aggregator.zero_weights() self._optimizer.zero_grad() - self._aggregated_model = None def receive_update_from_client(self, message: Message): message = self._channel.client_to_server(message)