Use torch.multiprocessing.queue with cuda tensor

It’s actually not supported by CUDA. See details in the Windows docs.
https://pytorch.org/docs/stable/notes/windows.html#cuda-ipc-operations