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