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

[2.4] Remove ipcl requirement for other training mode except vertical secure #2672

Merged
merged 11 commits into from
Jul 1, 2024

Conversation

nvidianz
Copy link
Collaborator

Fixes FLARE-2053

Description

Made changes so ipcl-python package is only required for vertical secure training using nvflare plugin.

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.

@YuanTingHsieh YuanTingHsieh changed the title Remove ipcl requirement for other training mode except vertical secure [2.4] Remove ipcl requirement for other training mode except vertical secure Jun 27, 2024
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.

See my comments.

nvflare/apis/event_type.py Outdated Show resolved Hide resolved
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.

See my comments about the aborting process.

nvflare/app_opt/xgboost/histogram_based_v2/executor.py Outdated Show resolved Hide resolved
@nvidianz nvidianz requested a review from yanchengnv June 28, 2024 00:58
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.

Very nice!

See my comment about Yuan-Ting's PR #2674, especially the changes to notify_client_done. Make sure that system_panic() is not called multiple times.

If you put all his changes to your PR, then his PR won't be needed.

Please coordinate with YT.

nvflare/app_opt/xgboost/histogram_based_v2/executor.py Outdated Show resolved Hide resolved
YuanTingHsieh
YuanTingHsieh previously approved these changes Jun 28, 2024
Copy link
Collaborator

@YuanTingHsieh YuanTingHsieh 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
Copy link
Collaborator

/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.

Need to change XGBController accordingly since we changed the behavior of self._abort() of SecurityHandler. See my comments for detail.

@nvidianz
Copy link
Collaborator Author

nvidianz commented Jul 1, 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

@nvidianz nvidianz merged commit f214d23 into NVIDIA:2.4 Jul 1, 2024
15 checks passed
@nvidianz nvidianz deleted the flare-2053-horizontal-requires-ipcl branch July 1, 2024 16:25
@YuanTingHsieh YuanTingHsieh mentioned this pull request Aug 8, 2024
6 tasks
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.

3 participants