Instructions to use DeepFloyd/IF-I-M-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DeepFloyd/IF-I-M-v1.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DeepFloyd/IF-I-M-v1.0", 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
- Local Apps
- Draw Things
- DiffusionBee
Make sure text emb config is correctly set
#10 opened almost 3 years ago
by
patrickvonplaten
TypeError: __call__() got an unexpected keyword argument 'image' in Stage 2
1
#8 opened about 3 years ago
by
zia-hasan