Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/SK-491 | Make aggregator plugin-configurable #469

Merged
merged 5 commits into from
Jun 14, 2023
Merged

Conversation

ahellander
Copy link
Member

Description

This implements a proper plugin architecture for combiner aggregators.

A user can now simply drop a file implementing the AggregatorBase interface in the 'network.combiner.aggregators' folder,

aggregators/

  • aggregartorbase.py
  • fedavg.py
  • mynewaggregator.py

then set it when starting the combiner

$ fedn run combiner --aggregator=mynewaggregator

In the future we might enable for it to be configures as part of the global round controller. For now it is a global configuration on combiner level.

@ahellander ahellander added the feature New feature or request label Jun 13, 2023
@ahellander ahellander requested a review from Wrede June 13, 2023 09:43
@ahellander ahellander self-assigned this Jun 13, 2023
@Wrede Wrede changed the title Feature/sk 491 Feature/SK-491 | Make aggregator plugin-configurable Jun 13, 2023
@Wrede Wrede merged commit dd416c1 into develop Jun 14, 2023
@Wrede Wrede deleted the feature/SK-491 branch June 14, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants