[BUG] CumlArray error while handling empty cupy array #4095
Labels
? - Needs Triage
Need team to review and classify
bug
Something isn't working
inactive-30d
inactive-90d
Describe the bug
CumlArray has a problem while wrapping empty cupy array. Depending on where the array has 0 dim, we can run into the following exception:
Steps/Code to reproduce bug
Used 21.08 nightly to test (rapidsai/rapidsai-core-dev-nightly:21.08-cuda11.2-devel-ubuntu18.04-py3.8 on V100-SXM2-16GB, driver 460.32.03).
Output:
Expected behavior
Return an empty cupy array in all cases, without error.
Additional context
This problem can be triggered if a model has parameter arrays with zero size (see #4033). (Admittedly it is a rare case.)
The text was updated successfully, but these errors were encountered: