Skip to content

Failed with error out of memory #189

Answered by Tom94
oramla asked this question in Q&A
Feb 19, 2022 · 5 comments · 10 replies
Discussion options

You must be logged in to vote

Hi there, instant-ngp stores training images internally using fp16 values per channel, even if they come from .jpg/.png, which means your 86 images occupy 86 * 4000 * 3000 * 4 * 2 = 8.2 GB, which is more RAM than your GPU has (8 GB).

You could try loading only half of those images and I suspect the rest of the algorithm will fit in the remaining space.

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@Tom94
Comment options

@felixgeen
Comment options

@Tom94
Comment options

@felixgeen
Comment options

@doctorjana
Comment options

Answer selected by Tom94
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@felixgeen
Comment options

Comment options

You must be logged in to vote
3 replies
@JiayingGaoo
Comment options

@doctorjana
Comment options

@doctorjana
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants
Converted from issue

This discussion was converted from issue #182 on February 20, 2022 07:21.