pytorch-distributed icon indicating copy to clipboard operation
pytorch-distributed copied to clipboard

Can't pickle <function main_worker

Open Asunatan opened this issue 2 years ago • 0 comments

When I used multiprocessing distributed, I encountered an error: Can't pickle <function main_worker at 0x7f1c444e9d30>: attribute lookup main_worker on main failed. I found this error even if I did not make any changes to the multiprocessing distributed.py Can you help me?

Asunatan avatar Dec 04 '22 08:12 Asunatan