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

OutOfMemoryError #11

Open
lyxxxyl opened this issue Jun 4, 2024 · 2 comments
Open

OutOfMemoryError #11

lyxxxyl opened this issue Jun 4, 2024 · 2 comments

Comments

@lyxxxyl
Copy link

lyxxxyl commented Jun 4, 2024

Why does the model consume so much memory? I followed your suggestions to use CUDA acceleration, but during the demo run, my 6GB VRAM was insufficient, resulting in a torch.cuda.OutOfMemoryError. If I want to match two 700KB images, how much GPU memory would be required?

@wujiazong
Copy link

about 20GB
image

@lyxxxyl
Copy link
Author

lyxxxyl commented Jul 1, 2024

about 20GB image

Thank you for your answer

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

2 participants