Skip to content

[ci][aarch64] add Linux aarch64 wheels#3359

Merged
jerryzh168 merged 1 commit intopytorch:mainfrom
puneetmatharu:add-support-for-aarch64-wheels
Jan 30, 2026
Merged

[ci][aarch64] add Linux aarch64 wheels#3359
jerryzh168 merged 1 commit intopytorch:mainfrom
puneetmatharu:add-support-for-aarch64-wheels

Conversation

@puneetmatharu
Copy link
Copy Markdown
Contributor

Adds support for also building Linux AArch64 wheels; currently ao only releases Linux x86 wheels.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Nov 20, 2025

🔗 Helpful Links

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

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

❗ 2 Active SEVs

There are 2 currently active SEVs. If your PR is affected, please view them below:

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

@meta-cla meta-cla 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 Nov 20, 2025
@puneetmatharu puneetmatharu changed the title [ci][aarch64] add aarch64 wheels [ci][aarch64] add Linux aarch64 wheels Nov 20, 2025
@puneetmatharu
Copy link
Copy Markdown
Contributor Author

@jerryzh168 I was made aware that I should contact you to take a look at this. Any chance I can get some help pushing this through?

@puneetmatharu puneetmatharu force-pushed the add-support-for-aarch64-wheels branch from 94bcc2e to 60a1d7d Compare November 26, 2025 14:15
@puneetmatharu puneetmatharu force-pushed the add-support-for-aarch64-wheels branch from 60a1d7d to 3cd8897 Compare November 27, 2025 09:23
@aditew01
Copy link
Copy Markdown

aditew01 commented Dec 8, 2025

@huydhn can you please take a look and review the changes?

@puneetmatharu
Copy link
Copy Markdown
Contributor Author

Hi @huydhn following up on this to see if we can get some traction on this PR.

@puneetmatharu
Copy link
Copy Markdown
Contributor Author

@huydhn bump. Could you please take a look as it would be beneficial for us to have AArch64 wheels available on PyPI.

Copy link
Copy Markdown
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

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

CI changes LGTM! But let's wait for TorchAO maintainers to give the final stamp

@huydhn huydhn requested a review from jerryzh168 January 20, 2026 01:58
@puneetmatharu
Copy link
Copy Markdown
Contributor Author

Hi @jerryzh168 , any chance you could take a look and get this pushed through? Thanks so much.

@gottbrath
Copy link
Copy Markdown

@jerryzh168 - are you the right reviewer for this? If not can you reassign?

@jerryzh168
Copy link
Copy Markdown
Contributor

I'll ask in our team group and get back

@jerryzh168
Copy link
Copy Markdown
Contributor

didn't hear back concerns from the team, I think we can merge

@jerryzh168
Copy link
Copy Markdown
Contributor

I think we can merge, is this tested?

@puneetmatharu
Copy link
Copy Markdown
Contributor Author

We have tested the build with the updated env_var_script_linux.sh and can confirm the build works and includes KleidiAI. To confirm this we ran the unit tests test_accuracy_kleidiai and test_accuracy_aten:

❯ pytest -k test_accuracy_kleidiai -vv 
========================================================================= test session starts ==========================================================================
platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0 -- /home/punmat01/venv-ao/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default'
rootdir: /home/punmat01/ao
configfile: pyproject.toml
plugins: hypothesis-6.148.2
collected 10592 items / 10591 deselected / 15 skipped / 1 selected                                                                                                     

quantization/test_int8_dynamic_activation_intx_weight_config_v1.py::TestInt8DynamicActivationIntxWeight::test_accuracy_kleidiai PASSED                           [100%]

❯ pytest -k test_accuracy_aten    
========================================================================= test session starts ==========================================================================
platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0
rootdir: /home/punmat01/ao
configfile: pyproject.toml
plugins: hypothesis-6.148.2
collected 10592 items / 10591 deselected / 15 skipped / 1 selected                                                                                                     

quantization/test_int8_dynamic_activation_intx_weight_config_v1.py .                                                                                             [100%]

Both completed successfully.

@nikhil-arm
Copy link
Copy Markdown
Contributor

@jerryzh168 is there a wider test suite you would like us to run?

@jerryzh168
Copy link
Copy Markdown
Contributor

We have tested the build with the updated env_var_script_linux.sh and can confirm the build works and includes KleidiAI. To confirm this we ran the unit tests test_accuracy_kleidiai and test_accuracy_aten:

I think that should be enough, thanks

@jerryzh168 jerryzh168 merged commit 917a02b into pytorch:main Jan 30, 2026
3 checks passed
@puneetmatharu puneetmatharu deleted the add-support-for-aarch64-wheels branch January 31, 2026 07:55
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants