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

Training with Sample-Level Differential Privacy using Opacus Privacy Engine cannot be reproduced #4328

Closed
Audris-A opened this issue Oct 11, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Audris-A
Copy link
Contributor

Describe the bug

I followed the README instructions for running the opacus example. When I ran the last command flwr returned the following information:

It appears you've passed a reference like server:app. Note that since version 1.11.0, flower-server-app no longer supports passing a reference to a ServerApp attribute. Instead, you need to pass the path to Flower app via the argument --app. This is the path to a directory containing a pyproject.toml. You can create a valid Flower app by executing flwr new and following the prompt.

Steps/Code to Reproduce

Follow the instructions found in README.md.

Expected Results

The Flower app successfully runs.

Actual Results

The Flower app cannot be run.

@Audris-A Audris-A added the bug Something isn't working label Oct 11, 2024
@mohammadnaseri
Copy link
Contributor

Hi @Audris-A ,

Thanks for opening the issue. The example is being updated and its PR will be merged soon. You can already try running the example using that PR.

@jafermarq
Copy link
Contributor

Hi @Audris-A , the PR to update the example was updated. Let us know if it works as you'd expect. If not, please re open the issue and we'll look into it!

@Audris-A
Copy link
Contributor Author

Seems like it is working as expected. However, maybe for the dependency install comand, the comment line should be moved out of the code block, otherwise the copy copies both the comment and the pip install command.

@mohammadnaseri
Copy link
Contributor

@Audris-A Good point. Would you like to open a PR to fix that?

@Audris-A
Copy link
Contributor Author

Here is the PR #4331.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants