When I run the following code,
import torch.multiprocessing as mp import torch def f(q): t = torch.ones([2,3]) q.put(t) if __name__ == \'__main__\':