Instructions to use ikozlov/MobileDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ikozlov/MobileDiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ikozlov/MobileDiffusion", 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
Update model_index.json
Browse files- model_index.json +2 -2
model_index.json
CHANGED
|
@@ -27,8 +27,8 @@
|
|
| 27 |
"CLIPTokenizer"
|
| 28 |
],
|
| 29 |
"unet": [
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
],
|
| 33 |
"vae": [
|
| 34 |
"diffusers",
|
|
|
|
| 27 |
"CLIPTokenizer"
|
| 28 |
],
|
| 29 |
"unet": [
|
| 30 |
+
"diffusers",
|
| 31 |
+
"UNet2DConditionModel"
|
| 32 |
],
|
| 33 |
"vae": [
|
| 34 |
"diffusers",
|