Skip to content

[Pytorch] Enable aarch64 convert autovec only on clang#166739

Closed
Nicoshev wants to merge 1 commit intopytorch:mainfrom
Nicoshev:export-D85968395
Closed

[Pytorch] Enable aarch64 convert autovec only on clang#166739
Nicoshev wants to merge 1 commit intopytorch:mainfrom
Nicoshev:export-D85968395

Conversation

@Nicoshev
Copy link
Contributor

@Nicoshev Nicoshev commented Oct 31, 2025

Summary: We've noted issues with modern GCC versions. Until further investigation is carried, we'll leave the code only enabled on clang

Test Plan: CI

Differential Revision: D85968395

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168 @aditew01 @snadampal @milpuz01 @nikhil-arm @fadara01

Summary: We've noted issues with modern GCC versions. Until further investigation is carried, we'll leave the code only enabled on clang

Test Plan: CI

Differential Revision: D85968395
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 31, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit be3658b with merge base 239e7b5 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added the module: cpu CPU specific problem (e.g., perf, algorithm) label Oct 31, 2025
@meta-codesync
Copy link

meta-codesync bot commented Oct 31, 2025

@Nicoshev has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85968395.

@Nicoshev
Copy link
Contributor Author

@pytorchbot label "module: arm"

@pytorch-bot pytorch-bot bot added the module: arm Related to ARM architectures builds of PyTorch. Includes Apple M1 label Oct 31, 2025
@Nicoshev Nicoshev added ciflow/trunk Trigger trunk jobs on your pull request ciflow/linux-aarch64 linux aarch64 CI workflow labels Oct 31, 2025
@Nicoshev Nicoshev added the release notes: cpu (aarch64) release notes category for aarch64, arm, etc. label Oct 31, 2025
Copy link
Collaborator

@Skylion007 Skylion007 left a comment

Choose a reason for hiding this comment

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

Darn, not even fixed in latest version?

@robert-hardwick
Copy link
Collaborator

Thanks for the quick response on this.

Darn, not even fixed in latest version?
gcc (GCC) 13.3.1 20240611 (Red Hat 13.3.1-2)

It might be a different issue to this https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117001 , havn't done any investigation. This say's it is fixed in 13.3.0

Just done a quick test of this PR , looks like the test failures I reported pass. Will confirm again once it's landed.

And then we can upgrade jammy to GCC13 and investigate the problem further.

Copy link
Collaborator

@robert-hardwick robert-hardwick 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 until we can investigate further.

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot
Copy link
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

@fadara01
Copy link
Collaborator

Many thanks for the immediate fix :)

BoyuanFeng pushed a commit that referenced this pull request Oct 31, 2025
Summary: We've noted issues with modern GCC versions. Until further investigation is carried, we'll leave the code only enabled on clang

Test Plan: CI

Differential Revision: D85968395

Pull Request resolved: #166739
Approved by: https://github.com/mcfi, https://github.com/Skylion007, https://github.com/robert-hardwick
etaf pushed a commit to etaf/pytorch-inductor-xpu that referenced this pull request Nov 4, 2025
Summary: We've noted issues with modern GCC versions. Until further investigation is carried, we'll leave the code only enabled on clang

Test Plan: CI

Differential Revision: D85968395

Pull Request resolved: pytorch#166739
Approved by: https://github.com/mcfi, https://github.com/Skylion007, https://github.com/robert-hardwick
Anallear added a commit to Anallear/pytorch that referenced this pull request Jan 19, 2026
Anallear added a commit to Anallear/pytorch that referenced this pull request Jan 19, 2026
Anallear added a commit to Anallear/pytorch that referenced this pull request Jan 19, 2026
Anallear added a commit to Anallear/pytorch that referenced this pull request Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/linux-aarch64 linux aarch64 CI workflow ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged meta-exported module: arm Related to ARM architectures builds of PyTorch. Includes Apple M1 module: cpu CPU specific problem (e.g., perf, algorithm) release notes: cpu (aarch64) release notes category for aarch64, arm, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants