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

GPU memory grows larger #69

Closed
msra-jqxu opened this issue Nov 12, 2024 · 0 comments
Closed

GPU memory grows larger #69

msra-jqxu opened this issue Nov 12, 2024 · 0 comments

Comments

@msra-jqxu
Copy link

msra-jqxu commented Nov 12, 2024

Hi @rentainhe , when I run grounded_sam2_hf_model_demo.py in a single gpu to inference test images(batch size=1), I found GPU memory grew larger and larger until out of memory. I found that no matter which of these two commands is added, the memory will gradually increase:
(1)sam2_predictor.set_image(np.array(image.convert("RGB")))
(2)outputs = grounding_model(**inputs)
Could you help me? Thanks!

rentainhe pushed a commit that referenced this issue Dec 21, 2024
…rious typos (#218)

(close #217, #66, #67, #69, #91, #126, #127, #145)
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