Skip to content

Commit 2b2c84e

Browse files
authored
Merge pull request #305 from mozilla/fix_protobuf_version
Pin protobuf version to <= 3.20.1 Tensorboard is not compatible with newer versions of protobuf. Until tensorflow/tensorboard#5708 is resolved we need to pin protobuf to <= 3.20.1
2 parents 0d69bb7 + 523c644 commit 2b2c84e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
'scikit-learn>=0.22.2',
2121
'selenium>=3.141.0',
2222
'tensorboardX>=1.6,<2.0',
23-
'torch>=1.0,<2.0'
23+
'torch>=1.0,<2.0',
24+
'protobuf <= 3.20.1',
2425
],
2526
dependency_links=[
2627
'https://download.pytorch.org/whl/cu110/torch_stable.html'

0 commit comments

Comments
 (0)