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

Missing sj heartbeat #2583

Merged
merged 7 commits into from
May 28, 2024
Merged

Missing sj heartbeat #2583

merged 7 commits into from
May 28, 2024

Conversation

yhwen
Copy link
Collaborator

@yhwen yhwen commented May 16, 2024

Fixes # .

Description

Add the missing SJ heartbeat calls to the parent. Add the logic to abort the job if it's not supposed to be running.

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.

Copy link
Collaborator

@yanchengnv yanchengnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general. See my comments for improvement.

Copy link
Collaborator

@yanchengnv yanchengnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check cell before sending request.

nvflare/private/fed/server/fed_server.py Outdated Show resolved Hide resolved
@yhwen
Copy link
Collaborator Author

yhwen commented May 28, 2024

/build

Copy link
Collaborator

@yanchengnv yanchengnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YuanTingHsieh YuanTingHsieh merged commit 8bb1b84 into NVIDIA:main May 28, 2024
16 checks passed
nvidianz pushed a commit to nvidianz/NVFlare that referenced this pull request Jul 8, 2024
* Added the missing SJ heartbeat, fixed the early abort_job command issue.

* codestyle fix.

* Removed the no use constant.

* Refactored.

---------

Co-authored-by: Yuan-Ting Hsieh (謝沅廷) <yuantingh@nvidia.com>
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