From f10ef279e7807a21e895540b8e815cef0a6b213c Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Wed, 8 Jul 2026 13:21:32 -0400 Subject: [PATCH 1/3] Move to stable binaries 2.13 --- .ci/docker/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 249ca72981..0037b3f416 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -25,7 +25,7 @@ pydantic>=2.10 fastapi matplotlib librosa -torch==2.12 +torch==2.13 cuda-bindings>=13.1.0 # Required for CUDA graph annotations tutorial torchvision torchdata From 820a69cdb844e2f96bbb06e9d0681ab1f2d0d211 Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Wed, 8 Jul 2026 14:33:27 -0400 Subject: [PATCH 2/3] Pin setuptools<81 so awscliv2 keeps pkg_resources 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 --- .ci/docker/requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 0037b3f416..0392cc59f2 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -32,6 +32,8 @@ torchdata networkx PyHamcrest bs4 +# Pin setuptools: awscliv2==2.1.1 imports pkg_resources, which setuptools>=81 removed. +setuptools<81 awscliv2==2.1.1 flask spacy==3.7.1 # Keep this version consistent with the model version in .jenkins/build.sh From a8abd8ce6b46b55b4e6fddf937195c89bbe63aaf Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Wed, 8 Jul 2026 15:49:28 -0400 Subject: [PATCH 3/3] Pin protobuf<6 for ray[serve]==2.55.0 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 --- .ci/docker/requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 0392cc59f2..a1b0d6b5b3 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -37,6 +37,8 @@ setuptools<81 awscliv2==2.1.1 flask spacy==3.7.1 # Keep this version consistent with the model version in .jenkins/build.sh +# Pin protobuf: ray[serve]==2.55.0 uses FieldDescriptor.label, removed in protobuf>=6. +protobuf<6 ray[serve,train,tune]==2.55.0 tiktoken tensorboard