pytorch / opacus

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

Fix the doctest due to numpy 2.0 #654

Closed HuanyuZhang closed 5 months ago

HuanyuZhang commented 5 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 5 months ago

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

facebook-github-bot commented 5 months ago

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

facebook-github-bot commented 5 months ago

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

facebook-github-bot commented 5 months ago

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

facebook-github-bot commented 5 months ago

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