Instructions to use fusing/unet-ldm-dummy-update with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fusing/unet-ldm-dummy-update with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fusing/unet-ldm-dummy-update", 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
Commit ·
9e8ba21
1
Parent(s): f446320
finish config
Browse files- config.json +0 -13
config.json
CHANGED
|
@@ -3,12 +3,6 @@
|
|
| 3 |
"_diffusers_version": "0.0.4",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"attention_head_dim": 32,
|
| 6 |
-
"block_channels": [
|
| 7 |
-
224,
|
| 8 |
-
448,
|
| 9 |
-
672,
|
| 10 |
-
896
|
| 11 |
-
],
|
| 12 |
"block_out_channels": [
|
| 13 |
32,
|
| 14 |
64
|
|
@@ -19,21 +13,14 @@
|
|
| 19 |
"DownBlock2D"
|
| 20 |
],
|
| 21 |
"downsample_padding": 1,
|
| 22 |
-
"downscale_freq_shift": 0,
|
| 23 |
"flip_sin_to_cos": true,
|
| 24 |
"freq_shift": 0,
|
| 25 |
-
"image_size": null,
|
| 26 |
"in_channels": 4,
|
| 27 |
"layers_per_block": 2,
|
| 28 |
"mid_block_scale_factor": 1,
|
| 29 |
"norm_eps": 1e-05,
|
| 30 |
"norm_num_groups": 32,
|
| 31 |
-
"num_head_channels": 32,
|
| 32 |
-
"num_res_blocks": null,
|
| 33 |
"out_channels": 4,
|
| 34 |
-
"resnet_act_fn": "silu",
|
| 35 |
-
"resnet_eps": 1e-05,
|
| 36 |
-
"resnet_num_groups": 32,
|
| 37 |
"sample_size": 32,
|
| 38 |
"time_embedding_type": "positional",
|
| 39 |
"up_blocks": [
|
|
|
|
| 3 |
"_diffusers_version": "0.0.4",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"attention_head_dim": 32,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"block_out_channels": [
|
| 7 |
32,
|
| 8 |
64
|
|
|
|
| 13 |
"DownBlock2D"
|
| 14 |
],
|
| 15 |
"downsample_padding": 1,
|
|
|
|
| 16 |
"flip_sin_to_cos": true,
|
| 17 |
"freq_shift": 0,
|
|
|
|
| 18 |
"in_channels": 4,
|
| 19 |
"layers_per_block": 2,
|
| 20 |
"mid_block_scale_factor": 1,
|
| 21 |
"norm_eps": 1e-05,
|
| 22 |
"norm_num_groups": 32,
|
|
|
|
|
|
|
| 23 |
"out_channels": 4,
|
|
|
|
|
|
|
|
|
|
| 24 |
"sample_size": 32,
|
| 25 |
"time_embedding_type": "positional",
|
| 26 |
"up_blocks": [
|