The failure using multiple workers is caused by the dtype mismatch.
It seems that some of your tensors are DoubleTensors, while FloatTensors are expected.
Could you explain your use case a bit and how you’ve loaded the data?
This error might be raised, if you’ve loaded the data using numpy without transforming it to float32, as numpy uses float64 by default.