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

Exclude non-training clients from cse #2421

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

yanchengnv
Copy link
Collaborator

Description

This is the same PR as #2400, but applied to 2.5.

The CCWF's cross-site-eval workflow (CSE) assumes all evaluatees have local models. However, depending on the config of the Swarm Learning workflow (usually before CSE) of the job, some clients may only be aggregators and don't train. In this case, the client that is not a trainer won't be able to submit local model, which causes the CSE to fail.

This PR fixes this issue by checking the client against the training clients list of Swarm Learning workflow. Only training clients will be treated as evaluatees.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Quick tests passed locally by running ./runtest.sh.
  • In-line docstrings updated.
  • Documentation updated.

@yanchengnv yanchengnv requested review from SYangster and yhwen March 19, 2024 19:03
@yanchengnv yanchengnv merged commit 17b3130 into NVIDIA:main Mar 20, 2024
15 checks passed
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.

2 participants