-
Notifications
You must be signed in to change notification settings - Fork 16
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
tadam solver #260
base: main
Are you sure you want to change the base?
tadam solver #260
Conversation
There are surely allocation issues due to |
Did you investigate why the tests didn't pass? |
Trust-region embeded ADAM (TADAM) algorithm for unconstrained optimization. This is an adaptation of ADAM which enforces convergence in the non-convexe case. | ||
|
||
# Minimal algorithm description | ||
The step sk at iteration k is computed as: |
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.
Please apply all the same kinds of comments as for FOMO related to spacing, blank lines, indentation, etc.
∇fk = solver.∇f | ||
c = solver.c | ||
momentum = solver.m | ||
d̂ = solver.d |
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.
Could it just be called d
? The hat is displayed in a strange way.
Co-authored-by: Dominique <[email protected]>
|
I understand. If it's just the Float16 bugging, then most likely it is a tolerance or parameter issue. |
Trust-region embedded ADAM (TADAM) is an adaptation of ADAM which converges in the non-convex case.
It relies on limiting the momentum contribution to ensure that the step is along a descent direction.