Skip to content

Precompile SDE solves through specialization levels - #4457

Closed
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:codex/precompile-standard-sde
Closed

ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:codex/precompile-standard-sde

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

Closed

This PR contains the rejected typed-function-reference implementation. Review identified that SDE precompilation should use the specialization infrastructure like the ODE workloads, so the corrected replacement is #4467.

The required SDE constructor specialization infrastructure is proposed in SciML/SciMLBase.jl#1580.

Ignore this PR; it is closed and superseded.

🤖 Generated with Codex CLI 0.153.4 (model: unknown; session: local thread 01a06c1d-564b-7ef0-ada6-d83a233b55e2; no shareable URL was exposed).

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: OpenAI Codex <[email protected]>
Agent-Harness: Codex (version unknown)
Agent-Model: unknown
Agent-Session: local thread 01a06c1d-564b-7ef0-ada6-d83a233b55e2
@ChrisRackauckas

Copy link
Copy Markdown
Member

It should be add the speicalization levels to the SDEProblem infrastructure, not this.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Addressing this through the specialization infrastructure. SciML/SciMLBase.jl#1580 adds the missing SDEProblem{isinplace, specialize} constructor and covers all six markers for in-place and out-of-place problems. The OrdinaryDiffEq branch removes the typed Ref{Function} workaround, preserves SDE specialization through DiffEqBase concretization, and drives the precompile workload with the same specialization preferences used by ODE workloads. Final StochasticDiffEq validation is still running before I update this branch.

@ChrisRackauckas-Claude ChrisRackauckas-Claude changed the title Reduce StochasticDiffEq first-solve compilation Precompile SDE solves through specialization levels Sep 5, 2026
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

The specialization-based replacement is now available as a draft at #4467. The missing SDEProblem{isinplace, specialize} constructor prerequisite is SciML/SciMLBase.jl#1580.

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.

2 participants