-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Description
Is your feature request related to a problem? Please describe.
In a recent PR from me (gh-20766), 6/14 commits and 6/9 CI runs are used to address Array API incompatibility. This created unnecessary burden on the CI infrastructure and lengthens the development cycle.
Describe the solution you'd like.
I’d like to improve the situation by running those compatibility tests locally.
Ideally, I’d like to have the following:
- An option in
dev.py
to run all the backends for xp-compatible tests. (Or maybe, do this by default.) Update: the option (-b
) already exists. - Update the dev doc to advertise this option. Update: DOC/DEV: mention
-b
option in contributor guide on testing #20849 - Maybe update
requirements.txt
to include the alternative backends.
Describe alternatives you've considered.
The first thing I did after seeing the CI errors was to install Jax, array_api_strict, and pytorch. I looked at the CI log to learn how to install them. (Basically with the [cpu] option.) Then I played a bit with each of them in a Jupyter Notebook. This helps understanding some of the errors, and I tested that the fixes at least work with the numpy backend. However, because I don’t know how to run the tests with other backends, I leave to the CI to run them.
Additional context (e.g. screenshots, GIFs)
No response