Skip to content

Tutorial deep_atlas shows a huge negative loss in PyTorch 22.09-23.03 on some GPUs #1336

@mingxin-zheng

Description

@mingxin-zheng

Describe the bug

On V100/A100, the tutorial deep_atlas is reporting correct number on the reg_loss in the 42nd cell when printing the losses

print(f"\n\nBest reg_net validation loss: {best_reg_validation_loss}")
print(f"Best seg_net validation loss: {best_seg_validation_loss}")

image

On Geforce 3080Ti/3090Ti and L40, the reg loss is a large negative number, for example:

image

To Reproduce
Steps to reproduce the behavior:

  1. Install MONAI 1.0.1 or 1.2rc4 on Nvidia PyTorch 22.09 or 23.03 container

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions