-
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
dev: let CoLA decide how to solve #475
Comments
Hey! This is a good point. We enforced the use of Cholesky as it's a bit disarming when things change under the hood without one's knowledge. However, we could make the solver an optional argument to the function, where the default value is Cholesky. Would that be a solution to your issue? |
I think so, but from an GPJax API maintenance point of view, if you're committed to using CoLA (or a fork of it) to do the linalg stuff, then it's probably easier just to specify |
Yes. I think in the spirit of flexibility, I would make the solver an optional argument. Given how important the solver is, I'd prefer users to never be surprised by how the solve operation is done. I am OK with making this change to the codebase. @theorashid would you be willing to open a PR for this? I can do it, but not in the next few weeks. Related issue #381 |
Resolved in #478 |
Hey everyone,
I'm running an exact GP on a large dataset (16.5k observations) and I'm running into memory issues / issues with the stability of solve. These issues do not occur when I use a smaller subset of the data. Of course, I could bump the memory on my server/GPU and see if that helps, but I'm wondering if there's another option. This specific bit of code uses the
.sample_approx()
method.The relevant lines where I get the error are
In this case, we force CoLA to use the
Cholesky()
alg. However, CoLA has two algorithms for PSDA
.So what we could do instead is wrap
Sigma
incola.PSD
and let CoLA decide the best algo. I'm open to being shut down if there is a particular reason for Cholesky, or if you think there is another reason I am running out of memory.GPJax version (although, despite the nnx update, I don't think it should matter in this case):
"gpjax==0.8.2"
The text was updated successfully, but these errors were encountered: