Skip to content

Fix test to be robust against fp numerics #7796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Fix test to be robust against fp numerics #7796

merged 1 commit into from
Jan 21, 2025

Conversation

mergennachin
Copy link
Contributor

Copy link

pytorch-bot bot commented Jan 21, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 4 Pending

As of commit 26deda8 with merge base 948fba6 (image):

NEW FAILURE - The following job has failed:

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 21, 2025
@mergennachin mergennachin requested a review from ezyang January 21, 2025 19:18
@mergennachin
Copy link
Contributor Author

https://github.com/pytorch/pytorch/actions/runs/12890471648/job/35941113858

My guess is that it is for even length case. p50 means taking the average of two middle elements, which may cause numerical differences...

For odd length cases, it should be exact though.

@mergennachin mergennachin merged commit f6e3fbd into main Jan 21, 2025
43 of 46 checks passed
@mergennachin mergennachin deleted the fix_test branch January 21, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants