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

Regions get mixed up if token switching makes a regions prompt length cross the 75 token interval #339

Open
methfairy opened this issue Aug 10, 2024 · 0 comments

Comments

@methfairy
Copy link

Describe the bug

Here is a sample prompt that will trigger this bug:

street [:(nuclear explosion:3.0):0.5]
ADDCOMM
pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land, pink barbie land[:, pink barbie land:0.5]
ADDCOL
green scifi steampunk

Expected behaviour:

The whole image should get screwed up due to the high weight of the "nuclear explosion" tokens. The correct behavior can be observed by removing one count of "pink barbie land, " from the prompt.

What actually happens:

Only the first column will get screwed up, even though "nuclear explosion" is in the common prompt.

Basically what happens is that the first column starts out with less than 75 tokens but then, due to token switching ends up with more than 75 tokens. This causes the tokens in the common prompt to be assigned to the first column and the tokens in the second column to be assigned to the first column.

Environment
Web-UI version: v1.9.4
SD Version: 1.5

Other Enabled Extensions

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

1 participant