Ray Offline Inference: Division by Zero error

Hello,

I am trying to trigger offline inference flow on ray cluster and getting this error

ZeroDivisionError: division by zero
raise e.with_traceback(None) from SystemException()
ray/data/exceptions.py", line 89, in handle_trace
copy._plan.execute()

Can someone give pointers on what it is about? Running typical offline batch inference flow and this failure happens during the writing of the inference result.

Thank you

Hi Monil,

Just curious is this the same error mentioned here? [Ray Data] Zero Division Error when pyarrow block table nbytes is small and table.num_rows is large, integer casting leads to zero division · Issue #54385 · ray-project/ray · GitHub

If it is can you try the solution that they discussed in the thread?