Skip to content

Add fp16-overflow regression test#162401

Closed
malfet wants to merge 1 commit intogh/malfet/515/basefrom
gh/malfet/515/head
Closed

Add fp16-overflow regression test#162401
malfet wants to merge 1 commit intogh/malfet/515/basefrom
gh/malfet/515/head

Conversation

@malfet
Copy link
Copy Markdown
Contributor

@malfet malfet commented Sep 8, 2025

Stack from ghstack (oldest at bottom):

Discovered while debugging #160841 where sdpa returned NaNs, because during the computation intermediate values were cast back to fp16 before normalization, which was fixed by #161999 )

[ghstack-poisoned]
@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Sep 8, 2025
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Sep 8, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/162401

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit a37506f with merge base 25c170b (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

malfet added a commit that referenced this pull request Sep 8, 2025
Discovered while debugging
#160841 where sdpa returned
nans, because during the computation intermediate values were cast back to fp16 before normalization

ghstack-source-id: 860d77b
Pull Request resolved: #162401
@malfet malfet added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 8, 2025
@malfet malfet requested a review from drisspg September 8, 2025 18:00
@malfet
Copy link
Copy Markdown
Contributor Author

malfet commented Sep 8, 2025

@pytorchbot merge

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Copy link
Copy Markdown
Contributor

@drisspg drisspg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
Discovered while debugging pytorch#160841 where sdpa returned NaNs, because during the computation intermediate values were cast back to fp16 before normalization, which was fixed by pytorch#161999 )
Pull Request resolved: pytorch#162401
Approved by: https://github.com/Skylion007, https://github.com/drisspg
mansiag05 pushed a commit to mansiag05/pytorch that referenced this pull request Sep 22, 2025
Discovered while debugging pytorch#160841 where sdpa returned NaNs, because during the computation intermediate values were cast back to fp16 before normalization, which was fixed by pytorch#161999 )
Pull Request resolved: pytorch#162401
Approved by: https://github.com/Skylion007, https://github.com/drisspg
cleonard530 pushed a commit to cleonard530/pytorch that referenced this pull request Sep 22, 2025
Discovered while debugging pytorch#160841 where sdpa returned NaNs, because during the computation intermediate values were cast back to fp16 before normalization, which was fixed by pytorch#161999 )
Pull Request resolved: pytorch#162401
Approved by: https://github.com/Skylion007, https://github.com/drisspg
dsashidh pushed a commit to dsashidh/pytorch that referenced this pull request Sep 26, 2025
Discovered while debugging pytorch#160841 where sdpa returned NaNs, because during the computation intermediate values were cast back to fp16 before normalization, which was fixed by pytorch#161999 )
Pull Request resolved: pytorch#162401
Approved by: https://github.com/Skylion007, https://github.com/drisspg
@github-actions github-actions Bot deleted the gh/malfet/515/head branch October 9, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants