Skip to content

Commit

Permalink
Use properly imported MatDescriptor for cupy dispatch registr…
Browse files Browse the repository at this point in the history
…ation (#7868)
  • Loading branch information
charlesbluca committed May 30, 2023
1 parent 61efdfe commit 3286d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/protocol/cupy.py
Expand Up @@ -85,7 +85,7 @@ def dask_deserialize_cupy_ndarray(header, frames):
def reduce_matdescriptor(other):
# Pickling MatDescriptor errors
# xref: https://github.com/cupy/cupy/issues/3061
return cupy.cusparse.MatDescriptor.create, ()
return MatDescriptor.create, ()

copyreg.pickle(MatDescriptor, reduce_matdescriptor)

Expand Down

0 comments on commit 3286d2f

Please sign in to comment.