-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Remove __ubsan_ignore_undefined__ #143252
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/143252
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 858854d with merge base 4273e1a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "topic: not user facing" |
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
63f80f8
to
858854d
Compare
Are you sure? I'm pretty sure the ignore undefined is at least needed to suppress complaints about signed integer overflow |
They are not triggered in the tests, so currently it is safe. Furthermore, if that happens in re-enabled tests or new tests, we should fix the overflows, perhaps by clipping the results to the upper type bounds like INT_MAX to minimise numerical errors. |
The purpose of removing the annotations is to disclose the hidden bugs and find a way to fix them. |
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Fixes #ISSUE_NUMBER
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168