-
Notifications
You must be signed in to change notification settings - Fork 37
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
Memory optimisation #40
Comments
My apologies for failing to respond to this. To this date, KrylovKit is not the most memory friendly, i.e. it is not reusing memory from previous vectors (e.g. the Krylov subspace from the previous iteration). This, you can notice based on the fact that, if you implement the linear operator as a function, KrylovKit only requires, or in fact only accepts, an out of place method, which allocates a new vector for the result of the application of the linear map. Replacing this with in-place methods that reuse the memory has been on the todo list from day one, but so far has not happened. Hopefully I will find the time one day. |
thank you |
I will close this in favor of Issue #9 , which is really the same issue at the core. Feel free to reopen if there is anything GPU specific that I should think about. |
Hi,
I am using KK in a very memory "limited" GPU. I would like to ask you a few questions to optimize my code:
If you have suggestions, please do not hesitate,
Thank you
Best regards.
The text was updated successfully, but these errors were encountered: