You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beckernick
changed the title
[BUG] CPU dispatch fails with keyword arguments that can't be coerced to an array-like object by existing utilities
[BUG] CPU dispatch fails with arguments that can't be coerced to an array-like object by existing utilities
Feb 8, 2023
…ds during CPU dispatching (#5236)
This PR:
- Updates the CPU dispatching logic to support keyword arguments that are numeric, boolean, and strings (i.e., things that can't be coerced to cuml arrays). It doesn't support passing sequences, as I believe this use case isn't necessary
- Makes a minor update to the tests to test this dispatching in principle. We may want to expand the testing of keyword arguments in general, but as this is likely worth a broader discussion/test expansion I thought it might be out of scope for this small PR
Closes#5218
This is a replacement for #5223
Authors:
- Nick Becker (https://github.com/beckernick)
- Dante Gama Dessavre (https://github.com/dantegd)
Approvers:
- Dante Gama Dessavre (https://github.com/dantegd)
URL: #5236
CPU dispatching fails when passing arguments that can't be processed by the existing dispatch and input_utils machinery (such as scalars or Booleans)
We fail here due essentially due to:
cuml/python/cuml/internals/base.pyx
Lines 622 to 630 in bd138d8
Environment: Nightly 23.02
The text was updated successfully, but these errors were encountered: