-
Notifications
You must be signed in to change notification settings - Fork 596
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 OOM #1
Comments
Oh... No easy fix that i can see, we usually perform our experiments on A100 with 80GB so we never particularly optimized the memory, sorry ^^' |
maybe @yocabon would have a better idea? |
One solution, kindly suggested by my colleague Romain Bregier, is to have the global alignment running on CPU. Will be slower but will not crash... |
Thank you, will try it. |
Hi, No we didn't implement multi gpu for the inference. |
Oh, that's super useful, thank you! |
How do we set the global alignment to run on CPU? |
I think maybe this |
That seems to work ^ |
@nickponline Just tried 36 images on CPU, now I have the OOM CPU error on a machine with 120 Gb.
|
@ducha-aiki do you have a scene covisibility graph? if so, this would greatly reduce the memory usage. On an A100 with 80GB, we are able to optimize scenes with 200+ images when we use 10NN per image. |
we had this implemented here Line 11 in b6eb957
but it didn't make it in the final version ... |
I don't have a co-visibility graph, but I can probably run DINOv2, or SALAD to get an estimation. Thank you for the suggestion |
Good, I replace 3090 laptop with H100 and it works! |
Hi,
The performance is really amazing on the few image pairs I have tried.
However, when I moved to a bigger scenes (29 images), it crashes with CUDA OOM on 16Gb V100.
Any recommendations how can I run it?
The text was updated successfully, but these errors were encountered: