Instructions to use OFA-Sys/small-stable-diffusion-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OFA-Sys/small-stable-diffusion-v0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OFA-Sys/small-stable-diffusion-v0", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Can this model be used with the source code of stable-diffusion?
#2
by jsttlgdkycy - opened
Hello, I'm very interesting with your small model. I'm curious that can it be used with the source code of stable-diffusion, instead of diffusers?
And I want to know can your model share the same VAE with stabl-diffusion official models?
Hi, thank you for your attention. Currently, small stable diffusion cannot be used with the source code of stable diffusion. And, Yes, we share the same VAE with the original stable diffusion.
Thank you for your answering! By the way, have you considered making it supported by the source code?
Now we don't have a plan to support it, sorry.
cq changed discussion status to closed