Matthew Trentacoste commited on
Commit
0731639
1 Parent(s): 2337f0b

Updating to LambdaLabs variations model v2

Browse files
image_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "./lambdalabs/sd-image-variations-diffusers/image_encoder",
3
  "architectures": [
4
  "CLIPVisionModelWithProjection"
5
  ],
@@ -19,5 +19,5 @@
19
  "patch_size": 14,
20
  "projection_dim": 768,
21
  "torch_dtype": "float32",
22
- "transformers_version": "4.25.0.dev0"
23
  }
 
1
  {
2
+ "_name_or_path": "/home/jpinkney/.cache/huggingface/diffusers/models--lambdalabs--sd-image-variations-diffusers/snapshots/ca6f97f838ae1b5bf764f31363a21f388f4d8f3e/image_encoder",
3
  "architectures": [
4
  "CLIPVisionModelWithProjection"
5
  ],
 
19
  "patch_size": 14,
20
  "projection_dim": 768,
21
  "torch_dtype": "float32",
22
+ "transformers_version": "4.25.1"
23
  }
model_index.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "StableDiffusionImageVariationEmbedsPipeline",
3
- "_diffusers_version": "0.8.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPImageProcessor"
@@ -9,6 +9,7 @@
9
  "transformers",
10
  "CLIPVisionModelWithProjection"
11
  ],
 
12
  "safety_checker": [
13
  "stable_diffusion",
14
  "StableDiffusionSafetyChecker"
 
1
  {
2
  "_class_name": "StableDiffusionImageVariationEmbedsPipeline",
3
+ "_diffusers_version": "0.9.0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPImageProcessor"
 
9
  "transformers",
10
  "CLIPVisionModelWithProjection"
11
  ],
12
+ "requires_safety_checker": false,
13
  "safety_checker": [
14
  "stable_diffusion",
15
  "StableDiffusionSafetyChecker"
safety_checker/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "_commit_hash": null,
3
- "_name_or_path": "./lambdalabs/sd-image-variations-diffusers/safety_checker",
4
  "architectures": [
5
  "StableDiffusionSafetyChecker"
6
  ],
@@ -80,7 +80,7 @@
80
  "top_p": 1.0,
81
  "torch_dtype": null,
82
  "torchscript": false,
83
- "transformers_version": "4.25.0.dev0",
84
  "typical_p": 1.0,
85
  "use_bfloat16": false,
86
  "vocab_size": 49408
@@ -167,7 +167,7 @@
167
  "top_p": 1.0,
168
  "torch_dtype": null,
169
  "torchscript": false,
170
- "transformers_version": "4.25.0.dev0",
171
  "typical_p": 1.0,
172
  "use_bfloat16": false
173
  },
 
1
  {
2
+ "_commit_hash": "ca6f97f838ae1b5bf764f31363a21f388f4d8f3e",
3
+ "_name_or_path": "/home/jpinkney/.cache/huggingface/diffusers/models--lambdalabs--sd-image-variations-diffusers/snapshots/ca6f97f838ae1b5bf764f31363a21f388f4d8f3e/safety_checker",
4
  "architectures": [
5
  "StableDiffusionSafetyChecker"
6
  ],
 
80
  "top_p": 1.0,
81
  "torch_dtype": null,
82
  "torchscript": false,
83
+ "transformers_version": "4.25.1",
84
  "typical_p": 1.0,
85
  "use_bfloat16": false,
86
  "vocab_size": 49408
 
167
  "top_p": 1.0,
168
  "torch_dtype": null,
169
  "torchscript": false,
170
+ "transformers_version": "4.25.1",
171
  "typical_p": 1.0,
172
  "use_bfloat16": false
173
  },
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "PNDMScheduler",
3
- "_diffusers_version": "0.8.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
 
1
  {
2
  "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.9.0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
unet/config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.8.0.dev0",
4
- "_name_or_path": "./lambdalabs/sd-image-variations-diffusers/unet",
5
  "act_fn": "silu",
6
  "attention_head_dim": 8,
7
  "block_out_channels": [
@@ -19,6 +18,7 @@
19
  "DownBlock2D"
20
  ],
21
  "downsample_padding": 1,
 
22
  "flip_sin_to_cos": true,
23
  "freq_shift": 0,
24
  "in_channels": 4,
@@ -26,6 +26,8 @@
26
  "mid_block_scale_factor": 1,
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
 
 
29
  "out_channels": 4,
30
  "sample_size": 64,
31
  "up_block_types": [
@@ -33,5 +35,6 @@
33
  "CrossAttnUpBlock2D",
34
  "CrossAttnUpBlock2D",
35
  "CrossAttnUpBlock2D"
36
- ]
 
37
  }
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.9.0",
 
4
  "act_fn": "silu",
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
 
18
  "DownBlock2D"
19
  ],
20
  "downsample_padding": 1,
21
+ "dual_cross_attention": false,
22
  "flip_sin_to_cos": true,
23
  "freq_shift": 0,
24
  "in_channels": 4,
 
26
  "mid_block_scale_factor": 1,
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
29
+ "num_class_embeds": null,
30
+ "only_cross_attention": false,
31
  "out_channels": 4,
32
  "sample_size": 64,
33
  "up_block_types": [
 
35
  "CrossAttnUpBlock2D",
36
  "CrossAttnUpBlock2D",
37
  "CrossAttnUpBlock2D"
38
+ ],
39
+ "use_linear_projection": false
40
  }
unet/diffusion_pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e281b502e677c99977043e8cf576f88a86534eeefbc39bf1049bb6984d524ab2
3
  size 3438354725
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee23e3368e4e7c0e4ef636ed61923609c97fcaa583f8bb416e3e0986d4a0cfc6
3
  size 3438354725
vae/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
- "_diffusers_version": "0.8.0.dev0",
4
- "_name_or_path": "./lambdalabs/sd-image-variations-diffusers/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
@@ -20,7 +20,7 @@
20
  "layers_per_block": 2,
21
  "norm_num_groups": 32,
22
  "out_channels": 3,
23
- "sample_size": 512,
24
  "up_block_types": [
25
  "UpDecoderBlock2D",
26
  "UpDecoderBlock2D",
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.9.0",
4
+ "_name_or_path": "stabilityai/sd-vae-ft-mse",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
 
20
  "layers_per_block": 2,
21
  "norm_num_groups": 32,
22
  "out_channels": 3,
23
+ "sample_size": 256,
24
  "up_block_types": [
25
  "UpDecoderBlock2D",
26
  "UpDecoderBlock2D",
vae/diffusion_pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1b134cded8eb78b184aefb8805b6b572f36fa77b255c483665dda931fa0130c5
3
  size 334707217
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b4889b6b1d4ce7ae320a02dedaeff1780ad77d415ea0d744b476155c6377ddc
3
  size 334707217