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

Open
kimzheng1204 opened this issue Jul 8, 2024 · 2 comments
Open

CUDA OUT OF MEMORY #124

kimzheng1204 opened this issue Jul 8, 2024 · 2 comments
Labels
question Further information is requested

Comments

@kimzheng1204
Copy link

Thank you very much for sharing your excellent work!
I am trying to run splatam on my computer with GeForce RTX 4060 (8 GB). I tried on Repica/office0 dataset by command python scripts/splatam.py configs/replica/splatam.py. The code could run for a while but got the error "CUDA OUT OF MEMORY" at "Tracking Time Step: 1050".
截图 2024-07-07 23-17-08
I have tried to decrease the number of "num_frames" and the code could run well. However, I want to reconstruct the whole scene. I wonder if I could change other parameters to run the code on a complete sequence, or is my graphics card configuration unable to support splatam to run a complete Replica sequence?
Looking forward to your reply!

@czeyveli1
Copy link

Same error (My setup is RTX 4070 8GB vRAM). I cannot understand how they rendered the Replica Dasaset using 3080 Ti. (They did not mention the vRAM. Maybe it should be higher.)

I will try to decrease the number of frames like you, but I have a question. Is there any way to render all the datasets separating half by half?

@Nik-V9
Copy link
Contributor

Nik-V9 commented Aug 29, 2024

Hi, the 3080Ti has 12 GB of vRAM.

If you are running into CUDA OOM issues, you can run the reconstruction at a lower resolution. For example, see the following lines of this config:

desired_image_height=680,

@Nik-V9 Nik-V9 added the question Further information is requested label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants