-
Notifications
You must be signed in to change notification settings - Fork 179
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
DOC: Array API support #1918
DOC: Array API support #1918
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.
Here is a deep review of the text. We can still aim to have this integrated today.
/intelci: run |
For new example run validation. |
/intelci: run |
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.
Further english suggestions.
doc/sources/array_api.rst
Outdated
`Data Parallel Control usm_ndarray <https://intelpython.github.io/dpctl/latest/index.html>`__ all computation | ||
will be only accomplished on CPU. | ||
|
||
Stock scikit-learn uses `config_context(array_api_dispatch=True)` for enabling Array API `support <https://scikit-learn.org/1.5/modules/array_api.html>`__. |
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.
Stock scikit-learn uses `config_context(array_api_dispatch=True)` for enabling Array API `support <https://scikit-learn.org/1.5/modules/array_api.html>`__. | |
Scikit-learn uses `config_context(array_api_dispatch=True)` for enabling Array API `support <https://scikit-learn.org/1.5/modules/array_api.html>`__. |
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.
Double check capitalization of Scikit-learn vs Scikit-Learn in this file, it could be that my suggestions to 'Scikit-Learn' are incorrect, but they need to be consistent.
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.
I would like to leave stock prefix here just for the context.
Everywhere in our docs and repository Scikit-learn
is used. If updates are required then that alignment could be done as a follow up in separate PR
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.
What does stock mean in this case?
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.
Stock means base or original scikit-learn: https://scikit-learn.org/stable/
I am referencing other to other parts of our docs where this is used.
Also it is used in docstrings everywhere through the repo.
/intelci: run |
doc/sources/array_api.rst
Outdated
`Data Parallel Control usm_ndarray <https://intelpython.github.io/dpctl/latest/index.html>`__ all computation | ||
will be only accomplished on CPU unless specified by a config_context with an available GPU device. |
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.
`Data Parallel Control usm_ndarray <https://intelpython.github.io/dpctl/latest/index.html>`__ all computation | |
will be only accomplished on CPU unless specified by a config_context with an available GPU device. | |
`Data Parallel Control usm_ndarray <https://intelpython.github.io/dpctl/latest/index.html>`__ all computations | |
will be performed only on CPU unless specified by a config_context with an available GPU device. |
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.
Why this suggestion is needed?
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.
Not strictly needed, but I'd say it sounds more grammatical.
reorder the sections
/intelci: run |
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.
Dependent on Davids concerns being properly addressed.
/intelci: run |
@mergify backport rls/2025.0.0-rls |
✅ Backports have been created
|
* DOC: Array API suport * Example for DBSCAN array API (cherry picked from commit cde94da) # Conflicts: # doc/sources/index.rst
Description
Docs update for functional support of array API in 2025.0 rls version