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

Fix ODEFunction constructor #483

Merged
merged 2 commits into from
Aug 22, 2023
Merged

Fix ODEFunction constructor #483

merged 2 commits into from
Aug 22, 2023

Conversation

YingboMa
Copy link
Member

No description provided.

Copy link

@ai-maintainer ai-maintainer bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-Maintainer Review for PR - Fix ODEFunction constructor

Title and Description ❌

The title is clear but the description is missing The title of the pull request is clear and indicates the purpose of the changes. However, the description is missing. It would be beneficial for the contributor to provide a brief description of the problem they encountered and how their changes address it. This would improve the clarity and understanding of the purpose of the changes for the reviewers.

Scope of Changes ✅

The changes are narrowly focused The changes in this pull request are narrowly focused on fixing the ODEFunction constructor. There are no indications of the author trying to resolve multiple issues simultaneously.

Testing ❌

No information about testing is provided The description of the pull request does not provide any information about how the author tested the changes. It would be beneficial for the contributor to include details about the testing methodology they employed to ensure the correctness and effectiveness of their modifications.

Code Changes ✅

The code changes are appropriate The code changes seem to be appropriate for the stated purpose of fixing the ODEFunction constructor. The diff shows modifications related to the constructor, specifically in the arguments being passed to it.

Required Changes

  1. Please provide a description for the pull request that explains the problem you encountered and how your changes address it.
  2. Please provide information about how you tested the changes.

Potential Issues

Without a description or testing information, it's difficult to identify potential issues. Please provide these details to help ensure the reliability and effectiveness of the changes.

Reviewed with AI Maintainer

@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #483 (8d7de64) into master (a6b09ce) will decrease coverage by 1.52%.
The diff coverage is 17.64%.

@@            Coverage Diff             @@
##           master     #483      +/-   ##
==========================================
- Coverage   57.28%   55.76%   -1.52%     
==========================================
  Files          50       50              
  Lines        3657     3658       +1     
==========================================
- Hits         2095     2040      -55     
- Misses       1562     1618      +56     
Files Changed Coverage Δ
src/ensemble/basic_ensemble_solve.jl 80.18% <ø> (ø)
src/ensemble/ensemble_solutions.jl 44.95% <0.00%> (ø)
src/scimlfunctions.jl 57.89% <ø> (-1.90%) ⬇️
src/ensemble/ensemble_problems.jl 40.90% <10.00%> (-1.95%) ⬇️
ext/ZygoteExt.jl 50.00% <40.00%> (ø)

... and 9 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ChrisRackauckas
Copy link
Member

How did this come up? AutoSpecialize is almost always going to be preferred to NoSpecialize

@ChrisRackauckas ChrisRackauckas merged commit 89a2906 into master Aug 22, 2023
56 of 61 checks passed
@ChrisRackauckas ChrisRackauckas deleted the myb/fix branch August 22, 2023 20:24
@YingboMa
Copy link
Member Author

JuliaSimCompiler switches to NoSpecialize when the IR is sufficiently big.

@ChrisRackauckas
Copy link
Member

Does that actually make a difference?

@YingboMa
Copy link
Member Author

It helped compare to FullSpecialize, but I didn't compare it to AutoSpecialize.

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