Replies: 1 comment
-
Line search can become numerically instable in float32 precision unfortunately. Something I would like us to do is to rewrite |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am finding that running
GradientDescent(...)
withstepsize=0.0
blows up, presumably because the initial stepsize used by the linesearch is too large. When I usestepsize=1e-3
, the problem I'm working on runs fine. Is there a way to specify the initial stepsize for the linesearch? Or should I open an issue to request that the linesearch functions be revamped to be more robust?If others do not encounter this problem I can try to reproduce a minimal working example. But from skimming the linesearch code it doesn't seem like there is anything that forces the objective to monotonically decrease at each iteration.
Beta Was this translation helpful? Give feedback.
All reactions