Instructions to use interactdiffusion/diffusers-v1-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use interactdiffusion/diffusers-v1-2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("interactdiffusion/diffusers-v1-2", 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
update vae for back-compability
Browse files- vae/config.json +0 -2
vae/config.json
CHANGED
|
@@ -17,8 +17,6 @@
|
|
| 17 |
"force_upcast": true,
|
| 18 |
"in_channels": 3,
|
| 19 |
"latent_channels": 4,
|
| 20 |
-
"latents_mean": null,
|
| 21 |
-
"latents_std": null,
|
| 22 |
"layers_per_block": 2,
|
| 23 |
"norm_num_groups": 32,
|
| 24 |
"out_channels": 3,
|
|
|
|
| 17 |
"force_upcast": true,
|
| 18 |
"in_channels": 3,
|
| 19 |
"latent_channels": 4,
|
|
|
|
|
|
|
| 20 |
"layers_per_block": 2,
|
| 21 |
"norm_num_groups": 32,
|
| 22 |
"out_channels": 3,
|