torch.multiprocessing.Queue Zeroes Out Tensors on Retrieval #149155
Labels
module: cuda
Related to torch.cuda, and CUDA support in general
module: multiprocessing
Related to torch.multiprocessing
module: windows
Windows support for PyTorch
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Describe the bug
When sending a CUDA tensor through a
torch.multiprocessing.Queue
, the received tensor contains only zeros instead of the expected values.I reproduced it in Windows 10 with Pytorch 2.5.1 and 2.6.0.
I couldn't reproduce it in Colab with Pytorch 2.5.1.
Minimally reproducible example:
Versions
cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @VitalyFedyunin @albanD @ptrblck @msaroufim @eqy
The text was updated successfully, but these errors were encountered: