Skip to content
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

CUDA out of memory #1222

Open
Backlonhw2468 opened this issue Dec 22, 2024 · 0 comments
Open

CUDA out of memory #1222

Backlonhw2468 opened this issue Dec 22, 2024 · 0 comments

Comments

@Backlonhw2468
Copy link

I encountered an Error saying "CUDA out of memory. Tried to allocate 2.93 GiB (GPU 0; 23.80 GiB total capacity; 12.04 GiB already allocated; 2.82 GiB free; 19.69 GiB reserved in total by Pytorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF".

The error above occurs when training a GAT model. Is there any way to change the "max_split_size_mb " setting in torch?

The torch version is 0.13.0. The CUDA version is 11.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant