Skip to content

Conversation

@xcompass
Copy link

@xcompass xcompass commented Jan 21, 2026

Describe your changes

TensorFlow 2.20.0 was built using protobuf version 5.28.3. And currently protobuf 6.31.1 was installed in the image. Then running TF, the following UserWarning messages are printed to users:

UserWarning: Protobuf gencode version 5.28.3 is exactly one major version older than the runtime version 6.31.1 at
tensorflow/core/framework/attr_value.proto. Please update the gencode to avoid compatibility violations in the next runtime release.

Related issue from upstream: tensorflow/tensorflow#98980

Issue ticket if applicable

Checklist (especially for first-time contributors)

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests
  • I will try not to use force-push to make the review process easier for reviewers
  • I have updated the documentation for significant changes

TensorFlow 2.20.0 was built using protobuf version 5.28.3. Then running
TF, the following UserWarning message are printed to users:

UserWarning: Protobuf gencode version 5.28.3 is exactly one major
version older than the runtime version 6.31.1 at
tensorflow/core/framework/attr_value.proto. Please update the gencode to
avoid compatibility violations in the next runtime release.
@mathbunnyru
Copy link
Member

mathbunnyru commented Feb 8, 2026

@xcompass I think you didn’t notice, but the tests are failing
You need to add the pin to the exclude list here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants