Skip to content

Commit

Permalink
Removing ignite (#354)
Browse files Browse the repository at this point in the history
* Remove ignite

* remove neurochem-test

* remove cache-aev
  • Loading branch information
zasdfgbnm authored and farhadrgh committed Nov 5, 2019
1 parent 566320e commit 123e476
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 650 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
ci/install_dependencies.sh
pip install h5py pytorch-ignite tb-nightly sphinx sphinx_rtd_theme matplotlib pillow sphinx-gallery
pip install h5py tb-nightly sphinx sphinx_rtd_theme matplotlib pillow sphinx-gallery
pip install .
- name: Download data files
run: ./download.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
ci/install_dependencies.sh
pip install h5py pytorch-ignite tb-nightly sphinx sphinx_rtd_theme matplotlib pillow sphinx-gallery
pip install h5py tb-nightly sphinx sphinx_rtd_theme matplotlib pillow sphinx-gallery
pip install .
- name: Download data files
run: ./download.sh
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,5 @@ jobs:
run: pip install h5py
- name: COMP6 Benchmark
run: python tools/comp6.py dataset/COMP6/COMP6v1/s66x8
- name: Install more dependencies
run: pip install pytorch-ignite
- name: Training Benchmark
run: python tools/training-benchmark.py dataset/ani1-up_to_gdb4/ani_gdb_s01.h5
- name: NeuroChem Test
run: python tools/neurochem-test.py dataset/ani1-up_to_gdb4/ani_gdb_s01.h5
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
python-version: [3.6, 3.7]
test-filenames: [
test_aev.py, test_aev_benzene_md.py, test_aev_nist.py, test_aev_tripeptide_md.py,
test_data_new.py, test_ignite.py, test_utils.py, test_ase.py, test_energies.py,
test_data_new.py, test_utils.py, test_ase.py, test_energies.py,
test_neurochem.py, test_vibrational.py, test_ensemble.py, test_padding.py,
test_data.py, test_forces.py, test_structure_optim.py, test_jit_builtin_models.py]

Expand Down
Empty file removed docs/_static/.keep
Empty file.
15 changes: 0 additions & 15 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,3 @@ TorchANI Optimizater

.. automodule:: torchani.optim
.. autoclass:: torchani.optim.AdamW


Ignite Helpers
==============

.. automodule:: torchani.ignite
.. autoclass:: torchani.ignite.Container
:members:
.. autoclass:: torchani.ignite.DictLoss
.. autoclass:: torchani.ignite.PerAtomDictLoss
.. autoclass:: torchani.ignite.TransformedLoss
.. autofunction:: torchani.ignite.MSELoss
.. autoclass:: torchani.ignite.DictMetric
.. autofunction:: torchani.ignite.RMSEMetric
.. autofunction:: torchani.ignite.MaxAEMetric
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Welcome to TorchANI's documentation!
examples/nnp_training
examples/nnp_training_force
examples/nnp_training_ignite
examples/cache_aev
examples/neurochem_trainer

.. toctree::
Expand Down
172 changes: 0 additions & 172 deletions examples/cache_aev.py

This file was deleted.

3 changes: 1 addition & 2 deletions examples/nnp_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
# .. note::
#
# Besides defining these hyperparameters programmatically,
# :mod:`torchani.neurochem` provide tools to read them from file. See also
# :ref:`training-example-ignite` for an example of usage.
# :mod:`torchani.neurochem` provide tools to read them from file.
#
# .. _rHCNO-5.2R_16-3.5A_a4-8.params:
# https://github.com/aiqm/torchani/blob/master/torchani/resources/ani-1x_8x/rHCNO-5.2R_16-3.5A_a4-8.params
Expand Down
Loading

0 comments on commit 123e476

Please sign in to comment.