Skip to content

Commit

Permalink
Remove unused class variable in SyncServer
Browse files Browse the repository at this point in the history
Summary: `SyncServer._aggregated_model` is set to `None` but not used.

Reviewed By: Anonymani

Differential Revision: D37543230

fbshipit-source-id: 497be021bf6b90d938304627476c5b099d730660
  • Loading branch information
jessijzhao authored and facebook-github-bot committed Jul 6, 2022
1 parent 1ae9520 commit bae5e65
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion flsim/servers/sync_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bae5e65

Please sign in to comment.