Skip to content

Commit

Permalink
[ci] pin numpy to < 2 on win (#2009)
Browse files Browse the repository at this point in the history
  • Loading branch information
kashif authored Sep 3, 2024
1 parent 728a9a3 commit d60a1f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
REQUIRED_PKGS = [
"torch>=1.4.0",
"transformers>=4.31.0",
"numpy>=1.18.2",
"numpy>=1.18.2;platform_system!='Windows'",
"numpy<2;platform_system=='Windows'",
"accelerate",
"datasets",
"tyro>=0.5.11",
Expand Down

0 comments on commit d60a1f5

Please sign in to comment.