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

Test: ignore numpy casting warnings #107

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Sep 29, 2023

Fixes #106

@samuela
Copy link

samuela commented Sep 30, 2023

Just tested and can confirm it fixes #106. Thank you @jakevdp ! 🎸

@copybara-service copybara-service bot merged commit 2e94dae into jax-ml:main Oct 2, 2023
10 checks passed
hawkinsp added a commit to hawkinsp/ml_dtypes that referenced this pull request Oct 9, 2023
This fixes the spurious cast warnings seen in jax-ml#106, which occured when, for example, casting a NaN float to a bfloat16. Casting NaNs between floating point types should not warn in NumPy.

Reverts jax-ml#107, since we now fix rather than suppressing the errors.
hawkinsp added a commit to hawkinsp/ml_dtypes that referenced this pull request Oct 9, 2023
This fixes the spurious cast warnings seen in jax-ml#106, which occured when, for example, casting a NaN float to a bfloat16. Casting NaNs between floating point types should not warn in NumPy.

Reverts jax-ml#107, since we now fix rather than suppressing the errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failures on aarch64-darwin
3 participants