Not that I can think of. I believe that you need to use the spawn multiprocessing spawn method for it, and be careful about the things mentioned in http://pytorch.org/docs/master/notes/multiprocessing.html 395