Skip to content

fix: handle deferred scalarization in SDE simplification - #4877

Merged
AayushSabharwal merged 1 commit into
masterfrom
as/scalarize-sde-mtkcompile
Aug 6, 2026
Merged

fix: handle deferred scalarization in SDE simplification#4877
AayushSabharwal merged 1 commit into
masterfrom
as/scalarize-sde-mtkcompile

Conversation

@AayushSabharwal

Copy link
Copy Markdown
Member

Close #4875

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia vlts)

Time benchmarks
master f781d65... master / f781d65...
ODEProblem 5.77 ± 0.39 ms 5.67 ± 0.2 ms 1.02 ± 0.078
init 0.086 ± 0.031 ms 0.0862 ± 0.032 ms 0.997 ± 0.52
large_parameter_init/ODEProblem 16.1 ± 1.4 ms 16.9 ± 0.84 ms 0.952 ± 0.097
large_parameter_init/init 0.0868 ± 0.038 ms 0.0869 ± 0.037 ms 0.999 ± 0.61
mtkcompile 10.6 ± 0.88 ms 9.5 ± 0.6 ms 1.11 ± 0.12
sparse_analytical_jacobian/ODEProblem 19.5 ± 0.75 ms 20.8 ± 1 ms 0.935 ± 0.058
sparse_analytical_jacobian/f_iip 0.07 ± 0.01 μs 0.07 ± 0.01 μs 1 ± 0.2
sparse_analytical_jacobian/f_oop 0.394 ± 0.011 ms 0.395 ± 0.011 ms 0.998 ± 0.038
time_to_load 6.31 ± 0.02 s 6.33 ± 0.074 s 0.997 ± 0.012
Memory benchmarks
master f781d65... master / f781d65...
ODEProblem 0.0368 M allocs: 1.9 MB 0.0368 M allocs: 1.9 MB 0.999
init 0.428 k allocs: 0.0725 MB 0.428 k allocs: 0.0725 MB 1
large_parameter_init/ODEProblem 0.159 M allocs: 5.99 MB 0.159 M allocs: 5.99 MB 1
large_parameter_init/init 0.616 k allocs: 0.175 MB 0.616 k allocs: 0.175 MB 1
mtkcompile 0.059 M allocs: 3.35 MB 0.059 M allocs: 3.34 MB 1
sparse_analytical_jacobian/ODEProblem 0.117 M allocs: 5.69 MB 0.117 M allocs: 5.69 MB 0.999
sparse_analytical_jacobian/f_iip 0 allocs: 0 B 0 allocs: 0 B
sparse_analytical_jacobian/f_oop 0.634 k allocs: 19.6 kB 0.634 k allocs: 19.6 kB 1
time_to_load 0.153 k allocs: 14.5 kB 0.153 k allocs: 14.5 kB 1

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia v1)

Time benchmarks
master f781d65... master / f781d65...
ODEProblem 5.4 ± 0.15 ms 5.75 ± 0.45 ms 0.939 ± 0.078
init 0.0649 ± 0.019 ms 0.065 ± 0.02 ms 0.998 ± 0.42
large_parameter_init/ODEProblem 15.2 ± 1.9 ms 17.4 ± 2.3 ms 0.875 ± 0.16
large_parameter_init/init 0.0785 ± 0.022 ms 0.0818 ± 0.035 ms 0.96 ± 0.49
mtkcompile 8.79 ± 0.24 ms 8.81 ± 0.35 ms 0.997 ± 0.049
sparse_analytical_jacobian/ODEProblem 21.6 ± 2 ms 21.4 ± 1.7 ms 1.01 ± 0.12
sparse_analytical_jacobian/f_iip 0.09 ± 0.009 μs 0.09 ± 0.009 μs 1 ± 0.14
sparse_analytical_jacobian/f_oop 0.139 ± 0.013 ms 0.141 ± 0.013 ms 0.989 ± 0.13
time_to_load 5.64 ± 0.044 s 5.86 ± 0.045 s 0.962 ± 0.011
Memory benchmarks
master f781d65... master / f781d65...
ODEProblem 0.0364 M allocs: 1.66 MB 0.0364 M allocs: 1.66 MB 1
init 0.426 k allocs: 0.0545 MB 0.426 k allocs: 0.0545 MB 1
large_parameter_init/ODEProblem 0.151 M allocs: 4.98 MB 0.151 M allocs: 4.95 MB 1.01
large_parameter_init/init 0.809 k allocs: 0.154 MB 0.809 k allocs: 0.154 MB 1
mtkcompile 0.0556 M allocs: 2.59 MB 0.0556 M allocs: 2.59 MB 1
sparse_analytical_jacobian/ODEProblem 0.117 M allocs: 4.75 MB 0.117 M allocs: 4.75 MB 1
sparse_analytical_jacobian/f_iip 0 allocs: 0 B 0 allocs: 0 B
sparse_analytical_jacobian/f_oop 0.848 k allocs: 27 kB 0.848 k allocs: 27 kB 1
time_to_load 0.145 k allocs: 11 kB 0.145 k allocs: 11 kB 1

@AayushSabharwal
AayushSabharwal force-pushed the as/scalarize-sde-mtkcompile branch from f781d65 to 7731d96 Compare August 6, 2026 09:05
@AayushSabharwal
AayushSabharwal merged commit 82d0abf into master Aug 6, 2026
83 of 93 checks passed
@AayushSabharwal
AayushSabharwal deleted the as/scalarize-sde-mtkcompile branch August 6, 2026 12:55
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.

make_eqs_zero_equals! fails on array-valued differential equations with brownian variables

1 participant