Skip to content

Conversation

@Jmennius
Copy link

@Jmennius Jmennius commented May 8, 2023

PyTorch ships proto files which are incompatible with protobuf >=4 but there is no dependency version specification limiting that.
For it doesn't seem that pytorch intends to support 4.* python protobuf (see pytorch/pytorch#78362, as well as protobuf versions are pinned in CI).

NOTE: this is only required for pytorch <2.1. Pytorch since 2.1 seems to support newer protobuf.

Previously, TensorBoard had a version specifier limiting protobuf version for this specific reason, but with tensorflow/tensorboard#6147 merged (released with 2.12.0) - it supports protobuf 4.* and version specifier is relaxed to include 4.*.

Fixes: #4945

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 8, 2023
PyTorch ships proto files which are incompatible with protobuf >=4
but there is no dependency version specification limiting that.
For it doesn't seem that pytorch intends to support 4.* python protobuf
(see pytorch/pytorch#78362,
as well as protobuf versions are pinned in CI).

Signed-off-by: Ievgen Popovych <jmennius@gmail.com>
@Jmennius Jmennius force-pushed the pin-protobuf-in-ci-to-last-3.20-release branch from 90c2f36 to cedf427 Compare May 29, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR CI builds failure due to incompatibility of recent protobuf with pytorch

2 participants