Skip to content

Improve AMP stability#60

Open
michaelmckinsey1 wants to merge 6 commits intoLBANN:mainfrom
michaelmckinsey1:fix-amp
Open

Improve AMP stability#60
michaelmckinsey1 wants to merge 6 commits intoLBANN:mainfrom
michaelmckinsey1:fix-amp

Conversation

@michaelmckinsey1
Copy link
Copy Markdown
Collaborator

  • Compute dice loss in FP32 to avoid val_dice_score=nan
  • Use BF16 to prevent numerical overflow.
  • The datatype for AMP is now centrally configurable in ScaFFold/utils/data_types.py for testing`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant