Closed Oaklight closed 2 years ago
torch.multiprocessing
multiprocess
spawn
multiprocessing
torch,multiprocessing
parallelformers/parallelize.py
Title
torch.multiprocessing
withmultiprocess
Description
spawn
inmultiprocessing
andtorch,multiprocessing
is not properly handled by IPython, which is the backend for popular Jupyter. Fixed by replacingtorch.multiprocessing
withmultiprocess
inparallelformers/parallelize.py
Linked Issues