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

Can't use combinations or Prompt Magic #825

Open
xqqe opened this issue Oct 4, 2024 · 1 comment
Open

Can't use combinations or Prompt Magic #825

xqqe opened this issue Oct 4, 2024 · 1 comment

Comments

@xqqe
Copy link

xqqe commented Oct 4, 2024

basic dynamic prompts and Combinatorial generation works with lists and wildcards, but I can't get most of the other features to work. I hope it's just some small error on my part that I'm overlooking, but I'm out of ideas.

I'm most bothered by not being able to select more than one item from a list, but fixing magic prompt would be a bonus.

increased combination does not work

"beautiful woman wearing {2$$red|white|black} dress" --> "beautiful woman wearing 2red dress" or "beautiful woman wearing black dress"
"beautiful woman wearing {2$red|white|black} dress" --> "beautiful woman wearing 2red dress" or "beautiful woman wearing black dress"
"beautiful woman wearing {1-2$$red|white|black} dress" --> "beautiful woman wearing 1-2red dress" or "beautiful woman wearing black dress"

weighting system does work

"beautiful woman wearing {2::red|white|black} dress" --> "beautiful woman wearing red dress"

Magic Prompt does not work

  • checking the box for magicprompt (with or without dynamic prompt box checked) makes no change to the prompt, but it does stop Dynamic Prompt from working:

"beautiful woman wearing {2$$red|white|black} dress" --> "beautiful woman wearing {2$$red|white|black} dress"

  • wildcards also stop working

"beautiful woman wearing __color__ dress, black shoes" --> "beautiful woman wearing __color__ dress, black shoes"

  • I tried this, from the troubleshooting section: python -m pip install -U dynamicprompts[attentiongrabber,magicprompt]
  • I've tried different values for the length, creativity, and model
  • this error happens when I first generate an image after checking the magic prompt box:
    RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)

I'm feeling lucky does (kinda) work

    • it doesn't work with dynamic prompt choices, but it does replace the prompt

"beautiful woman wearing {2$$red|white|black} dress" --> "a beautiful white pale skin girl, black and white, vibrent red lipstick, umbrella, hat"

Attention grabber does work

"beautiful woman wearing {2$$red|white|black} dress, black shoes" --> "(beautiful woman wearing 2red dress:1.2), black shoes"
"beautiful woman wearing __color__ dress, black shoes" --> "(beautiful woman wearing red dress:1.23), black shoes"


details

dynamic prompt version: de056ff8

forge version: version: f2.0.1v1.10.1-previous-548-gdc4f5e41

@SSinischo
Copy link

Same for me.

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

2 participants