Using torch.Tensor over multiprocessing.Queue + Process fails

Hi @Yi_Zhang, it will be the latter:

For each get() used to fetch a task, a subsequent call to task_done() tells the queue that the processing on the task is complete.

This is the toy example I had used to check it for myself:

Feel free to modify it to test for multi-input multi-output queue processing.

1 Like