Skip to content

Commit

Permalink
Fix tensorflow min version depending on Python version (#7045)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova committed Aug 13, 2024
1 parent 1853a57 commit 4f06589
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 @@ -176,7 +176,8 @@
"sqlalchemy",
"s3fs>=2021.11.1", # aligned with fsspec[http]>=2021.11.1; test only on python 3.7 for now
"protobuf<4.0.0", # 4.0.0 breaks compatibility with tensorflow<2.12
"tensorflow>=2.6.0", # Issue installing 2.16.0 with Python 3.8; we rely on other dependencies pinning numpy < 2
"tensorflow>=2.6.0; python_version<'3.10'", # numpy-2 is not supported for Python < 3.10
"tensorflow>=2.16.0; python_version>='3.10'", # Pins numpy < 2
"tiktoken",
"torch>=2.0.0",
"soundfile>=0.12.1",
Expand Down

0 comments on commit 4f06589

Please sign in to comment.