Skip to content

[CI] Fix Linux aarch64 nightly wheel builds - #1757

Merged
vmoens merged 1 commit into
pytorch:mainfrom
peterdsharpe:codex/fix-aarch64-nightly-build-command
Aug 5, 2026
Merged

[CI] Fix Linux aarch64 nightly wheel builds#1757
vmoens merged 1 commit into
pytorch:mainfrom
peterdsharpe:codex/fix-aarch64-nightly-build-command

Conversation

@peterdsharpe

Copy link
Copy Markdown
Contributor

Today's nightly build for the new Linux aarch64 target (added by my previous PR #1756) failed because of a pretty silly shell command-scoping bug: only the initial sed command ran through test-infra's Conda wrapper. Everything after the first &&, including pip wheel, ran outside the prepared build environment.

Log:
https://github.com/pytorch/tensordict/actions/runs/30919780779

This fixes that by moving the complete nightly wheel build into a small script, so the whole sequence runs inside the Conda environment and pyproject.toml is restored even if the build fails. It also builds with --no-deps, since test-infra has already installed nightly PyTorch, and installs the split libpython-static package that CMake needs for Linux Python 3.15/3.15t builds.

I reproduced the full Linux aarch64 matrix natively (Python 3.10–3.15, including 3.14t and 3.15t). All eight wheels built successfully, passed test-infra's manylinux repair step, and passed twine check.

@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 Aug 4, 2026
@github-actions github-actions Bot added the CI label Aug 4, 2026
@peterdsharpe
peterdsharpe marked this pull request as ready for review August 4, 2026 22:52

@vmoens vmoens left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@vmoens
vmoens merged commit 720d743 into pytorch:main Aug 5, 2026
46 of 47 checks passed
@peterdsharpe
peterdsharpe deleted the codex/fix-aarch64-nightly-build-command branch August 5, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI 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.

2 participants