I am experimenting with Stable Cascade weighted prompting.
I am not sure if you would like this as a pull request, though I figure you might be interested in this code, I have also determined how to make this work with the compel library.
Here is what I have so far, it is essentially the same as SDXL with a few tweaks.
There is an example usage and output image below the function implementation given here.
This follows the device argument and memory management convention I have in my fork.
This can drop in to embedding_funcs.py with the addition of from diffusers import StableCascadePriorPipeline, StableCascadeDecoderPipeline to imports.
I am experimenting with Stable Cascade weighted prompting.
I am not sure if you would like this as a pull request, though I figure you might be interested in this code, I have also determined how to make this work with the
compel
library.Here is what I have so far, it is essentially the same as SDXL with a few tweaks.
There is an example usage and output image below the function implementation given here.
This follows the device argument and memory management convention I have in my fork.
This can drop in to
embedding_funcs.py
with the addition offrom diffusers import StableCascadePriorPipeline, StableCascadeDecoderPipeline
to imports.Example usage:
Example output: