Skip to content

[CI] Fix Linux aarch64 nightly wheel uploads - #1760

Merged
vmoens merged 1 commit into
pytorch:mainfrom
peterdsharpe:fix-aarch64-nightly-upload
Aug 5, 2026
Merged

[CI] Fix Linux aarch64 nightly wheel uploads#1760
vmoens merged 1 commit into
pytorch:mainfrom
peterdsharpe:fix-aarch64-nightly-upload

Conversation

@peterdsharpe

Copy link
Copy Markdown
Contributor

Description

The aarch64 nightly saga continues (#1755, #1756, #1757).

In last night's run, aarch64 builds worked just fine on Python 3.10-3.14t.

However, uploads failed because they tried to upload to S3+PyPI, rather than just PyPI. The S3 half fails because the PyTorch org's OIDC trust policy doesn't include pytorch/tensordict (unlike vision/audio/ao etc.). Because these S3 and PyPI steps were bundled, the PyPI step never ran.

This fixes that by borrowing the upload code from the other tensordict-nightly platforms.

Side notes:

  • Python 3.15/3.15t builds fail for an unrelated reason (Fix Python 3.15 smoke tests on Windows and Linux test-infra#8357 made 3.15 smoke tests resolve all runtime deps from download.pytorch.org, where pyvers isn't mirrored, I'll chase that separately). Not aarch64 specific, but aarch64 is the only platform that attempts a 3.15/3.15t build (other platforms stop at 3.14), so it's surfacing here. Not immediately critical to fix as 3.15 isn't released yet, but something to fix later.
  • The upload runs with !cancelled() specifically because 3.15/3.15t is a WIP - this lets successful builds (3.10-3.14t) still publish.
  • No continue-on-error on the new upload job: if uploads break again I'd rather the run go red than silently green.

Fingers crossed...

Motivation and Context

Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax close #15213 if this solves the issue #15213

  • I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes

What types of changes does your code introduce? Remove all that do not apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds core functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (update in the documentation)
  • Example (update in the folder of examples)

Checklist

Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

  • I have read the CONTRIBUTION guide (required)
  • My change requires a change to the documentation.
  • I have updated the tests accordingly (required for a bug fix or a new feature).
  • I have updated the documentation accordingly.

@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 5, 2026
@github-actions github-actions Bot added the CI label Aug 5, 2026

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

Thanks
We'll dig into 3.15 later. 3.14 compatibility isn't a fully told story either so we'll need to think this through

@vmoens
vmoens merged commit b5f1efd into pytorch:main Aug 5, 2026
45 of 48 checks passed
@peterdsharpe
peterdsharpe deleted the fix-aarch64-nightly-upload branch August 5, 2026 19:48
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