-
-
Notifications
You must be signed in to change notification settings - Fork 83
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: use SII instead of explicitly accessing SciMLFunction.syms #626
fix: use SII instead of explicitly accessing SciMLFunction.syms #626
Conversation
@@ -51,6 +52,7 @@ ProgressLogging = "0.1" | |||
Reexport = "0.2, 1.0" | |||
Requires = "1.0" | |||
SciMLBase = "1.79.0, 2" | |||
SymbolicIndexingInterface = "0.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to not get resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not released yet
SciML/SymbolicIndexingInterface.jl#12
The changes here are due to SciML/SciMLBase.jl#532
5f2a24c
to
b45db6d
Compare
b45db6d
to
2f69306
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #626 +/- ##
=========================================
- Coverage 0.11% 0.00% -0.12%
=========================================
Files 40 12 -28
Lines 2689 1141 -1548
=========================================
- Hits 3 0 -3
+ Misses 2686 1141 -1545 ☔ View full report in Codecov by Sentry. |
Did this work locally with the other pieces checked out? |
I haven't tested it yet. There are more libraries that need a bump, but it looks like for some reason it can't pull in 0.14 Flux during tests which caps CUDA at 4, whereas LinearSolve needs 5. EDIT: it seems |
I don't even know what to make of this |
This passes if Flux compat is bumped and 1.10 is used |
2f69306
to
50e1e9e
Compare
@@ -61,6 +62,7 @@ ReverseDiff = "1" | |||
SciMLBase = "1.79.0, 2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this need to be bumped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would it? Nothing in Optimization changed that prevents it from being compatible with previous versions of SciMLBase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I thought the RAT v3 or SII v0.3 changes would require it, but if that back compatibility is kept then we're good.
Merging to unblock others. |
@@ -85,7 +85,7 @@ function SciMLBase.get_syms(sol::SciMLBase.OptimizationSolution{ | |||
C <: | |||
MOIOptimizationNLPCache, | |||
} | |||
sol.cache.evaluator.f.syms | |||
variable_symbols(sol.cache.evaluator.f) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't OptimizationMOI need its Project.toml updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I didn't realize. Thanks. I'll push these changes to the rerun CI
PR
I think this broke CI https://github.com/SciML/Optimization.jl/actions/runs/7209658584/job/19641063898? |
Yeah it won't pass until MTK is tagged. I ran it locally and tests pass. |
No description provided.