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

Batch size #21

Open
lzl2040 opened this issue Dec 1, 2024 · 2 comments
Open

Batch size #21

lzl2040 opened this issue Dec 1, 2024 · 2 comments

Comments

@lzl2040
Copy link

lzl2040 commented Dec 1, 2024

When I set batch size to 4, there is the errors:

textual_context = self.dynamic_prompts + static_prompts
RuntimeError: The size of tensor a (4) must match the size of tensor b (28) at non-singleton dimension 0

The batch size can be only set 1?

@caoyunkang
Copy link
Owner

yes... there are some unsolved bugs..

@liyibai0727
Copy link

yes... there are some unsolved bugs..

So now I have multiple GPU cards, and if batch_size is set to 1, I cannot call other GPUs, so currently I can only support single card operation, right?

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

No branches or pull requests

3 participants