Instructions to use diffusers/t2iadapter_depth_sd14v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/t2iadapter_depth_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_depth_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:
- 4d948ffb9078384dda34deaab0666499754b17fca25ca93ceafcb7bafae17513
- Size of remote file:
- 309 MB
- SHA256:
- 42dc0a5c42eeb8ebbdd2d5c968487958983bbe7f458d8bf31508159b4f083696
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.