dg845 commited on
Commit
b787ae3
1 Parent(s): d4287fc

Upload 4 files

Browse files

Add diffusers version of the consistency models cd_bedroom256_l2.pt checkpoint.

model_index.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ConsistencyModelPipeline",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "CMStochasticIterativeScheduler"
7
+ ],
8
+ "unet": [
9
+ "diffusers",
10
+ "UNet2DModel"
11
+ ]
12
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "CMStochasticIterativeScheduler",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "clip_denoised": true,
5
+ "num_train_timesteps": 40,
6
+ "rho": 7.0,
7
+ "s_noise": 1.0,
8
+ "sigma_data": 0.5,
9
+ "sigma_max": 80.0,
10
+ "sigma_min": 0.002
11
+ }
unet/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "act_fn": "silu",
5
+ "add_attention": true,
6
+ "attention_head_dim": 64,
7
+ "block_out_channels": [
8
+ 256,
9
+ 256,
10
+ 512,
11
+ 512,
12
+ 1024,
13
+ 1024
14
+ ],
15
+ "center_input_sample": false,
16
+ "class_embed_type": null,
17
+ "down_block_types": [
18
+ "ResnetDownsampleBlock2D",
19
+ "ResnetDownsampleBlock2D",
20
+ "ResnetDownsampleBlock2D",
21
+ "AttnDownsampleBlock2D",
22
+ "AttnDownsampleBlock2D",
23
+ "AttnDownsampleBlock2D"
24
+ ],
25
+ "downsample_padding": 1,
26
+ "flip_sin_to_cos": true,
27
+ "freq_shift": 0,
28
+ "in_channels": 3,
29
+ "layers_per_block": 2,
30
+ "mid_block_scale_factor": 1,
31
+ "norm_eps": 1e-05,
32
+ "norm_num_groups": 32,
33
+ "num_class_embeds": null,
34
+ "out_channels": 3,
35
+ "resnet_time_scale_shift": "default",
36
+ "sample_size": 256,
37
+ "time_embedding_type": "positional",
38
+ "up_block_types": [
39
+ "AttnUpsampleBlock2D",
40
+ "AttnUpsampleBlock2D",
41
+ "AttnUpsampleBlock2D",
42
+ "ResnetUpsampleBlock2D",
43
+ "ResnetUpsampleBlock2D",
44
+ "ResnetUpsampleBlock2D"
45
+ ]
46
+ }
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:371676dd8e30d27b85bd2a630d4c2022fc13b50b77eb41a456ab645cbe61b413
3
+ size 2105456917