Hi, you can use


torch.multiprocessing.SimpleQueue to let the child processes to put the results in the queue.


point-to-point communication 1 functions to send tensors between different distributed processes.


You may want to refer to this thread 3 for more explanation.