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

Update np.Inf -> np.inf per numpy 2.0 release #2527

Closed

Commits on Jun 17, 2024

  1. Update np.Inf -> np.inf per numpy 2.0 release

    Summary:
    Numpy 2.0 was released yesterday ([post](https://numpy.org/news/#numpy-20-release-date-june-16)) and accordingly a couple of tests started breaking due to usage of a now-outdated API. This updates references to the now-deprecated `np.Inf` to `np.inf`, which is available in both old and new versions of numpy and so shouldn't create any issues.
    
    Our early-stopping tutorial is still breaking due to a similar issue in TensorBoard (tensorflow/tensorboard#6869), so not all tests are expected to pass as of now.
    
    Differential Revision: D58672474
    Bernie Beckerman authored and facebook-github-bot committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    f9514a8 View commit details
    Browse the repository at this point in the history