Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Conversation

@saddam213
Copy link
Member

@saddam213 saddam213 commented Mar 30, 2024

Pipeline for StableCascade diffusion process

Tasks

  • Pipeline Scaffold
  • Model Conversion
  • DDPMWuerstchenScheduler
  • Text To Image
  • Image To Image

@AshD
Copy link

AshD commented Apr 5, 2024

I added a request on Feb 16 to convert this model in onnx format.
https://huggingface.co/stabilityai/stable-cascade/discussions/16

Will try to see if I can do it next week.

@saddam213
Copy link
Member Author

Success!!!!

Well sort of, Pipeline now runs end to end without errors, all models seem to be accepting the inputs and outputting data

Flow: Tokenizer -> TextEncoder -> PriorUnet -> DecoderUnet -> VQGAN

Output is garbage but that was expected as we need a new Scheduler DDPMWuerstchenScheduler
https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_ddpm_wuerstchen.py

Its possible my model conversion is not correct, but we will see once I have the new scheduler implemented

@saddam213
Copy link
Member Author

output3

Its working, woot!!

@saddam213
Copy link
Member Author

Image quality from the new DDPMWuerstchen Scheduler is much better"

an image of a shiba inu, donning a spacesuit and helmet
output1

photo of a cat
output2

@saddam213 saddam213 merged commit c8a58fe into master Apr 30, 2024
@saddam213 saddam213 deleted the StableCascade branch April 30, 2024 03:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants