Skip to content

Commit

Permalink
Pin to numpy<2 to avoid spacy compat issues (NVIDIA#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Dattagupta <[email protected]>
  • Loading branch information
ayushdg authored Jun 18, 2024
1 parent f1e993b commit 9da54b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
# justext installation breaks without lxml[html_clean]
# due to this: https://github.com/miso-belica/jusText/issues/47
"lxml[html_clean]",
# Numpy 2.0 breaks with spacy https://github.com/explosion/spaCy/issues/13528
# TODO: Remove when issue is fixed
"numpy<2",
],
extras_require={
"cuda12x": [
Expand Down

0 comments on commit 9da54b8

Please sign in to comment.