I was using Hub the Dataset format for AI and I ran function().eval(ds.tensor[:].numpy(), ds
which gave me a zero division error.
However when I ran function().eval(ds.tensor[:].numpy(), ds, num_workers=2)
I did not get the error.
I was using Hub version: 2.2.4.