-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH Add Array Api compatibility for mean_squared_error
#29142
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @Tialo.
I verified that the tests pass with cuda and mps devices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but let's see if the tests pass on CUDA GPUs with the following manually triggered CI run on our new CUDA CI infrastructure:
https://github.com/scikit-learn/scikit-learn/actions/runs/9399022364
For information, I tested locally with on Apple M1 to check the device="mps" case and the test passes:
|
…t-learn into array-api/mean_squared_error
…y-api/mean_squared_error
I indeed forgot to merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM CUDA tests are green, thanks for the PR.
Towards #26024
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Any other comments?