dg845 commited on
Commit
e8fb2ac
1 Parent(s): 8ce6c13

Upload new cd_imagenet64_l2 unet checkpoint (fix mid block attention group norm bug)

Browse files
model_index.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ConsistencyModelPipeline",
3
+ "_diffusers_version": "0.21.0.dev0",
4
+ "_name_or_path": "cd_imagenet64_l2",
5
+ "scheduler": [
6
+ "diffusers",
7
+ "CMStochasticIterativeScheduler"
8
+ ],
9
+ "unet": [
10
+ "diffusers",
11
+ "UNet2DModel"
12
+ ]
13
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "CMStochasticIterativeScheduler",
3
+ "_diffusers_version": "0.21.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,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.21.0.dev0",
4
+ "_name_or_path": "cd_imagenet64_l2/unet",
5
+ "act_fn": "silu",
6
+ "add_attention": true,
7
+ "attention_head_dim": 64,
8
+ "attn_norm_num_groups": 32,
9
+ "block_out_channels": [
10
+ 192,
11
+ 384,
12
+ 576,
13
+ 768
14
+ ],
15
+ "center_input_sample": false,
16
+ "class_embed_type": null,
17
+ "down_block_types": [
18
+ "ResnetDownsampleBlock2D",
19
+ "AttnDownBlock2D",
20
+ "AttnDownBlock2D",
21
+ "AttnDownBlock2D"
22
+ ],
23
+ "downsample_padding": 1,
24
+ "downsample_type": "resnet",
25
+ "flip_sin_to_cos": true,
26
+ "freq_shift": 0,
27
+ "in_channels": 3,
28
+ "layers_per_block": 3,
29
+ "mid_block_scale_factor": 1,
30
+ "norm_eps": 1e-05,
31
+ "norm_num_groups": 32,
32
+ "num_class_embeds": 1000,
33
+ "out_channels": 3,
34
+ "resnet_time_scale_shift": "scale_shift",
35
+ "sample_size": 64,
36
+ "time_embedding_type": "positional",
37
+ "up_block_types": [
38
+ "AttnUpBlock2D",
39
+ "AttnUpBlock2D",
40
+ "AttnUpBlock2D",
41
+ "ResnetUpsampleBlock2D"
42
+ ],
43
+ "upsample_type": "resnet"
44
+ }
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9702bf70b1e7cbe67b1da6d829e90c469f78c0592b1760170dbfb9d370f5695c
3
+ size 1183665484