-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JIT] Add TorchScript compatibility for AEVComputer (#303)
* make aev,model compatible with jit * add type annotation to nn * flake8 fix * refactor AEVComputer * fix doc * an example with padding * use Optional type instead of padding * fix * fix * make pbc and cell keyword arguments in test_aev * fix * make pbc and cell keyword arguments in ase * fix * fix * fix dtype * fix * aev_computer dtype to double * change test files to have aev_computer with keyword argument * fix JIT types * add TestAEVJIT * fix LGTM alerts * fix TestAEVJIT * Update aev.py workaround for dtype in `torch.arange` * More arange bugs * Even more arange * fix LGTM alert
- Loading branch information
Showing
7 changed files
with
73 additions
and
59 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
Oops, something went wrong.