1. 12 Mar, 2021 1 commit
  2. 13 Nov, 2020 2 commits
    • Gao, Xiang's avatar
      Use PyTorch's TestCase to compare tensor (#533) · ec35c7da
      Gao, Xiang authored
      * Use PyTorch's TestCase to compare tensor
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * save
      
      * Update test_energies.py
      
      * Update test_ase.py
      
      * save
      
      * flake8
      ec35c7da
    • 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
  3. 25 Jun, 2020 1 commit
    • 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
  4. 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