Skip to content

fix VR_Direct/FW type instability, reduce gene expr test variants#552

Merged
isaacsas merged 1 commit intoSciML:masterfrom
isaacsas:gene_expr_test_fix
Feb 16, 2026
Merged

fix VR_Direct/FW type instability, reduce gene expr test variants#552
isaacsas merged 1 commit intoSciML:masterfrom
isaacsas:gene_expr_test_fix

Conversation

@isaacsas
Copy link
Copy Markdown
Member

Cache gauss_points/gauss_weights as module-level const to fix type instability from non-const globals in DiffEqCallbacks. Add loop-based cumsum_rates! for AbstractVector to avoid dynamic splatting in VR_DirectFW. Reduce gene expr test variants: test use_stepper=false and Float64 u0 with subset of algorithms, use init/reinit!/solve! pattern in runSSAs_ode.

Gene expr test: 543s → 125s (4.4×), 15.36G → 73M allocs (210×).

Cache gauss_points/gauss_weights as module-level const to fix type
instability from non-const globals in DiffEqCallbacks. Add loop-based
cumsum_rates! for AbstractVector to avoid dynamic splatting in
VR_DirectFW. Reduce gene expr test variants: test use_stepper=false
and Float64 u0 with subset of algorithms, use init/reinit!/solve!
pattern in runSSAs_ode.

Gene expr test: 543s → 125s (4.4×), 15.36G → 73M allocs (210×).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@isaacsas isaacsas merged commit 59ae87c into SciML:master Feb 16, 2026
11 checks passed
@isaacsas isaacsas deleted the gene_expr_test_fix branch February 16, 2026 02:04
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