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

[Feature]: Can I add auto-cleanup of video memory when using API requests? #208

Open
zdoek001 opened this issue May 13, 2024 · 1 comment

Comments

@zdoek001
Copy link

Expected behavior

Because it always takes up 3GB of video memory after calling the api, now I will add auto.py ,204 line

async def api_category_mask(payload: CategoryMaskRequest = Body(...),
....
clear_sem_sam_cache()
return result

@darwindu
Copy link

+1

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