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
{{ message }}
Repository navigation
cupy: __setitem__ with int array index fails when chunked #11730
needs attentionIt's been a while since this was pushed on. Needs attention from the owner or a maintainer.needs triageNeeds a response from a contributor
x.__setitem__(idx, ), where x is a dask array with cupy meta and idx is a dask array of integers, returns incorrect results when there are multiple chunks:
AssertionError: found values in 'a' and 'b' which differ by more than the allowed amount
E assert False
E + where False = allclose(array([ 0, 1, -1, -1, 4, 5, 6, 7, 8, 9]), array([ 0, 1, -1, -1, 4, -1, 6, 7, 8, 9]), equal_nan=True, **{})
the issue disappear if I set chunks=-1.
Note that this is both upstream and downstream of #11728.
needs attentionIt's been a while since this was pushed on. Needs attention from the owner or a maintainer.needs triageNeeds a response from a contributor
Activity
crusaderky commentedon Feb 7, 2025
#11728 adds an XFAILed unit test for this