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

Setting num_images to less than the number of GPUs on the server returns more than num_images images (same number of images as the number of GPUs on the server) #59

Open
omduggineni opened this issue Jun 30, 2022 · 0 comments · May be fixed by #60

Comments

@omduggineni
Copy link

This appears to be an issue in https://github.com/jina-ai/dalle-flow/blob/main/executors/dalle/dm_helper.py - images are always generated in batches equal to the number of GPUs on the server. Perhaps try utilizing multiple GPUs across multiple requests rather than across individual images in the same request?

@omduggineni omduggineni changed the title Setting num_images to less than the number of GPUs on the server returns more than num_images images Setting num_images to less than the number of GPUs on the server returns more than num_images images (same number of images as the number of GPUs on the server) Jun 30, 2022
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 a pull request may close this issue.

1 participant