Skip to content

Commit

Permalink
CU-869637yfx: Pin spacy dependency to lower than 3.8 (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-r authored Oct 9, 2024
1 parent 44db08b commit 909cfad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_requires.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'numpy>=1.22.0,<1.26.0' # 1.22.0 is first to support python 3.11; post 1.26.0 there's issues with scipy
'pandas>=1.4.2' # first to support 3.11
'gensim>=4.3.0,<5.0.0' # 5.3.0 is first to support 3.11; avoid major version bump
'spacy>=3.6.0,<4.0.0' # Some later model packs (e.g HPO) are made with 3.6.0 spacy model; avoid major version bump
'spacy>=3.6.0,<3.8.0' # 3.8 only supports numpy2 which we can't use due to other dependencies
'scipy~=1.9.2' # 1.9.2 is first to support 3.11
'transformers>=4.34.0,<5.0.0' # avoid major version bump
'accelerate>=0.23.0' # required by Trainer class in de-id
Expand All @@ -21,4 +21,4 @@
'click>=8.0.4' # allow later versions, tested with 8.1.3
'pydantic>=1.10.0,<2.0' # for spacy compatibility; avoid 2.0 due to breaking changes
"humanfriendly~=10.0" # for human readable file / RAM sizes
"peft>=0.8.2"
"peft>=0.8.2"

0 comments on commit 909cfad

Please sign in to comment.