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