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 Model in VRAM #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0X-JonMichaelGalindo
Copy link

Attach the OmniGen pipeline to the node instance as an attribute to avoid unloading the model from VRAM after each generation completes.
Is this the right way to do this? It works in my local Comfy test, but I am not sure.

Attach the OmniGen pipeline to the node instance as an attribute to avoid unloading the model from VRAM after each generation completes.
@AIFSH
Copy link
Owner

AIFSH commented Nov 2, 2024

low Varm unfriendly

@saftle
Copy link
Contributor

saftle commented Nov 4, 2024

High vram friendly. I suggest maybe making it as an option perhaps?

@saftle
Copy link
Contributor

saftle commented Nov 4, 2024

I went ahead and added my changes to an existing PR I created, otherwise the PR would have probably failed #13. Thanks for the inspiration @0X-JonMichaelGalindo

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.

3 participants