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 #46

Open
KevinHuang1102 opened this issue Mar 11, 2023 · 2 comments
Open

CUDA out of memory #46

KevinHuang1102 opened this issue Mar 11, 2023 · 2 comments

Comments

@KevinHuang1102
Copy link

I use RTX3070 to run test.py,but there occur an error:
OutOfMemoryError: CUDA out of memory. Tried to allocate 1.88 GiB (GPU 0; 7.78 GiB total capacity; 5.65 GiB already allocated; 677.44 MiB free; 5.90 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
How can I slove this problem?

@Saun-Hu
Copy link

Saun-Hu commented May 14, 2024

the same error as your's with Tesla P100,have you solved this problem?

@KevinHuang1102
Copy link
Author

Unfortunately, I didn't solve this problem. I guess that my GPU is not powerful enough.

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

2 participants