-
Notifications
You must be signed in to change notification settings - Fork 6
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 build_laplace_objective behaviour #115
Conversation
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.
LGTM subject to patch bump and CI passing (I'm convinced by the test)
…eGPs.jl into st/fix_laplace_109
Hm, I'm not quite sure how to fix the autodiff issues 😞 @willtebbutt any ideas ? |
Hmmm a good place to start might be to figure out where the |
That I can tell you: it's coming from the |
Hmm okay. So is a |
I'm getting less sure here, but it's definitely not an issue in the forward pass (and all the |
…eGPs.jl into st/fix_laplace_109
…s/ApproximateGPs.jl into st/fix_laplace_109
Codecov Report
@@ Coverage Diff @@
## master #115 +/- ##
==========================================
- Coverage 94.13% 93.61% -0.52%
==========================================
Files 5 5
Lines 324 329 +5
==========================================
+ Hits 305 308 +3
- Misses 19 21 +2
Continue to review full report at Codecov.
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
end | ||
|
||
mutable struct LaplaceObjectiveCache | ||
f::Union{Nothing,Vector} |
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.
Would there be any significant gains from changing it to two fields, f::Vector
and f_initialized::Bool
or something like that?
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.
LGTM
Resolves #109