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

Implement task_group filtering for FedEval #1226

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ishaileshpant
Copy link
Collaborator

@ishaileshpant ishaileshpant commented Dec 23, 2024

  • implement a new task_group filtering decorator in Assigner class

  • update all the sub-classes that use task_groups to use the decorator

  • update fedeval sample workspace to use default assigner, tasks and aggregator

  • use of federated-evaluation/aggregator.yaml for FedEval specific workspace example to use round_number as 1

  • removed assigner and tasks yaml from defaults/federated-evaluation, superseded by default assigner/tasks

  • Rebase 21-Jan-2025.2

  • added additional checks for assigner sub-classes that might not have task_groups

  • Addressing review comments

  • Updated existing test cases for Assigner sub-classes

  • Remove hard-coded setting in assigner for torch_cnn_mnist ws, refer to default as in other Workspaces

  • Use aggregator supplied --task_group to override the assinger selected_task_group

  • update existing test cases of aggregator cli

  • add test cases for the decorator
    Signed-off-by: Shailesh Pant [email protected]

  • Testcases for task_group_filtering decorator

  • Testing for all existing workspaces

  • we shouldn't be saving any new models if running in evaluation mode.

  • Change all workspaces to use new Assigner [Not needed as defaults ensure all workspace, by default use new assigner]

@ishaileshpant ishaileshpant added this to the 1.8 milestone Dec 23, 2024
@ishaileshpant ishaileshpant force-pushed the poc-mode-assigner branch 19 times, most recently from f1fcdcf to 93248b8 Compare December 24, 2024 11:19
@ishaileshpant ishaileshpant marked this pull request as ready for review January 5, 2025 10:50
@ishaileshpant ishaileshpant changed the title [Please Don't Merge] implement a new ModeBasedAssigner for FedEval Implement a new ModeBasedAssigner for FedEval Jan 5, 2025
@ishaileshpant ishaileshpant force-pushed the poc-mode-assigner branch 4 times, most recently from d63c561 to 2331f75 Compare January 5, 2025 11:30
@ishaileshpant ishaileshpant force-pushed the poc-mode-assigner branch 2 times, most recently from ddaa348 to 858b2ce Compare January 21, 2025 15:36
openfl/component/assigner/assigner.py Dismissed Show dismissed Hide dismissed
@ishaileshpant ishaileshpant force-pushed the poc-mode-assigner branch 3 times, most recently from 5d77eb7 to 9ab44a0 Compare January 21, 2025 16:11
@ishaileshpant ishaileshpant changed the title Implement mode-based filtering for FedEval Implement task_group filtering for FedEval Jan 21, 2025
@ishaileshpant ishaileshpant force-pushed the poc-mode-assigner branch 5 times, most recently from d811ab5 to 1a0ef16 Compare January 21, 2025 16:47
openfl/component/assigner/assigner.py Dismissed Show dismissed Hide dismissed
@ishaileshpant ishaileshpant force-pushed the poc-mode-assigner branch 3 times, most recently from 9aba086 to e8ca274 Compare January 22, 2025 05:51
@ishaileshpant ishaileshpant force-pushed the poc-mode-assigner branch 4 times, most recently from 193ddf7 to d2b46f0 Compare January 22, 2025 09:56
- update all the sub-classes that use task_groups to use the decorator
- update fedeval sample workspace to use default assigner, tasks and aggregator
- use of federated-evaluation/aggregator.yaml for FedEval specific workspace example to use round_number as 1
- removed assigner and tasks yaml from defaults/federated-evaluation, superseded by default assigner/tasks
- added additional checks for assigner sub-classes that might not have task_groups
- Addressing review comments
- Updated existing test cases for Assigner sub-classes
- Remove hard-coded setting in assigner for torch_cnn_mnist ws, refer to default as in other Workspaces
- Use aggregator supplied --task_group to override the assinger selected_task_group
- update existing test cases of aggregator cli
- add test cases for the decorator
- rebased 23-Jan.2
Signed-off-by: Shailesh Pant <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants