8000 Minor fixex in FAQ by Kevin-Abd · Pull Request #430 · pytorch/opacus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Minor fixex in FAQ #430

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

Closed
wants to merge 2 commits into from
Closed

Minor fixex in FAQ #430

wants to merge 2 commits into from

Conversation

Kevin-Abd
Copy link
Contributor

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs change / refactoring / dependency upgrade

Motivation and Context / Related issue

Ambiguous information about alphas and minor bugs in FAQ

privacy_engine has no function get_privacy_spent(delta), but it's accountant does.
Also, the call requires delta to be passed as a named argument.

There is no mention of alphas in the privacy_engine documentation, and I had to follow the code to figure it out.

How Has This Been Tested (if it applies)

N/A

Checklist

  • The documentation is up-to-date with the changes I made.
    N/A, no code changed
  • I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
    I could not find any topic of 'CLA' in the CONTRIBUTING document
  • All tests passed, and additional code has been covered with new tests.
    N/A, no code changed

Kevin-Abd added 2 commits May 19, 2022 13:57
Added `accountant` in line 113. PrivacyEngine has no function `get_privacy_spent(delta)`. Also, the call requires delta to be passed as a named argument.

Updated line 111 to note how a custom alpha list can be provided. There is no mention of `alphas` in the `privacy_engine` documentation, and I had to follow the code to figure it out.
fixed `delta=delta` in line 91
@facebook-github-bot
Copy link
Contributor

Hi @habedi77!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@Kevin-Abd
Copy link
Contributor Author

CLA signed

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 19, 2022
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@facebook-github-bot
Copy link
Contributor

@karthikprasad has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor
@karthikprasad karthikprasad left a comment

Choose a reason for hiding this comment

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

Thank you for spotting and fixing these :)

karthikprasad pushed a commit to karthikprasad/opacus that referenced this pull request May 23, 2022
Summary:
## Types of changes

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [x] Docs change / refactoring / dependency upgrade

## Motivation and Context / Related issue

Ambiguous information about `alphas` and minor bugs in FAQ

`privacy_engine` has no function `get_privacy_spent(delta)`, but it's `accountant` does.
Also, the call requires delta to be passed as a named argument.

There is no mention of `alphas` in the `privacy_engine` documentation, and I had to follow the code to figure it out.

## How Has This Been Tested (if it applies)
N/A

## Checklist

- [ ] The documentation is up-to-date with the changes I made.
*N/A, no code changed*
- [ ] I have read the **CONTRIBUTING** document and completed the CLA (see **CONTRIBUTING**).
*I could not find any topic of 'CLA' in the **CONTRIBUTING** document*
- [ ] All tests passed, and additional code has been covered with new tests.
*N/A, no code changed*

Pull Request resolved: pytorch#430

Reviewed By: ashkan-software

Differential Revision: D36531555

Pulled By: karthikprasad

fbshipit-source-id: 97ef2b309b657d0910769f10cf48fd5661004236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0