mirror of
https://github.com/huggingface/trl.git
synced 2025-10-20 18:43:52 +08:00
[ci] pin numpy to < 2 on win (#2009)
This commit is contained in:
3
setup.py
3
setup.py
@ -64,7 +64,8 @@ __version__ = "0.11.0.dev0" # expected format is one of x.y.z.dev0, or x.y.z.rc
|
||||
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",
|
||||
|
Reference in New Issue
Block a user