Zero-copy deserialization for np.recarray

How severe does this issue affect your experience of using Ray?

  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.

np.ndarray can be passed around with zero copy to ray remote functions. However, np.recarray is passed by copy. Conversion between the two is simple enough; rec_array.view(np.ndarray) and vice versa. np.recarray is more convenient to use than np.ndarray in general. How can one add zero copy serialization support for np.recarray? Can I add a custom serialization somehow? Thank you!

I’ve never heard about this issue before. Can you create an issue to the Ray Github issue page and tag @rkoooo567 there?