Skip to content

Commit

Permalink
pin numpy to < 2.0 until tensorboard cuts a release (facebook#2641)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#2641

The latest TB version hasn't incorporated numpy2.0-compatible changes (tensorflow/tensorboard#6869 (comment)), and recently unpinned botorch (D60735276) means Ax CI is now failing. This pins numpy to < 2.0 to prevent issues in CI.

Differential Revision: D60917879
  • Loading branch information
Bernie Beckerman authored and facebook-github-bot committed Aug 7, 2024
1 parent c85a803 commit b12ce12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"torchvision>=0.5.0",
"nbconvert",
"jupyter-client==6.1.12",
# Replace with `tensorboard >= x.x` once tb cuts a release.
# https://github.com/tensorflow/tensorboard/issues/6869#issuecomment-2273718763
"numpy<2.0",
]

MYSQL_REQUIRES = ["SQLAlchemy==1.4.17"]
Expand Down

0 comments on commit b12ce12

Please sign in to comment.