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

refactor init codepaths #2557

Open
oscardssmith opened this issue Dec 13, 2024 · 1 comment
Open

refactor init codepaths #2557

oscardssmith opened this issue Dec 13, 2024 · 1 comment

Comments

@oscardssmith
Copy link
Contributor

Currently the process of init goes through a kind of crazily convoluted set of dispatches that initially existed to allow DifferentialEquations to hijack the default solve without causing method ambiguities. Now that we've moved to a model where this complexity isn't necessary, it would be good at some point to see if we can simplify the init->init_up->init_call->__init dance.

@ChrisRackauckas
Copy link
Member

The main purpose of it is because we cannot differentiate keyword arguments in ChainRules, and so there are some parts of this specifically to handle the differentiation rule definitions.

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

No branches or pull requests

2 participants