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

Full Training from Start:CUDA out of memory. #35

Open
YUANMU227 opened this issue Sep 19, 2024 · 2 comments
Open

Full Training from Start:CUDA out of memory. #35

YUANMU227 opened this issue Sep 19, 2024 · 2 comments

Comments

@YUANMU227
Copy link

Hello, great work! I am trying to perform Full Training from Start, but I am running out of GPU memory. How much GPU resources are needed for training?

The repository states: At least 4A6000 GPUs or 2A100 GPUs will be enough for the training.

I am training on 2*A100 GPUs, each with 80GB. However, I still encounter out of memory issues:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 3.82 GiB (GPU 1; 79.15 GiB total capacity; 71.88 GiB already allocated; 3.40 GiB free; 74.46 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

@YUANMU227
Copy link
Author

I trained based on iqa_iaa.sh

@dongdk
Copy link

dongdk commented Nov 4, 2024

is it possible to train the q-align using one A100-80G GPU?

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