1. 30 Jan, 2021 1 commit
    • Jinze Xue's avatar
      CUAEV backward (#554) · 23c9816c
      Jinze Xue authored
      
      
      * preparation
      
      * radial preparation 30%
      
      * radial backward kernel done
      
      * reuse Gmr (exp part) result for gradient
      
      * radial kernel every block run by column major, to avoid atomicAdd waiting
      
      * apply code review
      
      * static_cast
      
      * implicit cast
      
      * format
      
      * angular preparation
      
      * angular backward works, but slow, AtomicAdd should be avoided
      
      * angular opti: use share memory to avoid AtomicAdd
      
      * format
      
      * equation optimization
      
      * remove unnecessary shared mem for atomi
      
      * remove a lot (warpsize * nbr) unnecessary shared mem for atomj
      
      * format
      
      * update
      
      * clean
      
      * fix
      
      * fix
      
      * test file
      
      * fix
      Co-authored-by: default avatarGao, Xiang <qasdfgtyuiop@gmail.com>
      23c9816c
  2. 18 Dec, 2020 1 commit
  3. 27 Nov, 2020 1 commit
  4. 17 Nov, 2020 1 commit
    • akkamesh's avatar
      CUDA port for AEV computation (#516) · 656aa037
      akkamesh authored
      
      
      * cuda port for aev computation
      
      * benchmark, setup and import
      
      * fix bug
      
      * fix flake8 and jit
      
      * fix collections.abc for python>3.7
      
      * setup gitingore
      
      * format code with formatter
      
      * ignore more
      
      * Use torch API to set streams
      
      * Use pytorch's caching allocator
      
      * empty line
      
      * fix
      
      * cuaev correntness testr, instruction of install on readme
      
      * readme
      
      * fix readme
      
      * fix readme
      
      * fix readme
      
      * fix readme
      
      * add usage in readme
      
      * fix readme
      
      * add test in readme
      
      * fix readme
      
      * -std=c++14
      
      * bug fix - add async data copy
      
      * bug fix - add missing stream sync
      
      * code refactor and cosmetic changes
      
      * aev benchmark for big protein
      
      * remove mdtraj
      
      * remove print
      
      * move pdb to dataset folder
      
      * cosmetic changes
      
      * Move torchani/extensions -> torchani/cuaev
      
      * clang-format -i
      
      * cleanup
      
      * return aev from cuComputeAEV
      
      * Update aev.py
      
      * Update aev.py
      
      * fix flake8
      
      * fix LGTM unused local variable
      
      * clang-format
      
      * fix
      
      * save
      
      * install change
      Co-authored-by: default avatarrichard <yueyericardo@gmail.com>
      Co-authored-by: default avatarXiang Gao <qasdfgtyuiop@gmail.com>
      656aa037
  5. 14 Nov, 2020 1 commit
  6. 13 Nov, 2020 7 commits
  7. 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
  8. 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
  9. 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
  10. 17 Jun, 2020 2 commits
  11. 03 Jun, 2020 1 commit
  12. 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
  13. 01 May, 2020 1 commit
  14. 02 Apr, 2020 1 commit
  15. 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
  16. 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
  17. 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
  18. 04 Feb, 2020 2 commits
  19. 22 Nov, 2019 1 commit
  20. 21 Nov, 2019 1 commit
  21. 20 Nov, 2019 2 commits
  22. 12 Nov, 2019 1 commit
  23. 11 Nov, 2019 1 commit
  24. 06 Nov, 2019 1 commit
  25. 05 Nov, 2019 1 commit
  26. 09 Oct, 2019 3 commits
  27. 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