Code runs half as fast after restarting jupyter notebook the next day #15413
Unanswered
alexandermm
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Hard to say, but one guess: if you set |
Beta Was this translation helpful? Give feedback.
6 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have some code using a custom autodiff function used by another function
pSpatialComp
. Just using CPU. Then I find the Jacobian and Hessian of the function for different parameters in a loop. For some reason yesterday this was taking 40 seconds and now it takes >80 seconds.What could the issue be? Is it a memory management issue? How could I make the code faster? The code is shown below:
Beta Was this translation helpful? Give feedback.
All reactions