I want to calculate a Gaussian process. For this I need to calculate the following equation: f = X @ Z^-1 @ y
To handle the inverse I use c = Z^-1 @ y which is the solution of the problem Z @ c = y. So, I use a solver for linear systems (least squares) to calculate c on my GPU (using cupy). The problem now is, that I reach the memory capacity (16000x16000 matrix). Is it possible to calculate c in batches? Or how can I solve the out of memory issue?
I searched the internet but I found nothing.