-
-
Notifications
You must be signed in to change notification settings - Fork 67
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 SDEProblem constructor #546
Conversation
Signed-off-by: ErikQQY <[email protected]>
Signed-off-by: ErikQQY <[email protected]>
This PR seems to fail a lot of tests. |
Signed-off-by: ErikQQY <[email protected]>
Now these failings seem caused by SDEProblemLibrary.jl |
Signed-off-by: ErikQQY <[email protected]>
It seems the testing for StochasticDiffEq.jl is still using the old version of SDEProblemLibrary.jl, is there some way we can bump it? |
Up the lower bound. |
The lower bound of SDEProblemLibrary.jl in tests? I don't think there is one. |
Looks like it got the updated SDEProblemLibrary |
Yeah, it is using the latest SDEProblemLibrary, but the error is still about Catalyst and MTK stuff, is there something I am missing? |
No, those test errors are real: https://github.com/SciML/StochasticDiffEq.jl/actions/runs/6291363683/job/17079673649?pr=546#step:6:548 Was the tests all passing locally? That seems unlikely. |
Just the constructor didn’t cover all the cases, need further modifications. |
Did you forget to push an overload to |
Yeah, I need to make a dispatch of |
…into qqy/refactor_sde
Signed-off-by: ErikQQY <[email protected]>
…ticDiffEq.jl into qqy/refactor_sde
Tests failings are real, still need some modifications on |
Finally all the issues are addressed🎉🎉🎉 |
[ Info: Brusselator | 4.664995 seconds (14.82 M allocations: 1.955 GiB, 9.68% gc time, 134.71% compilation time) on master #549 but on this PR: CPU Weak adaptive step size Brusselator | 1 1 11.4s | 11.764316 seconds (25.83 M allocations: 2.619 GiB, 6.65% gc time, 553.30% compilation time) |
Interesting, that looks like it was just a random hiccup. |
I have a suggestion: |
It looks like DiffEqNoiseProcess's regression is on master, so this can be merged. https://github.com/SciML/StochasticDiffEq.jl/actions/runs/6353130403/job/17257204276?pr=549 |
Sure that would be cool, but here it was just a quirk in the CI machine. |
Now the SDE constructor is simply
SDEProblem(SDEFunction(f, g), u0, tspan)
orSDEProblem(f, g, u0, tspan)
SciML/SciMLBase.jl#489