patrickvonplaten commited on
Commit
c1053fb
1 Parent(s): a22fd49

Upload folder using huggingface_hub

Browse files
model_index.json CHANGED
@@ -1,21 +1,22 @@
1
  {
2
- "_class_name": "FlaxStableDiffusionPipeline",
3
- "_diffusers_version": "0.16.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
7
  ],
 
8
  "safety_checker": [
9
  null,
10
  null
11
  ],
12
  "scheduler": [
13
  "diffusers",
14
- "FlaxPNDMScheduler"
15
  ],
16
  "text_encoder": [
17
  "transformers",
18
- "FlaxCLIPTextModel"
19
  ],
20
  "tokenizer": [
21
  "transformers",
@@ -23,10 +24,10 @@
23
  ],
24
  "unet": [
25
  "diffusers",
26
- "FlaxUNet2DConditionModel"
27
  ],
28
  "vae": [
29
  "diffusers",
30
- "FlaxAutoencoderKL"
31
  ]
32
  }
 
1
  {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.17.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
7
  ],
8
+ "requires_safety_checker": true,
9
  "safety_checker": [
10
  null,
11
  null
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
+ "PNDMScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
19
+ "CLIPTextModel"
20
  ],
21
  "tokenizer": [
22
  "transformers",
 
24
  ],
25
  "unet": [
26
  "diffusers",
27
+ "UNet2DConditionModel"
28
  ],
29
  "vae": [
30
  "diffusers",
31
+ "AutoencoderKL"
32
  ]
33
  }
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "_class_name": "FlaxPNDMScheduler",
3
- "_diffusers_version": "0.16.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.17.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": "openai/clip-vit-large-patch14",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
@@ -19,7 +19,7 @@
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
  }
 
1
  {
2
+ "_name_or_path": "/home/patrick/.cache/huggingface/hub/models--MuhammadHanif--stable-diffusion-v1-5-high-res/snapshots/a22fd4950d2da8a29ee82b7905d8c7cc22f118b1/text_encoder",
3
  "architectures": [
4
  "CLIPTextModel"
5
  ],
 
19
  "num_hidden_layers": 12,
20
  "pad_token_id": 1,
21
  "projection_dim": 768,
22
+ "torch_dtype": "float16",
23
+ "transformers_version": "4.30.0.dev0",
24
  "vocab_size": 49408
25
  }
text_encoder/model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0830a7b73ce6d1065a6c80c068ac7b105bbcb1af271d70fde6c87a7bdac1d54d
3
+ size 246144866
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bef9926aaff4788aa60dc982faead7babb6b673a451a59e2e553d28d87ececbe
3
+ size 492265874
text_encoder/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc66ed68a0ba92029b1a016982a90fb72c72038ad16908aee8393871153c9522
3
+ size 492307041
text_encoder/pytorch_model.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c19adfca1cf548660e7856bb3e61e52c40be70b087d683366ad61a39ced7a920
3
+ size 246187076
tokenizer/tokenizer_config.json CHANGED
@@ -8,6 +8,7 @@
8
  "rstrip": false,
9
  "single_word": false
10
  },
 
11
  "do_lower_case": true,
12
  "eos_token": {
13
  "__type": "AddedToken",
@@ -19,9 +20,7 @@
19
  },
20
  "errors": "replace",
21
  "model_max_length": 77,
22
- "name_or_path": "/root/project/dataset/stable-diffusion-v1-5-flax-e0",
23
  "pad_token": "<|endoftext|>",
24
- "special_tokens_map_file": "./special_tokens_map.json",
25
  "tokenizer_class": "CLIPTokenizer",
26
  "unk_token": {
27
  "__type": "AddedToken",
 
8
  "rstrip": false,
9
  "single_word": false
10
  },
11
+ "clean_up_tokenization_spaces": true,
12
  "do_lower_case": true,
13
  "eos_token": {
14
  "__type": "AddedToken",
 
20
  },
21
  "errors": "replace",
22
  "model_max_length": 77,
 
23
  "pad_token": "<|endoftext|>",
 
24
  "tokenizer_class": "CLIPTokenizer",
25
  "unk_token": {
26
  "__type": "AddedToken",
unet/config.json CHANGED
@@ -1,7 +1,10 @@
1
  {
2
- "_class_name": "FlaxUNet2DConditionModel",
3
- "_diffusers_version": "0.16.0.dev0",
 
4
  "act_fn": "silu",
 
 
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
7
  320,
@@ -10,7 +13,12 @@
10
  1280
11
  ],
12
  "center_input_sample": false,
 
 
 
 
13
  "cross_attention_dim": 768,
 
14
  "down_block_types": [
15
  "CrossAttnDownBlock2D",
16
  "CrossAttnDownBlock2D",
@@ -19,22 +27,37 @@
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",
34
  "CrossAttnUpBlock2D",
35
  "CrossAttnUpBlock2D",
36
  "CrossAttnUpBlock2D"
37
  ],
 
38
  "use_linear_projection": false,
39
  "use_memory_efficient": false,
40
  "use_memory_efficient_attention": false
 
1
  {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "_name_or_path": "/home/patrick/.cache/huggingface/hub/models--MuhammadHanif--stable-diffusion-v1-5-high-res/snapshots/a22fd4950d2da8a29ee82b7905d8c7cc22f118b1/unet",
5
  "act_fn": "silu",
6
+ "addition_embed_type": null,
7
+ "addition_embed_type_num_heads": 64,
8
  "attention_head_dim": 8,
9
  "block_out_channels": [
10
  320,
 
13
  1280
14
  ],
15
  "center_input_sample": false,
16
+ "class_embed_type": null,
17
+ "class_embeddings_concat": false,
18
+ "conv_in_kernel": 3,
19
+ "conv_out_kernel": 3,
20
  "cross_attention_dim": 768,
21
+ "cross_attention_norm": null,
22
  "down_block_types": [
23
  "CrossAttnDownBlock2D",
24
  "CrossAttnDownBlock2D",
 
27
  ],
28
  "downsample_padding": 1,
29
  "dropout": 0.0,
30
+ "dual_cross_attention": false,
31
+ "encoder_hid_dim": null,
32
  "flip_sin_to_cos": true,
33
  "freq_shift": 0,
34
  "in_channels": 4,
35
  "layers_per_block": 2,
36
+ "mid_block_only_cross_attention": null,
37
  "mid_block_scale_factor": 1,
38
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
39
  "norm_eps": 1e-05,
40
  "norm_num_groups": 32,
41
+ "num_class_embeds": null,
42
  "only_cross_attention": false,
43
  "out_channels": 4,
44
+ "projection_class_embeddings_input_dim": null,
45
+ "resnet_out_scale_factor": 1.0,
46
+ "resnet_skip_time_act": false,
47
+ "resnet_time_scale_shift": "default",
48
  "sample_size": 64,
49
+ "time_cond_proj_dim": null,
50
+ "time_embedding_act_fn": null,
51
+ "time_embedding_dim": null,
52
+ "time_embedding_type": "positional",
53
+ "timestep_post_act": null,
54
  "up_block_types": [
55
  "UpBlock2D",
56
  "CrossAttnUpBlock2D",
57
  "CrossAttnUpBlock2D",
58
  "CrossAttnUpBlock2D"
59
  ],
60
+ "upcast_attention": false,
61
  "use_linear_projection": false,
62
  "use_memory_efficient": false,
63
  "use_memory_efficient_attention": false
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3703807345fea13ed01d7e08aea471d1b7a8ea7671147208d008448502189f42
3
+ size 3438366373
unet/diffusion_pytorch_model.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60abb59c64939e79bba7d7a7fb45a681844eff1212f5fa6ba8b20eb2a0774aa4
3
+ size 1719327893
unet/diffusion_pytorch_model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c49314fdcdd3404b1491739537522ab68a4aa573bb05ee4f2f390034d17df387
3
+ size 1719125308
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0efa1f5afc22e24529d260afcf2249422ab7edd466023921b66b0b01dc2349f
3
+ size 3438167540
vae/config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
- "_class_name": "FlaxAutoencoderKL",
3
- "_diffusers_version": "0.16.0.dev0",
 
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
 
1
  {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "_name_or_path": "/home/patrick/.cache/huggingface/hub/models--MuhammadHanif--stable-diffusion-v1-5-high-res/snapshots/a22fd4950d2da8a29ee82b7905d8c7cc22f118b1/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
vae/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89d03ed60a065d0a08fb5001f87c17ab4bde30744ef9b860d0c6d620d5e013b5
3
+ size 334712113
vae/diffusion_pytorch_model.fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e74d8962e0016db0fe699368b510051aab64a852abf99738773aa15af47a6650
3
+ size 167405651
vae/diffusion_pytorch_model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dda60e4cf87e40925a4b4e0f38dcc7990b0c73b3b7865775a718238a4198f15
3
+ size 167335342
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2f4e734179ec89c45a060b503fb03058b82d0ad87b440f87eeb267e9b774432
3
+ size 334643268