admin管理员组文章数量:1122832
I'm trying to fit some large (relatively to GPU memory size) Gaussian Process model on my dataset using GPyTorch with KeOPS. However, it looks like I'm not able to benefit from KeOPS in reducing the memory footprint.
I started from GPyTorch tutorial with KeOPS, taken from GitHub here. When running the notebook, I do get the following error message: OutOfMemoryError: CUDA out of memory. Tried to allocate 528.38 GiB.
. I don't think the notebook expects the user to have 500+GB of GPU ram to run.
What am I doing wrong? Or is the example outdated? Currently on GPyTorch 1.13.
I'm trying to fit some large (relatively to GPU memory size) Gaussian Process model on my dataset using GPyTorch with KeOPS. However, it looks like I'm not able to benefit from KeOPS in reducing the memory footprint.
I started from GPyTorch tutorial with KeOPS, taken from GitHub here. When running the notebook, I do get the following error message: OutOfMemoryError: CUDA out of memory. Tried to allocate 528.38 GiB.
. I don't think the notebook expects the user to have 500+GB of GPU ram to run.
What am I doing wrong? Or is the example outdated? Currently on GPyTorch 1.13.
Share Improve this question asked Nov 21, 2024 at 13:17 stavoltafunziastavoltafunzia 778 bronze badges1 Answer
Reset to default 0Found it, was a very dummy mistake. I did not install pykeops
before running the code. Weird enough, if pykeops
is not installed then keops kernels in gpytorch.kernels.keops
fallback to non-keops kernels. The fallback in my case was happening silently, with no warning (somehow the warning generated here was suppressed).
I figured this out by inspecting source code. IMHO, I think that gpytorch.kernels.keops
should raise some exception when it's used whitout pykeops
installed.
本文标签: pythonGPyTorch Regression With KeOpsOutOfMemoryErrorStack Overflow
版权声明:本文标题:python - GPyTorch Regression With KeOps - OutOfMemoryError - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736310548a1934418.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论