Skip to content

Default Automatic Differentiation Choice #353

@avik-pal

Description

@avik-pal

Forward AD

  • Non-Sparse Default AD should be AutoPolyesterForwardDiff (if that package is loaded). This will be similar to SimpleNonlinearSolve

Reverse AD

  • For in-place problems, we default to AutoFiniteDiff. This is a really bad choice. We should default to: (conditional on the package being loaded)
    • AutoReverseDiff (after implementing the corresponding version in SparseDiffTools) for non-GPU versions
    • AutoEnzyme for all other cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions