3v324v23 commited on
Commit
371334b
·
1 Parent(s): 4174752
feature_extractor/preprocessor_config.json CHANGED
@@ -14,7 +14,7 @@
14
  0.4578275,
15
  0.40821073
16
  ],
17
- "image_processor_type": "CLIPImageProcessor",
18
  "image_std": [
19
  0.26862954,
20
  0.26130258,
 
14
  0.4578275,
15
  0.40821073
16
  ],
17
+ "image_processor_type": "CLIPFeatureExtractor",
18
  "image_std": [
19
  0.26862954,
20
  0.26130258,
model_index.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "_class_name": "FlaxStableDiffusionPipeline",
3
- "_diffusers_version": "0.12.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
- "CLIPImageProcessor"
7
  ],
8
  "safety_checker": [
9
  null,
 
1
  {
2
  "_class_name": "FlaxStableDiffusionPipeline",
3
+ "_diffusers_version": "0.15.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
+ "CLIPFeatureExtractor"
7
  ],
8
  "safety_checker": [
9
  null,
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "FlaxPNDMScheduler",
3
- "_diffusers_version": "0.12.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
 
1
  {
2
  "_class_name": "FlaxPNDMScheduler",
3
+ "_diffusers_version": "0.15.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
text_encoder/config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/root/sd15",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
@@ -13,13 +13,13 @@
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
15
  "layer_norm_eps": 1e-05,
16
- "max_position_embeddings": 200,
17
  "model_type": "clip_text_model",
18
  "num_attention_heads": 12,
19
  "num_hidden_layers": 12,
20
  "pad_token_id": 1,
21
  "projection_dim": 768,
22
  "torch_dtype": "float32",
23
- "transformers_version": "4.25.1",
24
  "vocab_size": 49408
25
  }
 
1
  {
2
+ "_name_or_path": "openai/clip-vit-large-patch14",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
15
  "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
  "model_type": "clip_text_model",
18
  "num_attention_heads": 12,
19
  "num_hidden_layers": 12,
20
  "pad_token_id": 1,
21
  "projection_dim": 768,
22
  "torch_dtype": "float32",
23
+ "transformers_version": "4.26.1",
24
  "vocab_size": 49408
25
  }
text_encoder/flax_model.msgpack CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:91f67bccdc24594ce7f212e3ba7cbc2707cec54b44f399e4bb0e4e6d167ee2fe
3
- size 492626539
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29a525735ff64ea971fdd682fd91fa4ea3496783cf72c9c20ae4df25c788388d
3
+ size 492248682
tokenizer/tokenizer_config.json CHANGED
@@ -18,8 +18,8 @@
18
  "single_word": false
19
  },
20
  "errors": "replace",
21
- "model_max_length": 200,
22
- "name_or_path": "/root/sd15-flax/",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
 
18
  "single_word": false
19
  },
20
  "errors": "replace",
21
+ "model_max_length": 77,
22
+ "name_or_path": "/home/user/project-fur/e6_dump/stable-diffusion-v1-5-flax/",
23
  "pad_token": "<|endoftext|>",
24
  "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
unet/config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_class_name": "FlaxUNet2DConditionModel",
3
- "_diffusers_version": "0.12.0.dev0",
4
- "_name_or_path": "/root/.cache/huggingface/diffusers/models--runwayml--stable-diffusion-v1-5/snapshots/39593d5650112b4cc580433f6b0435385882d819/unet",
5
  "act_fn": "silu",
6
  "attention_head_dim": 8,
7
  "block_out_channels": [
@@ -11,7 +10,6 @@
11
  1280
12
  ],
13
  "center_input_sample": false,
14
- "class_embed_type": null,
15
  "cross_attention_dim": 768,
16
  "down_block_types": [
17
  "CrossAttnDownBlock2D",
@@ -21,19 +19,15 @@
21
  ],
22
  "downsample_padding": 1,
23
  "dropout": 0.0,
24
- "dual_cross_attention": false,
25
  "flip_sin_to_cos": true,
26
  "freq_shift": 0,
27
  "in_channels": 4,
28
  "layers_per_block": 2,
29
  "mid_block_scale_factor": 1,
30
- "mid_block_type": "UNetMidBlock2DCrossAttn",
31
  "norm_eps": 1e-05,
32
  "norm_num_groups": 32,
33
- "num_class_embeds": null,
34
  "only_cross_attention": false,
35
  "out_channels": 4,
36
- "resnet_time_scale_shift": "default",
37
  "sample_size": 64,
38
  "up_block_types": [
39
  "UpBlock2D",
@@ -41,6 +35,6 @@
41
  "CrossAttnUpBlock2D",
42
  "CrossAttnUpBlock2D"
43
  ],
44
- "upcast_attention": false,
45
- "use_linear_projection": false
46
  }
 
1
  {
2
  "_class_name": "FlaxUNet2DConditionModel",
3
+ "_diffusers_version": "0.15.0.dev0",
 
4
  "act_fn": "silu",
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
 
10
  1280
11
  ],
12
  "center_input_sample": false,
 
13
  "cross_attention_dim": 768,
14
  "down_block_types": [
15
  "CrossAttnDownBlock2D",
 
19
  ],
20
  "downsample_padding": 1,
21
  "dropout": 0.0,
 
22
  "flip_sin_to_cos": true,
23
  "freq_shift": 0,
24
  "in_channels": 4,
25
  "layers_per_block": 2,
26
  "mid_block_scale_factor": 1,
 
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
 
29
  "only_cross_attention": false,
30
  "out_channels": 4,
 
31
  "sample_size": 64,
32
  "up_block_types": [
33
  "UpBlock2D",
 
35
  "CrossAttnUpBlock2D",
36
  "CrossAttnUpBlock2D"
37
  ],
38
+ "use_linear_projection": false,
39
+ "use_memory_efficient": false
40
  }
unet/diffusion_flax_model.msgpack CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:89c29cbdf7f1f7c805067b8de6aad7877ab7dcef36d7b453013dd89005060aa3
3
  size 3438108367
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17dbabeb41ea6668b53fdb48eec83728749cfc747ba7bec0b4b19fd0bedf5abc
3
  size 3438108367
vae/config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_class_name": "FlaxAutoencoderKL",
3
- "_diffusers_version": "0.12.0.dev0",
4
- "_name_or_path": "/root/.cache/huggingface/diffusers/models--runwayml--stable-diffusion-v1-5/snapshots/39593d5650112b4cc580433f6b0435385882d819/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
@@ -21,6 +20,7 @@
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": "FlaxAutoencoderKL",
3
+ "_diffusers_version": "0.15.0.dev0",
 
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
 
20
  "norm_num_groups": 32,
21
  "out_channels": 3,
22
  "sample_size": 512,
23
+ "scaling_factor": 0.18215,
24
  "up_block_types": [
25
  "UpDecoderBlock2D",
26
  "UpDecoderBlock2D",