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

Open
Ericwen2001 opened this issue Jun 15, 2024 · 7 comments
Open

CUDA out of memory #9

Ericwen2001 opened this issue Jun 15, 2024 · 7 comments

Comments

@Ericwen2001
Copy link

Thank you for open-sourcing this cool project. I noticed that the memory usage during the training process with your default settings is close to 24GB after the warming, which causes an out-of-memory error on 3090/4090 GPU. Could you empirically suggest any strategies to reduce the memory usage for 24GB GPUs without significantly impacting performance?

@lcc815
Copy link

lcc815 commented Jun 20, 2024

same issue. Have you finally solved this problem?

@lingbo-yu
Copy link

@Ericwen2001 same issue. can you provide some advice? thankyou

@Michael-Evans-Savitar
Copy link

same issue, it seems that the project doesn't support 3090 GPU with 24G memory. What should be done, any suggestions for running on a single GPU?

@Treeplanter1
Copy link

Same issue, I have 2 4090GPU, but I found that only one was used during training. And I got "CUDA out of memory" just after the warm up process.

@lingbo-yu
Copy link

https://github.com/nnanhuang/S3Gaussian/blob/6c96925981a7a02328f382691d38a20bfe8c05a2/scene/dataset_readers.py#L609C1-L619C26
refer the the code below,
maybe you guys can change the image size loaded or reduce the cameras used

@Fdarco
Copy link

Fdarco commented Sep 20, 2024

Same issue, are there any methods to train the model with multi-GPUs?

@HHollowAU
Copy link

同样的问题,有什么方法可以训练具有多 GPU 的模型吗?

how to use multy GPU,have slove? l use "export PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:128",can run ,but every slow

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

7 participants