Skip to content

Commit

Permalink
build: use numpy<2.0.0 (#899)
Browse files Browse the repository at this point in the history
### Summary of Changes

Add clause to `pyproject.toml` to use a numpy version below 2.0 as
torchvision does not yet support numpy 2.0 (See #898)
  • Loading branch information
Marsmaennchen221 authored Jul 12, 2024
1 parent fa24560 commit 1cbc147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ torch = "^2.3.0"
torchvision = "^0.18.0"
xxhash = "^3.4.1"
transformers = "^4.40.2"
numpy = "<2.0.0"

[tool.poetry.group.dev.dependencies]
pytest = ">=7.2.1,<9.0.0"
Expand Down

0 comments on commit 1cbc147

Please sign in to comment.