diff --git a/README.md b/README.md index ff391993e88f3051bfde49fcb5b43542f6f17895..5ab85add40e41c78615ee91e2da5c54f08c8d4af 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,6 @@ All options: - `alltrafos`: pulls in additional dependencies for loop simplification e.g. libisl - `bench_db`: functionality to store benchmark result in object databases - `interactive`: installs dependencies to work in Jupyter including image I/O, plotting etc. -- `autodiff`: enable derivation of adjoint kernels and generation of Torch/Tensorflow operations - `doc`: packages to build documentation Options can be combined e.g. diff --git a/pystencils/__init__.py b/pystencils/__init__.py index a10acb8f6e721cfa71fff1224379114b06f7e933..ba595db0f6636a34cb37286f4678f6efe3f80784 100644 --- a/pystencils/__init__.py +++ b/pystencils/__init__.py @@ -15,13 +15,6 @@ from .slicing import make_slice from .spatial_coordinates import x_, x_staggered, x_staggered_vector, x_vector, y_, y_staggered, z_, z_staggered from .sympyextensions import SymbolCreator -try: - import pystencils_autodiff - - autodiff = pystencils_autodiff -except ImportError: - pass - __all__ = ['Field', 'FieldType', 'fields', 'TypedSymbol', 'make_slice', diff --git a/pystencils/autodiff.py b/pystencils/autodiff.py deleted file mode 100644 index 96ac836c82542fb66dad74401233a86afd9a1bf7..0000000000000000000000000000000000000000 --- a/pystencils/autodiff.py +++ /dev/null @@ -1,12 +0,0 @@ -""" -Provides tools for generation of auto-differentiable operations. - -See https://github.com/theHamsta/pystencils_autodiff - -Installation: - -.. code-block:: bash - pip install pystencils-autodiff -""" - -raise NotImplementedError('pystencils-autodiff is not installed. Run `pip install pystencils-autodiff`') diff --git a/setup.py b/setup.py index 5e11ec2f41c6090b93c7e0013a39812942417007..a2053b422093366d1d89f349d8855dad112e25b9 100644 --- a/setup.py +++ b/setup.py @@ -117,7 +117,6 @@ setuptools.setup(name='pystencils', 'alltrafos': ['islpy', 'py-cpuinfo'], 'bench_db': ['blitzdb', 'pymongo', 'pandas'], 'interactive': ['matplotlib', 'ipy_table', 'imageio', 'jupyter', 'pyevtk', 'rich', 'graphviz'], - 'autodiff': ['pystencils-autodiff'], 'doc': ['sphinx', 'sphinx_rtd_theme', 'nbsphinx', 'sphinxcontrib-bibtex', 'sphinx_autodoc_typehints', 'pandoc'], 'use_cython': ['Cython']