Instructions to use ikozlov/MobileDiffusionStable with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ikozlov/MobileDiffusionStable 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/MobileDiffusionStable", 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
| { | |
| "_class_name": "AutoencoderTiny", | |
| "_diffusers_version": "0.27.2", | |
| "_name_or_path": "madebyollin/taesd", | |
| "act_fn": "relu", | |
| "block_out_channels": [ | |
| 64, | |
| 64, | |
| 64, | |
| 64 | |
| ], | |
| "decoder_block_out_channels": [ | |
| 64, | |
| 64, | |
| 64, | |
| 64 | |
| ], | |
| "encoder_block_out_channels": [ | |
| 64, | |
| 64, | |
| 64, | |
| 64 | |
| ], | |
| "force_upcast": false, | |
| "in_channels": 3, | |
| "latent_channels": 4, | |
| "latent_magnitude": 3, | |
| "latent_shift": 0.5, | |
| "num_decoder_blocks": [ | |
| 3, | |
| 3, | |
| 3, | |
| 1 | |
| ], | |
| "num_encoder_blocks": [ | |
| 1, | |
| 3, | |
| 3, | |
| 3 | |
| ], | |
| "out_channels": 3, | |
| "scaling_factor": 1.0, | |
| "upsampling_scaling_factor": 2 | |
| } | |