Repository navigation
Test ModelingToolkitNeuralNets terms and fix the compiled ODE path - #678
Merged
utkuyilmaz1903 merged 1 commit intoSep 5, 2026
Merged
Conversation
ChrisRackauckas
approved these changes
Sep 5, 2026
utkuyilmaz1903
marked this pull request as ready for review
September 5, 2026 14:16
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 7, 2026
- Trim the array-form capability list from MOLFiniteDifference. (#673) - Stop infinite expansion when a PDE unknown is missing from the system. (#674) - Support vector-valued functions in ArrayDiscretization (#675) - Test ModelingToolkitNeuralNets terms and fix the compiled ODE path (#678) - Add a tutorial on training a neural network term in a PDE (#679) - Stack vector field inputs and batch network calls in ArrayDiscretization (#680) - Add a tutorial on learning the Brusselator reaction with a neural network (#681) - Stack scalar inputs with field slices in ArrayDiscretization (#682) - Test callable diffusion coefficients (#683) - Reconstruct array observables once per PDE field (#676) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #675. The tests there used a stand-in for the MTKNN callable; this adds the real package and fixes a bug it turned up.
New
NeuralNetstest group with its own env (same setup as QA) so Lux only gets loaded there. Heat equation with aSymbolicNeuralNetworkterm:NN(u, θ)[1]NN([u], θ)[1]form to 7e-12NNin two fieldsNN([u, v], θ)[i]mtkcompilewas failing on these terms.@register_array_symbolicwithsizebut nondimsmakespromote_symtypereturnArray{Real}, which blows up in alias elimination (_numeric_or_arrnumeric_type). Addedndimsto both registrations. The parameterized heat tests inDiscretizationnow also go throughmtkcompile→ODEProblem; fails on master, passes here, agrees with the DAE path to 1e-11.Still open:
NN([u, v], θ)falls back, and the network is called per grid point rather than batched.