torch.nn.MultiLabelMarginLoss has different performance on CPU and GPU. #89408
Labels
module: loss
Problem is related to loss function
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: RuntimeError: argument #2 'target' is out of range
Test on the GPU:
result: tensor(5.7001, device='cuda:0')
torch.nn.MultiLabelMarginLoss has different performance 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: