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

multi gpu support or gpu selection / increase maximum image generation number #191

Closed
sfingali opened this issue Aug 18, 2023 · 3 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@sfingali
Copy link

I have 2 x 3090s - what would be great is to be able to use both the gpus in image generation at the same time. I can do this manually if you could select the GPU and launch two sessions, one on each GPU. By internally would be great as well.

Additionally, the maximum image generation is 32. For running multiple images overnight, much higher numbers would be useful.

Fantastic program.

@barepixels
Copy link

barepixels commented Aug 18, 2023

If you want a quick hack, you can edit line 61 of webui.py

image_number = gr.Slider(label='Image Number', minimum=1, maximum=32, step=1, value=2)

Keep in mind you have to make the change every time there is an update to webui.py

@mzawdx2022
Copy link

hack it easy

@mashb1t
Copy link
Collaborator

mashb1t commented Jan 1, 2024

Duplicate of #292, parallel support has not yet been implemented.
The maximum image amount can now be set using the config.txt.

@mashb1t mashb1t closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2024
@mashb1t mashb1t added the duplicate This issue or pull request already exists label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants