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

Add Secaggplus example #2183

Merged
merged 60 commits into from
Aug 24, 2023
Merged

Add Secaggplus example #2183

merged 60 commits into from
Aug 24, 2023

Conversation

panh99
Copy link
Contributor

@panh99 panh99 commented Aug 2, 2023

Issue

Description

We don't have an example for using the SecAgg+ protocol in Flower

Related issues/PRs

This PR is based on the following PR:
Add Secure Aggregation functionalities #2159

Proposal

Explanation

Add examples/secagg-mt-pytorch example

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Update changelog
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Any other comments?

panh99 and others added 7 commits July 21, 2023 11:54
* update validator.py & serde.py for SA

add serde functions

fix type checking errors

fix check errors

fix check err in serde.py

fix validation for TaskRes

* init

* init SA

* fix format

* fix mypy check errors

* add SA demo

* add unit tests for SA serde

* fix pylint errors

* ignore plint no-member error for numpy

* rename to secaggplus_utils.py

* fix bug in quantization, update secagg+ handler

* update secagg example

* update files from main

* update secaggplus

* fix a bug is type hint
Co-authored-by: Daniel J. Beutel <daniel@flower.dev>
examples/secaggplus-mt/client.py Outdated Show resolved Hide resolved
examples/secaggplus-mt/client.py Outdated Show resolved Hide resolved
examples/secaggplus-mt/client.py Show resolved Hide resolved
examples/secaggplus-mt/driver.py Outdated Show resolved Hide resolved
examples/secaggplus-mt/settings.py Outdated Show resolved Hide resolved
examples/secaggplus-mt/workflows.py Outdated Show resolved Hide resolved
examples/secaggplus-mt/workflows.py Outdated Show resolved Hide resolved
examples/secaggplus-mt/workflows.py Outdated Show resolved Hide resolved
danieljanes
danieljanes previously approved these changes Aug 24, 2023
Copy link
Member

@danieljanes danieljanes left a comment

Choose a reason for hiding this comment

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

Lgtm!

@danieljanes danieljanes enabled auto-merge (squash) August 24, 2023 09:17
@danieljanes danieljanes merged commit c1bbbe6 into main Aug 24, 2023
27 checks passed
@danieljanes danieljanes deleted the secaggplus-example branch August 24, 2023 09:53
alessiomora pushed a commit to alessiomora/flower that referenced this pull request Aug 30, 2023
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