Skip to content

Commit

Permalink
Pin protobuf (#2203)
Browse files Browse the repository at this point in the history
* pin

* <
  • Loading branch information
mvpatel2000 committed May 5, 2023
1 parent 583e069 commit 7da93f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ def package_files(prefix: str, directory: str, extension: str):
'datasets>=2.4,<3',
]

extra_deps['sentencepiece'] = ['sentencepiece==0.1.98']
extra_deps['sentencepiece'] = [
'protobuf<3.21',
'sentencepiece==0.1.98',
]

extra_deps['mlperf'] = [
# TODO: use pip when available: https://github.com/mlcommons/logging/issues/218
Expand Down

0 comments on commit 7da93f8

Please sign in to comment.