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

How can I keep the model in memory? #92

Open
xiaoyuer2019 opened this issue Oct 25, 2024 · 1 comment
Open

How can I keep the model in memory? #92

xiaoyuer2019 opened this issue Oct 25, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@xiaoyuer2019
Copy link

How can I keep the model in memory? Now I have to load the model for each comparison, which is very time-consuming. How can I configure the model to stay in the video memory?

@xiaoyuer2019 xiaoyuer2019 added the question Further information is requested label Oct 25, 2024
@Vincentqyw
Copy link
Owner

Great question! I've got an experimental version of the model caching module. Just turn on use_cached_model and see how it works.

use_cached_model: bool = False,

@Vincentqyw Vincentqyw self-assigned this Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants