Instructions to use SimianLuo/LCM_Dreamshaper_v7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SimianLuo/LCM_Dreamshaper_v7 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SimianLuo/LCM_Dreamshaper_v7", 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
Deprecate old usage
#10
by patrickvonplaten - opened
Once https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7/discussions/7 is merged, one has to use a revision hash to download via the old, community pipeline loading mechanism as shown in this PR.
This PR should be merged right after: https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7/discussions/7 to make sure the community can still use the old / community-pipeline way.
Thanks Patrick!
SimianLuo changed pull request status to merged