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

Adds parameters for inference on two gpus #110

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

raulc0399
Copy link

added a new option 'two_gpus_pipeline' - which will load the bigger transformer model on the gpu specified by the 'device' parameter, while loading all the other (encoders, vae, controlnet) to the other device.

this is useful when running on a system with 2 gpus and putting the transformer model on the gpu that does not drive a monitor.

@raulc0399 raulc0399 changed the title Adds parameters for inference on two gpu Adds parameters for inference on two gpus Sep 14, 2024
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.

1 participant