pytorch / opacus

Training PyTorch models with differential privacy
https://opacus.ai
Apache License 2.0
1.68k stars 338 forks source link

Install dependencies for website build #558

Closed ffuuugor closed 1 year ago

ffuuugor commented 1 year ago

As reported in #557, API reference page on our website was broken (nothing to link because it's fixed now)

Here's an example of a failed build:

WARNING: autodoc: failed to import module 'accountants.gdp' from module 'opacus'; the following exception was raised:
No module named 'numpy'
WARNING: autodoc: failed to import module 'accountants.accountant' from module 'opacus'; the following exception was raised:
No module named 'numpy'
WARNING: autodoc: failed to import module 'accountants.rdp' from module 'opacus'; the following exception was raised:
No module named 'numpy'
WARNING: autodoc: failed to import module 'accountants.utils' from module 'opacus'; the following exception was raised:
No module named 'numpy'

This PR updates dependencies for the website building action

(+ black is updated, so bunch of lint fixes included)

facebook-github-bot commented 1 year ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

@ffuuugor has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 1 year ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

@ffuuugor has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 1 year ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

@ffuuugor has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 1 year ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

@ffuuugor has updated the pull request. You must reimport the pull request before landing.

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

@ffuuugor merged this pull request in pytorch/opacus@affcf224cd26d0657ff76bdd8d7c58710e1a6215.