Skip to content

Commit

Permalink
fix: force numpy < 2.0.0 on mac intel (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Jan 9, 2025
1 parent b1f9af1 commit 7f9365f
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 5 deletions.
52 changes: 48 additions & 4 deletions poetry.lock

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

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ python = "^3.9"
torch = "^2.2.2"
torchvision = "^0"
transformers = "^4.42.0"
numpy = ">=1.24.4,<3.0.0"
numpy = [
{ version = ">=1.24.4,<3.0.0", markers = 'sys_platform != "darwin" or platform_machine != "x86_64"' },
{ version = ">=1.24.4,<2.0.0", markers = 'sys_platform == "darwin" and platform_machine == "x86_64"' },
]
jsonlines = "^3.1.0"
Pillow = "^10.0.0"
tqdm = "^4.64.0"
Expand Down

0 comments on commit 7f9365f

Please sign in to comment.