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

Keep the loaded model in memory #538

Open
wojciechkrol opened this issue Aug 26, 2024 · 0 comments
Open

Keep the loaded model in memory #538

wojciechkrol opened this issue Aug 26, 2024 · 0 comments

Comments

@wojciechkrol
Copy link

wojciechkrol commented Aug 26, 2024

It seems that each image generation process involves loading the model into memory (flux model), generating the image, and then releasing the model from memory. Loading takes some time, and when you want to generate many images, a lot of time is wasted on just loading.

Is it possible to load the model into memory right after selecting it and keep it there until the program is closed?

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