Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with newer versions of NeuralPDE, Lux, ModelingToolkit #33

Merged
merged 12 commits into from
Dec 13, 2024

Conversation

nicholaskl97
Copy link
Collaborator

@nicholaskl97 nicholaskl97 commented Dec 12, 2024

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

To enable GPU support (in progress), we need to use a newer version of NeuralPDE (and, in turn, Lux and ModelingToolkit), which broke some tests. This fixes those.

Adds support for benchmarking with multiple optimization passes (e.g., two passes at different learning rates or an Adam pass followed by a BFGS pass).

Fixes broken UnstructuredNeuralLyapunov structure and adds strength keyword to AsymptoticStability decrease condition (for use in periodic systems).

Removes examples of GridTraining, since they're a bad choice in addition to being broken while I was working on this PR (now fixed SciML/NeuralPDE.jl#910).

Replaces DifferentialEquations.jl dependency with OrdinaryDiffEq.jl.

@nicholaskl97 nicholaskl97 merged commit 1995b41 into master Dec 13, 2024
3 of 4 checks passed
@nicholaskl97 nicholaskl97 deleted the neuralpde_update branch December 13, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant