-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build against numpy2 * Need confirm: remove setuptool upper pin * bump pymatgen version to support NP2 * include wandb into test dependency as it's required by test_trainer * explicitly use weights_only False to avoid FutureWarning * use tem path in test * bump pymatgen to resolve np2 compatibility issue * use int64 * avoid release candidate for numpy build * revert dtype change for pytorch * fix error type * NEED CONFIRM: patch numpy random generator * pip install on win IS SLOW, do something while waiting * use cython type * include numpy c header * int64 might be better, intp is still platform dependent * maybe fix setup.py ModuleNotFoundError: No module named 'numpy' by lazy-importing numpy * ruff fixes * Revert "maybe fix setup.py ModuleNotFoundError: No module named 'numpy'" This reverts commit 45a1fd7. * I don't think we need to manually install build deps, hoping I'm not wrong * add --system arg to uv pip install * merge uv install stage? * fix typo in error message * NEED CONFIRM: use torch.int32 over int for torch tensor * raise error instead of systemexit when failure * make module level var all cap * fix: /Users/runner/work/chgnet/chgnet/chgnet/model/dynamics.py:297: DeprecationWarning: Use FrechetCellFilter for better convergence w.r.t. cell variables. atoms = ase_filter(atoms) * let's see if any array is not int64 * use setup-uv as Janosh suggested * try to fix package install * NEED CONFIRM: drop python 3.9 * Revert "NEED CONFIRM: drop python 3.9" This reverts commit bda704b. * use uv pip install for now * revert to traditional uv pip install for now as setup-uv doesn't have permission for some reason * fix more missing type changes * revert changes to cygraph.pyx * revert changes related to np2 * revert more np2 related changes * revert more np related changes * pin pmg 24.8.9 * Revert "fix: /Users/runner/work/chgnet/chgnet/chgnet/model/dynamics.py:297: DeprecationWarning: Use FrechetCellFilter for better convergence w.r.t. cell variables." This reverts commit b60f5e4. --------- Co-authored-by: Janosh Riebesell <[email protected]>
- Loading branch information
1 parent
fbfe69c
commit 9281cf4
Showing
16 changed files
with
83 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.