pytorch / opacus

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

Fix the doctest due to numpy 2.0 #654

Closed HuanyuZhang closed 3 months ago

HuanyuZhang commented 3 months ago

Summary: Doctest fails due to numpy's upgrade into 2.0, which changes the way of printing. https://github.com/astropy/astropy/issues/15095

Differential Revision: D58873298

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D58873298

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D58873298

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D58873298

facebook-github-bot commented 3 months ago

This pull request was exported from Phabricator. Differential Revision: D58873298

facebook-github-bot commented 3 months ago

This pull request has been merged in pytorch/opacus@1235e1e1136b6a066e26a5011f3de42bf7dd19c0.