-
Notifications
You must be signed in to change notification settings - Fork 184
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
Add comments to SDXL Turbo example #512
Conversation
RohanArepally
commented
Dec 4, 2023
•
edited
Loading
edited
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great besides minor comments!
# # Stable Diffusion XL Turbo | ||
# | ||
# This example is similar to the [Stable Diffusion XL](/docs/examples/stable_diffusion_xl) | ||
# example, but it's a distilled model trained for real-time synthesis. Learn more about it [here](https://stability.ai/news/stability-ai-sdxl-turbo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can also mention that this one is image-to-image, both here and in the title
"transformers~=4.35", | ||
"accelerate~=0.25", | ||
"safetensors~=0.4", | ||
"transformers~=4.35", # This is needed for `import torch` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for annotating these!
num_inference_steps=4, | ||
strength=0.9, | ||
num_inference_steps=num_inference_steps, | ||
strength=strength, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be useful to add something at the bottom for how to run this. I.e. what command to type
* Add comments to SDXL Turbo example * Address PR comments --------- Co-authored-by: Ubuntu <[email protected]>