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

Inference Test Failing #1814

Closed
juanitorduz opened this issue Jun 17, 2024 · 2 comments
Closed

Inference Test Failing #1814

juanitorduz opened this issue Jun 17, 2024 · 2 comments
Labels

Comments

@juanitorduz
Copy link
Contributor

juanitorduz commented Jun 17, 2024

It looks that some inference tests are failing: https://github.com/pyro-ppl/numpyro/actions/runs/9548151326/job/26314886730

  • Some of them is because of latest numpy==2.0.0 release
AttributeError: `np.issctype` was removed in the NumPy 2.0 release. Use `issubclass(rep, np.generic)` instead.
  • Others are because
E       OverflowError: Python int too large to convert to C long

Summary

FAILED test/contrib/test_tfp.py::test_transformed_distributions - AttributeError: `np.issctype` was removed in the NumPy 2.0 release. Use `issubclass(rep, np.generic)` instead.
FAILED test/contrib/test_tfp.py::test_sample_unwrapped_tfp_distributions[Beta-args1] - OverflowError: Python int too large to convert to C long
FAILED test/contrib/test_tfp.py::test_sample_unwrapped_tfp_distributions[Binomial-args2] - OverflowError: Python int too large to convert to C long
FAILED test/contrib/test_tfp.py::test_sample_unwrapped_tfp_distributions[Dirichlet-args5] - OverflowError: Python int too large to convert to C long
FAILED test/contrib/test_tfp.py::test_sample_unwrapped_tfp_distributions[InverseGamma-args7] - OverflowError: Python int too large to convert to C long
FAILED test/contrib/test_tfp.py::test_sample_unwrapped_mixture_same_family - OverflowError: Python int too large to convert to C long
@fehiepsi
Copy link
Member

I think we can filter out these tests while waiting for the next tfp release.

@fehiepsi
Copy link
Member

Closed. Thanks for fixing the issue, @juanitorduz!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants