Skip to content

Commit

Permalink
- numpy version fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimcavusoglu committed Oct 8, 2023
1 parent bcf9516 commit a8272c8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ def add_pywin(reqs: List[str]) -> None:
"pytest-timeout>=2.1.0",
]

_PRISM_REQUIREMENTS = [
"fairseq==0.9.0",
"numpy",
]
_PRISM_REQUIREMENTS = ["fairseq==0.9.0", "numpy>=1.23,<1.24"]

_METRIC_REQUIREMENTS = [
"sacrebleu>=2.0.0",
Expand All @@ -56,6 +53,7 @@ def add_pywin(reqs: List[str]) -> None:
"seqeval==1.2.2",
"sentencepiece>=0.1.99,<0.2",
"unbabel-comet==2.0.1",
"protobuf>=3.20.3,<3.21",
]

_METRIC_REQUIREMENTS.extend(_PRISM_REQUIREMENTS)
Expand Down

0 comments on commit a8272c8

Please sign in to comment.