-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Is 16GB memory not enough? #14
Comments
16GB should be plenty, actually. The fox dataset requires 7.56 GB on my machine. (see related discussion at #6) Could it be that another program (or a particularly large screen setup) is reserving much VRAM in the background? |
Actually I'm using a 2080 which only has 8gb and you mentioned the fox demo uses around 7.50 so potentially could be causing my issue. Is there another demo that works using less memory? |
Nerf Lego uses ~6.8GB according to
nerf_synthetic from the official source linked in the readme: https://drive.google.com/drive/folders/1JDdLGDruGNXWnM1eqY1FNL9PlStjaKWi |
hello! @atx-barnes we trimmed down the fox dataset simply by deleting a few of the frames that I randomly deemed were blurriest / most covered by other frames. The dataset still trains fine, and the memory reported is 7.3Gb however this does not include OS overhead and framebuffer. I am not sure if this is enough to bring the dataset under the 8Gb limit of your card, but it's worth trying again. Unfortunately I dont have an 8gb card to hand, to test. If it does nt work, and you have time, feel free to locally delete a few image files from the data/nerf/fox/images folder, until it runs. It doesn't matter particularly which ones - if you can report the number of image files below which it runs, I can try to prune away the dataset to that number to help others. Many thanks |
It seems all the rays are always loaded into GPU memory, no? Instead of deleting images, could the optimizer instead have an option to use CPU memory for the rays and only batch them to GPU if necessary? that would also buy scalability to much bigger scenes; e.g. you'd probably need this to do Tanks and Temples on a 11GB card |
@Tom94 @mmalex This is probably a bug because I'm having Details response:
The only working data is models in |
@mmalex @Tom94
And throws the error:
What shall we do to solve this? |
Changing the aabb_scale in the JSON file to 2 with an RTX 3070 mobile 8GB VRAM worked for me. |
Tried testing the fox scene but as soon as the window would open it would close with a resulting error shown below:
The documentation doesn't specify the minimum amount so I assume the
Could not allocate memory
error would be because of that? If not, what else could it be?The text was updated successfully, but these errors were encountered: