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

Maybe not issue: How to free GPU memory, for 'low-vram-mode' #17

Open
yuedajiong opened this issue Jan 11, 2025 · 2 comments
Open

Maybe not issue: How to free GPU memory, for 'low-vram-mode' #17

yuedajiong opened this issue Jan 11, 2025 · 2 comments

Comments

@yuedajiong
Copy link

yuedajiong commented Jan 11, 2025

  1. same network architectures (DINOV2SingleImageTokenizer & LinearCameraEmbedder), reload is NOT necessary.
  2. how to free GPU memory (thorough, reliable), code:
    gpu.py.txt
@yuedajiong
Copy link
Author

gpu mem less than 2g while infer
gpu mem less 2g while infer.py.txt

@yuedajiong
Copy link
Author

One window for running spar3d infer, another window for running 'nvidia-smi -l', and we can see that the GPU memory cleaning is not very effitive.

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

1 participant