Instructions to use AstraliteHeart/pony-diffusion-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AstraliteHeart/pony-diffusion-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AstraliteHeart/pony-diffusion-v2", torch_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 Settings
- Draw Things
- DiffusionBee
Commit ·
55663e8
1
Parent(s): 7f17664
Add `scale_factor` to vae config. (#5)
Browse files- Add `scale_factor` to vae config. (2f91b1d11a7d75fb62e51334b404209afa2712ed)
Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>
- vae/config.json +1 -0
vae/config.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
| 19 |
"layers_per_block": 2,
|
| 20 |
"out_channels": 3,
|
| 21 |
"sample_size": 256,
|
|
|
|
| 22 |
"up_block_types": [
|
| 23 |
"UpDecoderBlock2D",
|
| 24 |
"UpDecoderBlock2D",
|
|
|
|
| 19 |
"layers_per_block": 2,
|
| 20 |
"out_channels": 3,
|
| 21 |
"sample_size": 256,
|
| 22 |
+
"scaling_factor": 0.18215,
|
| 23 |
"up_block_types": [
|
| 24 |
"UpDecoderBlock2D",
|
| 25 |
"UpDecoderBlock2D",
|