1. 13 Nov, 2020 5 commits
    • Gao, Xiang's avatar
      Cherry-pick roitberg-group#10 (#545) · 13f53da8
      Gao, Xiang authored
      
      
      * Add convenience functions useful for active learning [WIP] (#10)
      
      * Add convenience functions useful for active learning
      
      * avoid training outputs
      
      * modify gitignore
      
      * Add convenience functions to directly get atomic energies
      
      * fix bug
      
      * fix mypy
      
      * flake8
      
      * fix bugs
      
      * flake8
      
      * mypy
      
      * Add tests for functions
      
      * add test to workflows and flake8
      
      * empty to trigger tests
      
      * trigger
      
      * delete new test
      
      * readd new test
      
      * avoid training outputs
      
      * trigger
      
      * trigger tests again, they are all passing on my side
      
      * fix isclose in tests
      
      * save
      
      * fix
      Co-authored-by: default avatarIgnacio Pickering <ign.pickering@gmail.com>
      13f53da8
    • Gao, Xiang's avatar
      Intuitive aev computer classmethod (#18) (#543) · 20b5746a
      Gao, Xiang authored
      
      
      * Add classmethod for conveniently building AEVComputer
      
      * Fix bug
      
      * Add test
      
      * flake8
      
      * Small change in assert
      
      * rename to zeta for consistency with other code
      
      * trigger tests
      
      * What the hell Dropbox?! -.-
      Co-authored-by: default avatarIgnacio Pickering <ign.pickering@gmail.com>
      20b5746a
    • Gao, Xiang's avatar
      Revert "Use PyTorch autograd's hessian (#532)" (#534) · 55e6d4f0
      Gao, Xiang authored
      This reverts commit bd9d888a.
      55e6d4f0
    • Gao, Xiang's avatar
      Faster tests (#8) (#537) · 648c970e
      Gao, Xiang authored
      
      
      * modifications to make tests faster
      
      * Now ani1x is not loaded for any aev_computer necessary
      
      * flake*
      
      * Avoid test warnings by loading from json and setting initial velocities to a small number
      
      * Avoid loading from cif in ManualMirror and Repeat also
      
      * Add comments to clarify test_energies and delete unused variable
      
      * Fix inaccurate comment
      
      * Delete unused variable in test_ensemble
      
      * Add comments and clarifications to test_ase
      
      * flake8
      Co-authored-by: default avatarIgnacio Pickering <ign.pickering@gmail.com>
      648c970e
    • Gao, Xiang's avatar
      Use PyTorch autograd's hessian (#532) · bd9d888a
      Gao, Xiang authored
      * Use PyTorch autograd's hessian
      
      * fix test
      
      * save
      
      * clean
      
      * save
      
      * save
      
      * drop hessian from jit example
      bd9d888a
  2. 11 Nov, 2020 1 commit
    • Gao, Xiang's avatar
      Make CUDA extension TorchScript compatible (#527) · dec9c0eb
      Gao, Xiang authored
      * Make CUDA extension TorchScript compatible
      
      * save
      
      * save
      
      * fix
      
      * save
      
      * save
      
      * save
      
      * save
      
      * Update install_dependencies.sh
      
      * trigger ci
      
      * save
      
      * fix
      
      * save
      
      * save
      
      * save
      
      * save
      
      * try
      
      * fix
      
      * revert
      
      * save
      
      * save
      
      * mypy
      dec9c0eb
  3. 07 Nov, 2020 1 commit
    • Gao, Xiang's avatar
      Add dummy cuda extension build (#521) · db9573ce
      Gao, Xiang authored
      
      
      * Add dummy cuda extension build
      
      * save
      
      * run tests
      
      * save
      
      * fix
      
      * pytorch cu110
      
      * no vision
      
      * save
      
      * nl
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * autopep8
      
      * more autopep8
      
      * optional=True
      
      * no todo
      
      * fix
      
      * refactor ci
      
      * mypy
      
      * save
      
      * flake8
      
      * os error
      
      * Run cuaev test
      
      * save
      
      * clang format
      
      * Delete delete-me.cu
      
      * Search for cub in pytorch include paths
      
      * nl
      
      * instructions on test
      
      * Add better handle cuaev install/not install
      
      * test_cuaev.py
      
      * clean
      
      * fix
      Co-authored-by: default avatarFarhad Ramezanghorbani <farhadrgh@users.noreply.github.com>
      db9573ce
  4. 25 Jun, 2020 2 commits
    • Ignacio Pickering's avatar
      Tests cleanup (#495) · 28ecce79
      Ignacio Pickering authored
      * Remove test gradient from aev tests
      
      * Add a dedicated test gradient for one model, and make it feasible
      
      * add test_grad to unittests
      
      * Add some comments and fix formatting
      
      * flake8
      
      * flake8
      
      * remove unused var
      
      * delete transform function, which was legacy from old pytorch probably
      
      * Delete random_skip function, which was unused
      
      * Allow testNeuroChem to use cuda if available, which makes it much faster
      
      * small modification for consistency
      
      * remove unused import
      
      * simplify device call
      
      * remove unused variable
      
      * add main to test_grad
      28ecce79
    • Ignacio Pickering's avatar
      Fix gradcheck test (#493) · 9a03bc62
      Ignacio Pickering authored
      * Remove test gradient from aev tests
      
      * Add a dedicated test gradient for one model, and make it feasible
      
      * add test_grad to unittests
      
      * Add some comments and fix formatting
      
      * flake8
      
      * flake8
      
      * remove unused var
      9a03bc62
  5. 17 Jun, 2020 2 commits
  6. 03 Jun, 2020 1 commit
  7. 02 Jun, 2020 1 commit
    • Ignacio Pickering's avatar
      Refactor builtinnet (#474) · 3a043d45
      Ignacio Pickering authored
      * Refactor BuiltinNet into BuiltinModel and BuiltinEnsemble
      
      * Change test name
      
      * flake8 whitespace
      
      * Get rid of redundant comparison
      
      * remove unused import
      
      * Fix info file bug
      
      * flake8
      
      * don't use nonlocal on get_resource
      
      * Revert "don't use nonlocal on get_resource"
      
      This reverts commit efe221bb4f7ce4a1ccb8c3c73b886bdbad019ab0.
      
      * Fix get_resource bug
      
      * Add missing init call
      
      * Fix species_to_tensor bug
      
      * Add species attribute
      
      * Add some extra attributes
      
      * Fix bug in getitem
      
      * Always assign species_converter
      
      * Species to tensor is also an entry point
      
      * Lets not make it an entry point for now
      
      * delete duplicated definition
      3a043d45
  8. 01 May, 2020 1 commit
  9. 02 Apr, 2020 1 commit
  10. 22 Mar, 2020 1 commit
    • Gao, Xiang's avatar
      Improve more on new dataset API (#434) · f8edffe3
      Gao, Xiang authored
      * Improve new dataset API
      
      * Improve more on new dataset API
      
      * fix
      
      * fix reentrance
      
      * Allow all intermediate state of transformation to be reentered
      
      * Add length inference
      
      * fix
      
      * split by ratio
      
      * add dataloader example
      
      * add test for data loader
      f8edffe3
  11. 21 Mar, 2020 1 commit
    • Gao, Xiang's avatar
      Remove everything about chunking (#432) · 6b058c6e
      Gao, Xiang authored
      * Remove everything about chunking
      
      * aev.py
      
      * neurochem trainer
      
      * training-benchmark-nsys-profile.py
      
      * fix eval
      
      * training-benchmark.py
      
      * nnp_training.py
      
      * flake8
      
      * nnp_training_force.py
      
      * fix dtype of species
      
      * fix
      
      * flake8
      
      * requires_grad_
      
      * git ignore
      
      * fix
      
      * original
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * collate
      
      * fix
      
      * save
      
      * fix
      
      * save
      
      * save
      
      * fix
      
      * save
      
      * fix
      
      * fix
      
      * no len
      
      * float
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * fix
      
      * save
      
      * save
      
      * save
      
      * save
      
      * fix
      
      * fix
      
      * fix
      
      * fix mypy
      
      * don't remove outliers
      
      * save
      
      * save
      
      * save
      
      * fix
      
      * flake8
      
      * save
      
      * fix
      
      * flake8
      
      * docs
      
      * more docs
      
      * fix test_data
      
      * remove test_data_new
      
      * fix
      6b058c6e
  12. 13 Mar, 2020 2 commits
    • Ignacio Pickering's avatar
      Fix periodic table index ase (#426) · 8292fa97
      Ignacio Pickering authored
      * Fix bug that prevented using ASE together with periodic_table_index
      
      * ASE has to know if the model has PTI or not
      
      * Allow for models that don't have a periodic_table_index attribute
      8292fa97
    • Ignacio Pickering's avatar
      ChemicalSymbolsToInts is being used wrong (#425) · d6511699
      Ignacio Pickering authored
      * Add warning to ChemicalSymbolsToInts
      
      * Change ocurrences of ChemicalSymbolsToInts in the code to reflect safe usage
      
      * flake8
      
      * Add warning to call also
      
      * Add clarification
      
      * docs dont fetch magic functions so documentation is moved to the class docstring
      
      * fix clarification
      
      * flake8
      d6511699
  13. 04 Feb, 2020 2 commits
  14. 22 Nov, 2019 1 commit
  15. 21 Nov, 2019 1 commit
  16. 20 Nov, 2019 2 commits
  17. 12 Nov, 2019 1 commit
  18. 11 Nov, 2019 1 commit
  19. 06 Nov, 2019 1 commit
  20. 05 Nov, 2019 1 commit
  21. 09 Oct, 2019 3 commits
  22. 23 Sep, 2019 1 commit
    • Gao, Xiang's avatar
      Reduce test latency (#319) · f9b074ce
      Gao, Xiang authored
      * Move unittest check to GitHub Actions
      
      Tests are parallelized
      
      * Delete tests.yml
      
      * Update setup.py
      
      * Create test_requirements.txt
      
      * Update unittest.yml
      
      * Update unittest.yml
      
      * Update README.md
      
      * Delete install_dependencies.sh
      
      * Delete install_dependencies_python2.sh
      
      * Update unittest.yml
      
      * split
      
      * split
      
      * fix
      
      * fix
      
      * -v
      
      * more
      
      * more
      
      * fix
      
      * fix
      
      * flake8
      
      * transform
      
      * reduce testBenzeneMD
      
      * version
      
      * reduce number of epoches
      
      * further reduce time
      
      * Update docs.yml
      f9b074ce
  23. 22 Sep, 2019 1 commit
  24. 07 Sep, 2019 1 commit
  25. 06 Sep, 2019 1 commit
    • Farhad Ramezanghorbani's avatar
      [JIT] Add TorchScript compatibility for AEVComputer (#303) · f2170e24
      Farhad Ramezanghorbani authored
      * 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
      f2170e24
  26. 25 Aug, 2019 1 commit
    • Richard Xue's avatar
      New Dataset API add other properties (#300) · 3957d19c
      Richard Xue authored
      * cached
      
      * typo and comments
      
      * easy to read
      
      * change some names
      
      * fix unit test
      
      * empty line
      
      * fix
      
      * fix
      
      * add docs and add whether include_energies
      
      * docs
      
      * other properties for shuffled dataset
      
      * docs
      
      * dtype for benchmark
      
      * add properties to test
      
      * style
      3957d19c
  27. 22 Aug, 2019 1 commit
  28. 20 Aug, 2019 1 commit
  29. 15 Aug, 2019 1 commit