Instructions to use jadechoghari/spad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jadechoghari/spad with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jadechoghari/spad", 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/config.json
Browse files- vae/config.json +2 -2
vae/config.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
| 3 |
"_diffusers_version": "0.18.2",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"block_out_channels": [
|
|
|
|
| 6 |
128,
|
| 7 |
256,
|
| 8 |
-
|
| 9 |
-
512
|
| 10 |
],
|
| 11 |
"down_block_types": [
|
| 12 |
"DownEncoderBlock2D",
|
|
|
|
| 3 |
"_diffusers_version": "0.18.2",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"block_out_channels": [
|
| 6 |
+
128,
|
| 7 |
128,
|
| 8 |
256,
|
| 9 |
+
256
|
|
|
|
| 10 |
],
|
| 11 |
"down_block_types": [
|
| 12 |
"DownEncoderBlock2D",
|