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
Hmm, it seems that the like kwarg for numpy array creation was only introduced in numpy version 1.20
This means my fix works if you have a recent version of numpy, but is now breaking the dask CI tests because the minimum numpy dependency allowed is version 1.15.1 See dask/community#136
Activity
jrbourbeau commentedon Mar 5, 2021
Thanks for tracking this @pentschev!
hristog commentedon Mar 12, 2021
For reference - I've documented some affected by #7183 behavior under dask/dask-ml#803 as well.
TomAugspurger commentedon Mar 14, 2021
cc @thomasjpfan, in case you have a chance to look at the bincount issue from #7183.
GenevieveBuckley commentedon Mar 15, 2021
@pentschev can you try this and see if it fixes the cupy tests for bincount? #7391
pentschev commentedon Mar 15, 2021
@GenevieveBuckley thanks for pinging me, but unfortunately I still see the same failure with #7391 :
GenevieveBuckley commentedon Mar 15, 2021
Thanks Peter, I might take more of a look at it today
GenevieveBuckley commentedon Mar 15, 2021
It seems
.metais always being made a numpy array (rather than updating to whatever the array type actually is). Let me see if I can change thatGenevieveBuckley commentedon Mar 16, 2021
Thanks Peter! Fixed in this commit: 6bf5340
I have cupy version 9.0.0b3 installed on my machine locally, and the cupy
test_bincountpasses with this change.As you say, the other tests related to #6997 are still failing. PR #7391 doesn't address those.
GenevieveBuckley commentedon Mar 16, 2021
Hmm, it seems that the
likekwarg for numpy array creation was only introduced in numpy version 1.20This means my fix works if you have a recent version of numpy, but is now breaking the dask CI tests because the minimum numpy dependency allowed is version 1.15.1 See dask/community#136
Not sure what's the best way to handle it.
pentschev commentedon Mar 16, 2021
I added #7391 (comment) on the PR, using
array_safeshould resolve issues with older NumPy versions. 😄Thanks @GenevieveBuckley for working on that!