Skip to content

[release 2.13] Remove docker image pinning from s390x manywheel builds - #186992

Merged
atalman merged 1 commit into
release/2.13from
atalman/s390x-unpin-docker-2.13
Jun 10, 2026
Merged

atalman merged 1 commit into
release/2.13from
atalman/s390x-unpin-docker-2.13

Conversation

@atalman

@atalman atalman commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

The release-only DOCKER_IMAGE_PIN appends the .ci/docker tree hash to the manywheel builder image tags so the release uses a reproducible toolchain. This was applied to all manywheel OSes, including s390x.

Root cause: Unlike the x86_64 and aarch64 builder images, the s390x builder image is built locally on the self-hosted linux.s390x runners and is never published to docker.io under the pinned tag. The pinned pull therefore fails:

Error: initializing source docker://pytorch/manylinuxs390x-builder:cpu-s390x-<hash>:
reading manifest ... requested access to the resource is denied

See failing job: https://github.com/pytorch/pytorch/actions/runs/27303569380/job/80655395419

Fix: Drop linux-s390x from MANYWHEEL_OSES so s390x falls back to the floating cpu-s390x tag, while x86_64 and aarch64 keep their pinned tags. Regenerated the s390x nightly workflow accordingly.

Test Plan

python3 .github/scripts/generate_ci_workflows.py
grep -c "cpu-s390x-f38ba0b" .github/workflows/generated-linux-s390x-binary-manywheel-nightly.yml   # 0
grep -m2 docker_image_tag_prefix .github/workflows/generated-linux-aarch64-binary-manywheel-nightly.yml  # still pinned

This PR was authored with the help of an AI assistant.

The release-only DOCKER_IMAGE_PIN appends the .ci/docker tree hash to the
manywheel builder image tags so the release uses a reproducible toolchain.
This was applied to all manywheel OSes, including s390x.

Root cause: unlike the x86_64 and aarch64 builder images, the s390x builder
image is built locally on the self-hosted linux.s390x runners and is never
published to docker.io under the pinned tag. The pinned pull therefore fails:

  Error: initializing source docker://pytorch/manylinuxs390x-builder:cpu-s390x-<hash>:
  reading manifest ... requested access to the resource is denied

Fix: drop linux-s390x from MANYWHEEL_OSES so s390x falls back to the floating
"cpu-s390x" tag, while x86_64 and aarch64 keep their pinned tags. Regenerated
the s390x nightly workflow accordingly.

Test Plan:
- Regenerated workflows and confirmed the pin is gone only for s390x:

  ```
  python3 .github/scripts/generate_ci_workflows.py
  grep -c "cpu-s390x-f38ba0b" .github/workflows/generated-linux-s390x-binary-manywheel-nightly.yml   # 0
  grep -m2 docker_image_tag_prefix .github/workflows/generated-linux-aarch64-binary-manywheel-nightly.yml  # still pinned
  ```

Authored-with: Claude (AI assistant)
@atalman
atalman requested a review from a team as a code owner June 10, 2026 22:58
@pytorch-bot

pytorch-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

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

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Jun 10, 2026
@atalman
atalman merged commit da8ca4e into release/2.13 Jun 10, 2026
37 of 59 checks passed
@github-actions
github-actions Bot deleted the atalman/s390x-unpin-docker-2.13 branch July 11, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants