Skip to content

Commit a8abd8c

Browse files
committed
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
1 parent 820a69c commit a8abd8c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.ci/docker/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ setuptools<81
3737
awscliv2==2.1.1
3838
flask
3939
spacy==3.7.1 # Keep this version consistent with the model version in .jenkins/build.sh
40+
# Pin protobuf: ray[serve]==2.55.0 uses FieldDescriptor.label, removed in protobuf>=6.
41+
protobuf<6
4042
ray[serve,train,tune]==2.55.0
4143
tiktoken
4244
tensorboard

0 commit comments

Comments
 (0)