Skip to content

Releases: aiqm/torchani

2.2.4

14 Nov 16:38
17204c6
Compare
Choose a tag to compare

What's Changed

  • Set C++17 for latest pytorch versions. Add flags for CUDA 12 and 11.8 by @RaulPPelaez in #641

New Contributors

Full Changelog: 2.2.3...2.2.4

2.2.3

13 Apr 18:10
40cf334
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.2.2...2.2.3

TorchANI 2.2

05 Aug 07:25
2fcc648
Compare
Choose a tag to compare
  • unique_consecutive is now supported by TorchScript, so the workaround for it is removed from TorchANI (#471)
  • Added missing dependency requests (#486)
  • torchani.data now allow using custom padding values (#489)
  • Updated TorchANI paper information (#494, #506)
  • Remove Python 2.7 style super, this is known to have issues on some Python build (#496)
  • Fix torchani.data for returning species with wrong dtype (#502)
  • Fixes the uninstall of pip (#500)
  • Source tarballs will also be distributed to PyPI (#508)
  • Improvements on unit tests and other maintainability related issue (#487, #488, #490, #491, #493, #495)

TorchANI 2.1.1

11 Jun 19:49
ac27ed3
Compare
Choose a tag to compare

Highlights:

  • TorchANI paper is submitted to JCIM (#465, #469)
  • ANI2x model is added as a built-in model for inference. (#480)
  • Due to the size limit of PyPI, ANI1ccx and ANI2x models are moved to a separate repository. They will be automatically downloaded at the first time of use.

Other changes:

  • Switch to PyTorch implementation of AdamW (#464)
  • Data API improvements (#463, #475)
  • BuiltinNet is refactored (#474, #473, #476)
  • SpeciesConverter device fix (#461, #462)
  • Documentation improvements (#479, #478)
  • Fix flake8 (#466)

TorchANI 2.1

05 Jun 21:23
279e53a
Compare
Choose a tag to compare

Edit: This release is not in PyPI because it exceeds the maximum file size limit of PyPI. We will make a new release 2.1.1 to remove models outside TorchANI. Models will be automatically downloaded when used for the first time

Highlights:

Other changes:

  • Switch to PyTorch implementation of AdamW (#464)
  • Data API improvements (#463, #475)
  • BuiltinNet is refactored (#474, #473, #476)
  • SpeciesConverter device fix (#461, #462)
  • Documentation improvements (#479, #478)
  • Fix flake8 (#466)

TorchANI 2.0

29 Apr 06:37
b12e7e6
Compare
Choose a tag to compare

TorchANI 1.2

23 Nov 18:53
Compare
Choose a tag to compare

Please update your PyTorch to latest nightly build!

Changes

  • Add support for indexing species with periodic table element index. (#396, #399)
    • To convert from the periodic table index to the 0, 1, 2, 3, ... index, checkout torchani.SpeciesConverter (#396)
    • To switch to the periodic table index for builtin models, set the argument periodic_table_index=True when constructing. (#399)
  • Submodules of ANIModel can now have a name. To use this feature, pass an OrderedDict instead of a list to its constructor. (#398)
  • torchani.utils.hessian is now supported by JIT. (#397)
  • Documentation improvements (#400, #401, #402)

TorchANI 1.1

14 Nov 05:51
Compare
Choose a tag to compare

Please update your PyTorch to latest nightly build!

Highlights

  • Python 2 support is removed (#370, #390)
  • Ignite helper is removed (#354, #364)
  • AEV cacher is removed (#361)
  • EnergyShifter now always use float64 as datatype (#338, #347)
  • The API for the ASE interface has been simplified (#386)

Python 3

Previously we were supporting Python 2, which limits the language feature we could use. Now PyTorch has started dropping Python 2 support on their nightly builds. So TorchANI also dropped Python 2 support, which enables lots of new language features to improve our code quality:

  • Use @ operator for matrix multiplication (#371)
  • Type annotation is now in Python 3 style (#372, #373, #374, #375)

TorchScript Support

In TorchANI 1.0, we added TorchScript support. But due to bugs/lacking features in PyTorch, we had to make many workarounds, which introduce some problems. PyTorch has improved a lot since then, so we remove some of the workarounds to make TorchANI great again:

  • Ensemble size is no longer hardcoded to 8 (#352)
  • enumerate is now correctly supported by JIT (#358)
  • Tensor factories like new_zeros are now correctly supported by JIT (#353, #362)
  • Subclassing ModuleList is now supported by JIT (#385)
  • Bugs on the type inference of torch.arange is now fixed (#357)
  • __constants__ is deprecated by torch.jit (#378)

Bug Fixes and Miscellaneous Improves

  • Fix bugs on CUDA support (#341, #350)
  • Fix bug in discarding outlier energy conformers (#334, #340)
  • Mention what unit is used in docs (#389)
  • Fix the homepage URL in PyPI page (#363)
  • Modules now return a named tuple instead of a tuple (#380)
  • Support nan as a value in NeuroChem parser (#383)
  • Remove warning on don't use conda to install PyTorch, because this is no longer a problem (#366)
  • Allow passing pbc and cell to torchani.nn.Sequential (#386)
  • Code for analytical stress calculation has been improved (#387)
  • Use torch.triu_indices to simplify code (#367, #368)

TorchANI 1.0.1

14 Oct 22:11
Compare
Choose a tag to compare

This is just a dummy release that triggers deployment. See for https://github.com/aiqm/torchani/releases/tag/1.0 changelog.

TorchANI 1.0

14 Oct 16:24
Compare
Choose a tag to compare
  • TorchScript compatibility has been added to export TorchANI models through torch.jit. Users can now use C++ API for deployments. (#303, #305, #306, #307, #308, #326, #327).
  • Some APIs are changed due to the compatibility issue with TorchScript:
    • AEVComputer input is changed, cell and pbc are now keyword arguments. (#303)
    • Ensemble is now hardcoded to have a size of 8. (#307)
    • torchani.nn.Sequential is added to include type annotations for JIT. (#307)
  • An example of how the models can be exported using PyTorch JIT has been provided (#328).
  • All the unit tests and checks have been moved to GitHub Actions. (#309, #310, #313, #314, #317, #318, #319, #322, #323, #324)
  • Added a script for profiling the training on NVIDIA GPUs using Nsight System (#325)
  • Bug fixed in the dimensions of self_energies for a dataset containing only one element (#302)