nroggendorff commited on
Commit
4461069
·
verified ·
1 Parent(s): 73884b3

Upload StableDiffusionXLPipeline

Browse files
model_index.json CHANGED
@@ -1,19 +1,15 @@
1
  {
2
- "_class_name": "StableDiffusionPipeline",
3
- "_diffusers_version": "0.28.2",
4
  "feature_extractor": [
5
  null,
6
  null
7
  ],
 
8
  "image_encoder": [
9
  null,
10
  null
11
  ],
12
- "requires_safety_checker": true,
13
- "safety_checker": [
14
- null,
15
- null
16
- ],
17
  "scheduler": [
18
  "diffusers",
19
  "EulerDiscreteScheduler"
@@ -22,10 +18,18 @@
22
  "transformers",
23
  "CLIPTextModel"
24
  ],
 
 
 
 
25
  "tokenizer": [
26
  "transformers",
27
  "CLIPTokenizer"
28
  ],
 
 
 
 
29
  "unet": [
30
  "diffusers",
31
  "UNet2DConditionModel"
 
1
  {
2
+ "_class_name": "StableDiffusionXLPipeline",
3
+ "_diffusers_version": "0.29.2",
4
  "feature_extractor": [
5
  null,
6
  null
7
  ],
8
+ "force_zeros_for_empty_prompt": true,
9
  "image_encoder": [
10
  null,
11
  null
12
  ],
 
 
 
 
 
13
  "scheduler": [
14
  "diffusers",
15
  "EulerDiscreteScheduler"
 
18
  "transformers",
19
  "CLIPTextModel"
20
  ],
21
+ "text_encoder_2": [
22
+ "transformers",
23
+ "CLIPTextModelWithProjection"
24
+ ],
25
  "tokenizer": [
26
  "transformers",
27
  "CLIPTokenizer"
28
  ],
29
+ "tokenizer_2": [
30
+ "transformers",
31
+ "CLIPTokenizer"
32
+ ],
33
  "unet": [
34
  "diffusers",
35
  "UNet2DConditionModel"
scheduler/scheduler_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "EulerDiscreteScheduler",
3
- "_diffusers_version": "0.28.2",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
 
1
  {
2
  "_class_name": "EulerDiscreteScheduler",
3
+ "_diffusers_version": "0.29.2",
4
  "beta_end": 0.012,
5
  "beta_schedule": "scaled_linear",
6
  "beta_start": 0.00085,
text_encoder/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7a741994c76532c7388e8b8035237d6bddce05786970ea98d164da2d1b1c8252
3
  size 492265168
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a30c5b39e1e4c4570ab524a0bb975abe69fa87f4a55e55aad8571ed264f60d3
3
  size 492265168
text_encoder_2/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModelWithProjection"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 0,
7
+ "dropout": 0.0,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_size": 1280,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 5120,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 77,
16
+ "model_type": "clip_text_model",
17
+ "num_attention_heads": 20,
18
+ "num_hidden_layers": 32,
19
+ "pad_token_id": 1,
20
+ "projection_dim": 1280,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.39.3",
23
+ "vocab_size": 49408
24
+ }
text_encoder_2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5665682dfc8bbfd84c11ea0ddb9b0a9624108455a6b92ea740d0559eac77a99a
3
+ size 2778702264
tokenizer_2/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_2/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "!",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer_2/tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "!",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49406": {
13
+ "content": "<|startoftext|>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "49407": {
21
+ "content": "<|endoftext|>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "bos_token": "<|startoftext|>",
30
+ "clean_up_tokenization_spaces": true,
31
+ "do_lower_case": true,
32
+ "eos_token": "<|endoftext|>",
33
+ "errors": "replace",
34
+ "model_max_length": 77,
35
+ "pad_token": "!",
36
+ "tokenizer_class": "CLIPTokenizer",
37
+ "unk_token": "<|endoftext|>"
38
+ }
tokenizer_2/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
unet/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.28.2",
4
  "act_fn": "silu",
5
  "addition_embed_type": "text_time",
6
  "addition_embed_type_num_heads": 64,
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.29.2",
4
  "act_fn": "silu",
5
  "addition_embed_type": "text_time",
6
  "addition_embed_type_num_heads": 64,
unet/diffusion_pytorch_model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6081a53f85bd26459c75871f4662c7e872ab27ffef346af5510c11cb961ecc9e
3
+ size 9988139160
unet/diffusion_pytorch_model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5705637624822dfdb97873d2a4b8baf13a8799db43be07337851f4e5d97f0ce5
3
+ size 281938304
unet/diffusion_pytorch_model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
vae/config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_class_name": "AutoencoderKL",
3
- "_diffusers_version": "0.28.2",
4
  "_name_or_path": "../sdxl-vae/",
5
  "act_fn": "silu",
6
  "block_out_channels": [
@@ -25,10 +25,13 @@
25
  "out_channels": 3,
26
  "sample_size": 1024,
27
  "scaling_factor": 0.13025,
 
28
  "up_block_types": [
29
  "UpDecoderBlock2D",
30
  "UpDecoderBlock2D",
31
  "UpDecoderBlock2D",
32
  "UpDecoderBlock2D"
33
- ]
 
 
34
  }
 
1
  {
2
  "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.29.2",
4
  "_name_or_path": "../sdxl-vae/",
5
  "act_fn": "silu",
6
  "block_out_channels": [
 
25
  "out_channels": 3,
26
  "sample_size": 1024,
27
  "scaling_factor": 0.13025,
28
+ "shift_factor": null,
29
  "up_block_types": [
30
  "UpDecoderBlock2D",
31
  "UpDecoderBlock2D",
32
  "UpDecoderBlock2D",
33
  "UpDecoderBlock2D"
34
+ ],
35
+ "use_post_quant_conv": true,
36
+ "use_quant_conv": true
37
  }
vae/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:98a14dc6fe8d71c83576f135a87c61a16561c9c080abba418d2cc976ee034f88
3
  size 334643268
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78f6189c8492013e3cac81637a1f657f790a237387f8a9dfd6bfa5fee28eb646
3
  size 334643268