Random expensive recompilations with BFGS #8002
Unanswered
mattwescott
asked this question in
Q&A
Replies: 2 comments 1 reply
-
A minimal repro would probably help. One basic question: are you timing using |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Jake, this was my mistake. I had the wrong |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The same optimization with the same input shapes sometimes takes a few seconds, and sometimes it is 1000x faster. Maybe JIT is recompiling based on dynamic structure in BFGS? I'm seeing random slow evaluations even with
maxiter==1, line_search_maxiter==1
.Is this expected when the number of iterations is fixed? If it needs digging, I'm happy to work on a minimal reproduction.
Beta Was this translation helpful? Give feedback.
All reactions