Instructions to use diffusers/t2iadapter_sketch_sd14v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/t2iadapter_sketch_sd14v1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/t2iadapter_sketch_sd14v1", 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
- Xet hash:
- c7816974e616a8b89379e2119c6a3e5ec18075cf7c53cfce95a57bca03c1d869
- Size of remote file:
- 308 MB
- SHA256:
- bb1b7fe7e5b3af6a628cfe6e3f578f7ef5919525066a2f1216b6c556a8c24a06
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.