From 4125a46e32d98ef22506aac2a8ea9c6ce0dd5084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Sat, 3 Sep 2022 12:44:11 +0200 Subject: [PATCH 1/2] Pin protobuf --- requirements/pytorch/base.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/pytorch/base.txt b/requirements/pytorch/base.txt index 698d0ec4ad858..86e74b3d2355b 100644 --- a/requirements/pytorch/base.txt +++ b/requirements/pytorch/base.txt @@ -10,3 +10,4 @@ tensorboard>=2.9.1, <2.11.0 torchmetrics>=0.7.0, <0.9.3 # needed for using fixed compare_version packaging>=17.0, <=21.3 typing-extensions>=4.0.0, <4.3.1 +protobuf<=3.20.1 # strict # prevents TensorBoard failure From 2362933b7764ed2c02a3700563b787cf4ea32bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Sat, 3 Sep 2022 13:19:06 +0200 Subject: [PATCH 2/2] Move to extras --- requirements/pytorch/base.txt | 1 - requirements/pytorch/extra.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/pytorch/base.txt b/requirements/pytorch/base.txt index 86e74b3d2355b..698d0ec4ad858 100644 --- a/requirements/pytorch/base.txt +++ b/requirements/pytorch/base.txt @@ -10,4 +10,3 @@ tensorboard>=2.9.1, <2.11.0 torchmetrics>=0.7.0, <0.9.3 # needed for using fixed compare_version packaging>=17.0, <=21.3 typing-extensions>=4.0.0, <4.3.1 -protobuf<=3.20.1 # strict # prevents TensorBoard failure diff --git a/requirements/pytorch/extra.txt b/requirements/pytorch/extra.txt index f211f5654adec..b547e7a62f2ed 100644 --- a/requirements/pytorch/extra.txt +++ b/requirements/pytorch/extra.txt @@ -8,3 +8,4 @@ hydra-core>=1.0.5, <1.3.0 jsonargparse[signatures]>=4.12.0, <=4.12.0 gcsfs>=2021.5.0, <2022.8.0 rich>=10.14.0, !=10.15.0.a, <13.0.0 +protobuf<=3.20.1 # strict # an extra is updating protobuf, this pin prevents TensorBoard failure