Instructions to use YiYiXu/modular-diffdiff-0704 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YiYiXu/modular-diffdiff-0704 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YiYiXu/modular-diffdiff-0704", 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
Commit History
-
Update block.py
Verified signaturea2d37e0 -
Update block.py
Verified signaturefd7a911 -
Update block.py
Verified signature35f3309 -
Update block.py
Verified signatureb75b352 -
Update block.py
Verified signaturec61775d
-
Update block.py
Verified signature419ceb4 -
Update block.py
Verified signature64da6c1
-
Update block.py
Verified signature383252f
-
Update block.py
Verified signatured738856
-
Rename diffdiff.py to block.py
Verified signatureef1464d