Skip to content

Commit

Permalink
add missing dependency 'fire' and numpy troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
willdumm committed Nov 13, 2024
1 parent b1af886 commit 268b713
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,12 @@ If you are running one of the experiment repos, such as:
* [dnsm-experiments-1](https://github.com/matsengrp/dnsm-experiments-1/)

you will want to visit those repos and follow the installation instructions there.


## Troubleshooting
* On some machines, pip may install a version of numpy that is too new for the
available version of pytorch, returning an error such as `A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash.` The solution is to downgrade to `numpy<2`:
```console
pip install --force-reinstall "numpy<2"
```
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"tensorboardX",
"torch",
"tqdm",
"fire",
],
classifiers=[
"Development Status :: 3 - Alpha",
Expand Down

0 comments on commit 268b713

Please sign in to comment.