-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[Build] Make PyTorch compilable with gcc-14 on ARM #157867
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/157867
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 46 PendingAs of commit 0d24f16 with merge base dea4864 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, how do we validate it currently ? As far as I know there is no CI with gcc-14 on arm in OSS
Alas, manually, I've just |
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge -f "Lint is green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
Just adding that this ICE issue has been identified as fixed in GCC15 but requires backporting to GCC14 - bug tracker here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121027 linking issue with some relevant context #157626 |
Stack from ghstack (oldest at bottom):
Fixes numerous ICEs in vreg allocations for SVE+BF16
And one in RTL-expand pass while compiling Activation.cpp
Interestingly enough, attempt to compile
Unfold2d.cppfor-march=armv8-a+sve(i.e. without sve+bf16) support also causes ICEWhich could be worked around by adding
Fixes #157842
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168