-
Notifications
You must be signed in to change notification settings - Fork 227
Hessian AD for logjoint and second-order optim interface broken #1878
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
Comments
IIRC second order derivatives have never been supported (at least in the Optim interface). |
So what was going on in #1232 and #1369 then? I do recall there being an error previously when trying to use Is there a discussion somewhere on why second-order derivatives are not currently possible and what needs to be done to make it happen? |
@cpfiffer Could you clarify? |
It seems like it's just an issue with |
The `ThreadSafeVarInfo` still has quite a few implementation details inherited from compat with `VarInfo`. This PR makes `ThreadSafeVarInfo` work better with other implementations, e.g. `SimpleVarInfo`. It also fixes TuringLang/Turing.jl#1878 (comment)
Support for second-order forward-mode differentiation seems to be broken on the latest version (v0.21.10).
MWE:
Error:
Also with the
Optim
interface:I think there have been some changes to the JuliaOptim ecosystem packages recently. Perhaps this broke something?
The text was updated successfully, but these errors were encountered: