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

Reduce more memories on free_gpu_mem option #1915

Merged
merged 2 commits into from
Dec 11, 2022
Merged

Reduce more memories on free_gpu_mem option #1915

merged 2 commits into from
Dec 11, 2022

Conversation

rmagur1203
Copy link
Contributor

Changes

Unload cond_stage_model on free_gpu_mem option is setted

References

#1897

Unload cond_stage_model on free_gpu_mem option is setted
Unload cond_stage_model on free_gpu_mem option is setted
Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you.

@lstein lstein merged commit bd0c0d7 into invoke-ai:main Dec 11, 2022
@rmagur1203
Copy link
Contributor Author

@lstein
It seems to me that the "import gc" code at the top of the "ldm/invoke/generator/txt2img2img.py" file is missing. can you add it?
Sorry. I think I missed it by mistake.

@rmagur1203
Copy link
Contributor Author

I created a pull request that fixed this mistake above. Thank you for checking.

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

Successfully merging this pull request may close these issues.

2 participants