When the torch.masked_select operator passes in the same parameters, it behaves differently on CPU and GPU. #89416
Labels
module: masked operators
Masked operations
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
Test on the CPU:
result: IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)
Test on the CPU:
result: IndexError: tensor(0.4230, device='cuda:0', dtype=torch.float64)
When the torch.masked_select operator passes in the same parameters, it behaves differently on CPU and GPU.
Versions
pytorch: 1.12.1
Python version: 3.8
CUDA/cuDNN version: cuDNN 11.3
GPU models and configuration: RTX3060
Operating System锛歐indows
The text was updated successfully, but these errors were encountered: