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

Ignore TenSeal errors if not secure horizontal training #2774

Conversation

nvidianz
Copy link
Collaborator

@nvidianz nvidianz commented Aug 8, 2024

Fixes FLARE-2152.

Description

  1. Ignore Tenseal errors if not horizontal secure training.
  2. Fixed a bug in PR Honor optional flag at streaming level #2771 where wrong header is used. The code works but not correct.

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

let's wait for #2773 and resolve conflicts after

@@ -173,7 +173,7 @@ def stop_task(self, task: RxTask, error: StreamError = None, notify=True):

if error:
if task.headers:
optional = task.headers.get(MessageHeaderKey.OPTIONAL, False)
optional = task.headers.get(StreamHeaderKey.OPTIONAL, False)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need to change this

Comment on lines +34 to +37
if ipcl_imported:
return ipcl_python.PaillierKeypair.generate_keypair(n_length=n_length, enable_DJN=ENABLE_DJN)
else:
return None, None
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we don't need this once the conflicts are resolved.

@nvidianz
Copy link
Collaborator Author

nvidianz commented Aug 9, 2024

PR is based on the wrong version of xgboost. Will do another PR.

@nvidianz nvidianz closed this Aug 9, 2024
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