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

autospecialize rather than full specialize by default for the various NonlinearProblems #681

Conversation

oscardssmith
Copy link
Contributor

This doesn't change anything yet, but is a step in the direction of making NonlinearSolve not specialize on the user given function which will reduce compilation time on first nonlinear solve.

Copy link

codecov bot commented May 1, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 31.67%. Comparing base (9e92fc6) to head (671c208).

Files Patch % Lines
src/problems/basic_problems.jl 66.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #681      +/-   ##
==========================================
- Coverage   31.74%   31.67%   -0.07%     
==========================================
  Files          55       55              
  Lines        4505     4508       +3     
==========================================
- Hits         1430     1428       -2     
- Misses       3075     3080       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ChrisRackauckas
Copy link
Member

might as well

@ChrisRackauckas ChrisRackauckas merged commit 2558e62 into SciML:master May 1, 2024
31 of 42 checks passed
@oscardssmith oscardssmith deleted the os/auto-specialize-NonlinearFunctions branch May 1, 2024 16:04
@oscardssmith
Copy link
Contributor Author

are you sure the CI failures here weren't real? They looked plausibly related

@avik-pal
Copy link
Member

avik-pal commented May 1, 2024

They do seem related

@ChrisRackauckas
Copy link
Member

Revert

@oscardssmith
Copy link
Contributor Author

#682

@oscardssmith
Copy link
Contributor Author

I'm really confused how this was causing problems since from looking at the code, AutoSpecialize should only change things for in place ODEFunctions.

ChrisRackauckas added a commit that referenced this pull request May 1, 2024
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.

3 participants