-
Notifications
You must be signed in to change notification settings - Fork 54
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
bug: Memory leak when runing the example code with <1k points #404
Comments
It actually seems like any standard dense GPR with more than 1k points is causing a memory leak in my environment? Was there a recent change on the cola side that could cause this? |
Thanks @MDCHAMP. Yes, it is my understanding the default (auto) algorithm for CoLA changes |
I'm using |
Thanks for the info @MDCHAMP. I have bumped CoLA to |
Ah that makes a lot of sense then. A current workaround is to not jit the objective function in the call to gpx.fit |
Ooh that interesting. Maybe we are slightly at fault on that one. As briefly mentioned in #402, jitting objective functions before passing to fit seems little dodgy, as it is a class. I think removing the ability to do this, and rather only allowing to jit |
Bug Report
GPJax version:
0.7.1
Current behavior:
Memory leak when calling
gpx.fit
in the "Simple example" code.Expected behavior:
Example to run correctly.
Steps to reproduce:
Copy code from front page of gh "Simple example" and set
n=
1001`.Other information:
Looking at the stacktrace it seems like the issue is coming from a side effct inside cola. Could this be related to a heuristic algortihm swap for operations greater than 1k points?
The text was updated successfully, but these errors were encountered: