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

Add a test run with torch with torch.set_default_dtype(torch.float64) #278

Open
ev-br opened this issue Mar 17, 2025 · 1 comment
Open

Comments

@ev-br
Copy link
Member

ev-br commented Mar 17, 2025

To avoid things like gh-273.

@ev-br
Copy link
Member Author

ev-br commented Mar 17, 2025

Actually,

$ export ARRAY_API_TESTS_SKIP_DTYPES=uint16,uint32,uint6
$ export ARRAY_API_TESTS_MODULE="exec('from array_api_compat import torch as xp; import torch; torch.set_default_dtype(torch.float64)')"
$ pytest array_api_tests -v --max-examples=1_000 -v --xfails-file ../array-api-compat/torch-xfails.txt --skips-file ../array-api-compat/torch-skips.txt

does not bring new failures apart from gh-273. So maybe it's a nice to have, not high-prio.

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

No branches or pull requests

1 participant