Skip to content
Snippets Groups Projects

Add pystencils-autodiff

Closed Stephan Seitz requested to merge seitz/pystencils:add-pystencils-autodiff into master
1 unresolved thread

This adds pystencils_autodiff (https://pypi.org/project/pystencils-autodiff/0.1.3/) to pystencils.

After installing the extension, you can access all its classes in the submodule pystenicls.autodiff. If it's not installed but you try to import it you get an error with installation instructions.

The internal code of pystencils_autodiff is still very ugly. I hope I can clean it up in the next days/weeks.

Edited by Stephan Seitz

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 """
2 Provides tools for generation of auto-differentiable operations.
3
4 See https://github.com/theHamsta/pystencils_autodiff
5
6 Installation:
7
8 .. code-block:: bash
9 pip install pyconrad-autodiff
10 """
11 import os
12
13 if 'CI' not in os.environ:
14 raise NotImplementedError('pystencils-autodiff is not installed. Run `pip install pyconrad-autodiff`')
  • Stephan Seitz added 2 commits

    added 2 commits

    Compare with previous version

  • Author Maintainer

    Ooops. There are to many Python packages staring with py...

    Should be fixed now.

    pip3 install -e .[autodiff]

    does the right thing.

  • I've cherry-picked your changes, changed another pyconrad to pystencils ;), and pushed it to master

  • closed

  • Please register or sign in to reply
    Loading