Skip to content

Move to stable binaries 2.13#3933

Merged
atalman merged 3 commits into
mainfrom
move-to-stable-binaries-2.13
Jul 8, 2026
Merged

Move to stable binaries 2.13#3933
atalman merged 3 commits into
mainfrom
move-to-stable-binaries-2.13

Conversation

@atalman

@atalman atalman commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Move the tutorials CI to the stable PyTorch 2.13 binaries for the 2.13 release, mirroring #3891 (which moved to 2.12).

  • .ci/docker/requirements.txt: torch==2.12 -> torch==2.13

AI assistance (Claude) was used for this change.

@pytorch-bot

pytorch-bot Bot commented Jul 8, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

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

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

@meta-cla meta-cla Bot added the cla signed label Jul 8, 2026
awscliv2==2.1.1 imports pkg_resources, which setuptools>=81 removed. The
fresh CI docker image (rebuilt by the torch bump) picked up a newer setuptools,
breaking `awsv2 -i` at the start of .jenkins/build.sh. Unrelated to torch 2.13.

Co-authored-by: Claude
@atalman

atalman commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

The build failures on the previous commit were not caused by the torch 2.13 bump. All 15 shards died at the first awsv2 -i in .jenkins/build.sh with:

ModuleNotFoundError: No module named 'pkg_resources'

awscliv2==2.1.1 imports pkg_resources, which setuptools>=81 removed. Editing .ci/docker/requirements.txt (the torch pin) forces a fresh CI image build, which pulled a current setuptools without pkg_resources — so this would hit any PR that rebuilds the image. main's last green build used the older cached image.

Pushed setuptools<81 next to the awscliv2 pin (820a69c) to restore pkg_resources. torch 2.13 installs fine; the failure was pre-existing infra.

AI assistance (Claude) was used for this analysis and fix.

ray[serve]==2.55.0's _proto_to_dict reads FieldDescriptor.label, which
protobuf>=6 removed, breaking beginner_source/serving_tutorial.py with
"'google._upb._message.FieldDescriptor' object has no attribute 'label'".
The fresh CI image (rebuilt by the torch bump) pulled protobuf 6. ray 2.55.0
declares protobuf>=3.20.3 with no upper bound, so this pin is compatible.
Unrelated to torch 2.13.

Co-authored-by: Claude
@atalman atalman merged commit 8e14c2a into main Jul 8, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants