isfs commited on
Commit
2e31b80
·
verified ·
1 Parent(s): 6ca38a7

Upload WanVACEPipeline

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: diffusers
3
+ ---
4
+
5
+ # Model Card for Model ID
6
+
7
+ <!-- Provide a quick summary of what the model is/does. -->
8
+
9
+
10
+
11
+ ## Model Details
12
+
13
+ ### Model Description
14
+
15
+ <!-- Provide a longer summary of what this model is. -->
16
+
17
+ This is the model card of a 🧨 diffusers model that has been pushed on the Hub. This model card has been automatically generated.
18
+
19
+ - **Developed by:** [More Information Needed]
20
+ - **Funded by [optional]:** [More Information Needed]
21
+ - **Shared by [optional]:** [More Information Needed]
22
+ - **Model type:** [More Information Needed]
23
+ - **Language(s) (NLP):** [More Information Needed]
24
+ - **License:** [More Information Needed]
25
+ - **Finetuned from model [optional]:** [More Information Needed]
26
+
27
+ ### Model Sources [optional]
28
+
29
+ <!-- Provide the basic links for the model. -->
30
+
31
+ - **Repository:** [More Information Needed]
32
+ - **Paper [optional]:** [More Information Needed]
33
+ - **Demo [optional]:** [More Information Needed]
34
+
35
+ ## Uses
36
+
37
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
38
+
39
+ ### Direct Use
40
+
41
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
42
+
43
+ [More Information Needed]
44
+
45
+ ### Downstream Use [optional]
46
+
47
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Out-of-Scope Use
52
+
53
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
54
+
55
+ [More Information Needed]
56
+
57
+ ## Bias, Risks, and Limitations
58
+
59
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ### Recommendations
64
+
65
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
66
+
67
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
68
+
69
+ ## How to Get Started with the Model
70
+
71
+ Use the code below to get started with the model.
72
+
73
+ [More Information Needed]
74
+
75
+ ## Training Details
76
+
77
+ ### Training Data
78
+
79
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
80
+
81
+ [More Information Needed]
82
+
83
+ ### Training Procedure
84
+
85
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
86
+
87
+ #### Preprocessing [optional]
88
+
89
+ [More Information Needed]
90
+
91
+
92
+ #### Training Hyperparameters
93
+
94
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
95
+
96
+ #### Speeds, Sizes, Times [optional]
97
+
98
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
99
+
100
+ [More Information Needed]
101
+
102
+ ## Evaluation
103
+
104
+ <!-- This section describes the evaluation protocols and provides the results. -->
105
+
106
+ ### Testing Data, Factors & Metrics
107
+
108
+ #### Testing Data
109
+
110
+ <!-- This should link to a Dataset Card if possible. -->
111
+
112
+ [More Information Needed]
113
+
114
+ #### Factors
115
+
116
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Metrics
121
+
122
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
123
+
124
+ [More Information Needed]
125
+
126
+ ### Results
127
+
128
+ [More Information Needed]
129
+
130
+ #### Summary
131
+
132
+
133
+
134
+ ## Model Examination [optional]
135
+
136
+ <!-- Relevant interpretability work for the model goes here -->
137
+
138
+ [More Information Needed]
139
+
140
+ ## Environmental Impact
141
+
142
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
143
+
144
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
145
+
146
+ - **Hardware Type:** [More Information Needed]
147
+ - **Hours used:** [More Information Needed]
148
+ - **Cloud Provider:** [More Information Needed]
149
+ - **Compute Region:** [More Information Needed]
150
+ - **Carbon Emitted:** [More Information Needed]
151
+
152
+ ## Technical Specifications [optional]
153
+
154
+ ### Model Architecture and Objective
155
+
156
+ [More Information Needed]
157
+
158
+ ### Compute Infrastructure
159
+
160
+ [More Information Needed]
161
+
162
+ #### Hardware
163
+
164
+ [More Information Needed]
165
+
166
+ #### Software
167
+
168
+ [More Information Needed]
169
+
170
+ ## Citation [optional]
171
+
172
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
173
+
174
+ **BibTeX:**
175
+
176
+ [More Information Needed]
177
+
178
+ **APA:**
179
+
180
+ [More Information Needed]
181
+
182
+ ## Glossary [optional]
183
+
184
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
185
+
186
+ [More Information Needed]
187
+
188
+ ## More Information [optional]
189
+
190
+ [More Information Needed]
191
+
192
+ ## Model Card Authors [optional]
193
+
194
+ [More Information Needed]
195
+
196
+ ## Model Card Contact
197
+
198
+ [More Information Needed]
model_index.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "WanVACEPipeline",
3
+ "_diffusers_version": "0.36.0",
4
+ "boundary_ratio": null,
5
+ "scheduler": [
6
+ "diffusers",
7
+ "UniPCMultistepScheduler"
8
+ ],
9
+ "text_encoder": [
10
+ "transformers",
11
+ "T5EncoderModel"
12
+ ],
13
+ "tokenizer": [
14
+ "transformers",
15
+ "T5Tokenizer"
16
+ ],
17
+ "transformer": [
18
+ "diffusers",
19
+ "WanVACETransformer3DModel"
20
+ ],
21
+ "transformer_2": [
22
+ null,
23
+ null
24
+ ],
25
+ "vae": [
26
+ "diffusers",
27
+ "AutoencoderKLWan"
28
+ ]
29
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UniPCMultistepScheduler",
3
+ "_diffusers_version": "0.36.0",
4
+ "beta_end": 0.02,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.0001,
7
+ "disable_corrector": [],
8
+ "dynamic_thresholding_ratio": 0.995,
9
+ "final_sigmas_type": "zero",
10
+ "flow_shift": 3.0,
11
+ "lower_order_final": true,
12
+ "num_train_timesteps": 1000,
13
+ "predict_x0": true,
14
+ "prediction_type": "flow_prediction",
15
+ "rescale_betas_zero_snr": false,
16
+ "sample_max_value": 1.0,
17
+ "solver_order": 2,
18
+ "solver_p": null,
19
+ "solver_type": "bh2",
20
+ "steps_offset": 0,
21
+ "thresholding": false,
22
+ "time_shift_type": "exponential",
23
+ "timestep_spacing": "linspace",
24
+ "trained_betas": null,
25
+ "use_beta_sigmas": false,
26
+ "use_dynamic_shifting": false,
27
+ "use_exponential_sigmas": false,
28
+ "use_flow_sigmas": true,
29
+ "use_karras_sigmas": false
30
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "T5EncoderModel"
4
+ ],
5
+ "classifier_dropout": 0.0,
6
+ "d_ff": 10240,
7
+ "d_kv": 64,
8
+ "d_model": 4096,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
+ "dropout_rate": 0.1,
12
+ "dtype": "bfloat16",
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "gated-gelu",
15
+ "initializer_factor": 1.0,
16
+ "is_decoder": false,
17
+ "is_encoder_decoder": false,
18
+ "is_gated_act": true,
19
+ "layer_norm_epsilon": 1e-06,
20
+ "model_type": "t5",
21
+ "num_decoder_layers": 24,
22
+ "num_heads": 64,
23
+ "num_layers": 24,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "quantization_config": {
27
+ "_load_in_4bit": true,
28
+ "_load_in_8bit": false,
29
+ "bnb_4bit_compute_dtype": "float16",
30
+ "bnb_4bit_quant_storage": "uint8",
31
+ "bnb_4bit_quant_type": "nf4",
32
+ "bnb_4bit_use_double_quant": true,
33
+ "llm_int8_enable_fp32_cpu_offload": false,
34
+ "llm_int8_has_fp16_weight": false,
35
+ "llm_int8_skip_modules": null,
36
+ "llm_int8_threshold": 6.0,
37
+ "load_in_4bit": true,
38
+ "load_in_8bit": false,
39
+ "quant_method": "bitsandbytes"
40
+ },
41
+ "relative_attention_max_distance": 128,
42
+ "relative_attention_num_buckets": 32,
43
+ "scalable_attention": true,
44
+ "scale_decoder_outputs": false,
45
+ "tie_word_embeddings": true,
46
+ "tokenizer_class": "T5Tokenizer",
47
+ "transformers_version": "5.2.0",
48
+ "use_cache": false,
49
+ "vocab_size": 256384
50
+ }
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:564f1c2f3a2bd7fca22c2a4ce31491606d234339f48ad47b70ece15eaea65bab
3
+ size 5983718903
tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e87c960c36d5fbf4e7e76c2469b7eab877be7f8c5992efbf97e44d3123cc6521
3
+ size 16837418
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": null,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": true,
6
+ "eos_token": "</s>",
7
+ "extra_ids": 300,
8
+ "extra_special_tokens": [
9
+ "<extra_id_0>",
10
+ "<extra_id_1>",
11
+ "<extra_id_2>",
12
+ "<extra_id_3>",
13
+ "<extra_id_4>",
14
+ "<extra_id_5>",
15
+ "<extra_id_6>",
16
+ "<extra_id_7>",
17
+ "<extra_id_8>",
18
+ "<extra_id_9>",
19
+ "<extra_id_10>",
20
+ "<extra_id_11>",
21
+ "<extra_id_12>",
22
+ "<extra_id_13>",
23
+ "<extra_id_14>",
24
+ "<extra_id_15>",
25
+ "<extra_id_16>",
26
+ "<extra_id_17>",
27
+ "<extra_id_18>",
28
+ "<extra_id_19>",
29
+ "<extra_id_20>",
30
+ "<extra_id_21>",
31
+ "<extra_id_22>",
32
+ "<extra_id_23>",
33
+ "<extra_id_24>",
34
+ "<extra_id_25>",
35
+ "<extra_id_26>",
36
+ "<extra_id_27>",
37
+ "<extra_id_28>",
38
+ "<extra_id_29>",
39
+ "<extra_id_30>",
40
+ "<extra_id_31>",
41
+ "<extra_id_32>",
42
+ "<extra_id_33>",
43
+ "<extra_id_34>",
44
+ "<extra_id_35>",
45
+ "<extra_id_36>",
46
+ "<extra_id_37>",
47
+ "<extra_id_38>",
48
+ "<extra_id_39>",
49
+ "<extra_id_40>",
50
+ "<extra_id_41>",
51
+ "<extra_id_42>",
52
+ "<extra_id_43>",
53
+ "<extra_id_44>",
54
+ "<extra_id_45>",
55
+ "<extra_id_46>",
56
+ "<extra_id_47>",
57
+ "<extra_id_48>",
58
+ "<extra_id_49>",
59
+ "<extra_id_50>",
60
+ "<extra_id_51>",
61
+ "<extra_id_52>",
62
+ "<extra_id_53>",
63
+ "<extra_id_54>",
64
+ "<extra_id_55>",
65
+ "<extra_id_56>",
66
+ "<extra_id_57>",
67
+ "<extra_id_58>",
68
+ "<extra_id_59>",
69
+ "<extra_id_60>",
70
+ "<extra_id_61>",
71
+ "<extra_id_62>",
72
+ "<extra_id_63>",
73
+ "<extra_id_64>",
74
+ "<extra_id_65>",
75
+ "<extra_id_66>",
76
+ "<extra_id_67>",
77
+ "<extra_id_68>",
78
+ "<extra_id_69>",
79
+ "<extra_id_70>",
80
+ "<extra_id_71>",
81
+ "<extra_id_72>",
82
+ "<extra_id_73>",
83
+ "<extra_id_74>",
84
+ "<extra_id_75>",
85
+ "<extra_id_76>",
86
+ "<extra_id_77>",
87
+ "<extra_id_78>",
88
+ "<extra_id_79>",
89
+ "<extra_id_80>",
90
+ "<extra_id_81>",
91
+ "<extra_id_82>",
92
+ "<extra_id_83>",
93
+ "<extra_id_84>",
94
+ "<extra_id_85>",
95
+ "<extra_id_86>",
96
+ "<extra_id_87>",
97
+ "<extra_id_88>",
98
+ "<extra_id_89>",
99
+ "<extra_id_90>",
100
+ "<extra_id_91>",
101
+ "<extra_id_92>",
102
+ "<extra_id_93>",
103
+ "<extra_id_94>",
104
+ "<extra_id_95>",
105
+ "<extra_id_96>",
106
+ "<extra_id_97>",
107
+ "<extra_id_98>",
108
+ "<extra_id_99>",
109
+ "<extra_id_100>",
110
+ "<extra_id_101>",
111
+ "<extra_id_102>",
112
+ "<extra_id_103>",
113
+ "<extra_id_104>",
114
+ "<extra_id_105>",
115
+ "<extra_id_106>",
116
+ "<extra_id_107>",
117
+ "<extra_id_108>",
118
+ "<extra_id_109>",
119
+ "<extra_id_110>",
120
+ "<extra_id_111>",
121
+ "<extra_id_112>",
122
+ "<extra_id_113>",
123
+ "<extra_id_114>",
124
+ "<extra_id_115>",
125
+ "<extra_id_116>",
126
+ "<extra_id_117>",
127
+ "<extra_id_118>",
128
+ "<extra_id_119>",
129
+ "<extra_id_120>",
130
+ "<extra_id_121>",
131
+ "<extra_id_122>",
132
+ "<extra_id_123>",
133
+ "<extra_id_124>",
134
+ "<extra_id_125>",
135
+ "<extra_id_126>",
136
+ "<extra_id_127>",
137
+ "<extra_id_128>",
138
+ "<extra_id_129>",
139
+ "<extra_id_130>",
140
+ "<extra_id_131>",
141
+ "<extra_id_132>",
142
+ "<extra_id_133>",
143
+ "<extra_id_134>",
144
+ "<extra_id_135>",
145
+ "<extra_id_136>",
146
+ "<extra_id_137>",
147
+ "<extra_id_138>",
148
+ "<extra_id_139>",
149
+ "<extra_id_140>",
150
+ "<extra_id_141>",
151
+ "<extra_id_142>",
152
+ "<extra_id_143>",
153
+ "<extra_id_144>",
154
+ "<extra_id_145>",
155
+ "<extra_id_146>",
156
+ "<extra_id_147>",
157
+ "<extra_id_148>",
158
+ "<extra_id_149>",
159
+ "<extra_id_150>",
160
+ "<extra_id_151>",
161
+ "<extra_id_152>",
162
+ "<extra_id_153>",
163
+ "<extra_id_154>",
164
+ "<extra_id_155>",
165
+ "<extra_id_156>",
166
+ "<extra_id_157>",
167
+ "<extra_id_158>",
168
+ "<extra_id_159>",
169
+ "<extra_id_160>",
170
+ "<extra_id_161>",
171
+ "<extra_id_162>",
172
+ "<extra_id_163>",
173
+ "<extra_id_164>",
174
+ "<extra_id_165>",
175
+ "<extra_id_166>",
176
+ "<extra_id_167>",
177
+ "<extra_id_168>",
178
+ "<extra_id_169>",
179
+ "<extra_id_170>",
180
+ "<extra_id_171>",
181
+ "<extra_id_172>",
182
+ "<extra_id_173>",
183
+ "<extra_id_174>",
184
+ "<extra_id_175>",
185
+ "<extra_id_176>",
186
+ "<extra_id_177>",
187
+ "<extra_id_178>",
188
+ "<extra_id_179>",
189
+ "<extra_id_180>",
190
+ "<extra_id_181>",
191
+ "<extra_id_182>",
192
+ "<extra_id_183>",
193
+ "<extra_id_184>",
194
+ "<extra_id_185>",
195
+ "<extra_id_186>",
196
+ "<extra_id_187>",
197
+ "<extra_id_188>",
198
+ "<extra_id_189>",
199
+ "<extra_id_190>",
200
+ "<extra_id_191>",
201
+ "<extra_id_192>",
202
+ "<extra_id_193>",
203
+ "<extra_id_194>",
204
+ "<extra_id_195>",
205
+ "<extra_id_196>",
206
+ "<extra_id_197>",
207
+ "<extra_id_198>",
208
+ "<extra_id_199>",
209
+ "<extra_id_200>",
210
+ "<extra_id_201>",
211
+ "<extra_id_202>",
212
+ "<extra_id_203>",
213
+ "<extra_id_204>",
214
+ "<extra_id_205>",
215
+ "<extra_id_206>",
216
+ "<extra_id_207>",
217
+ "<extra_id_208>",
218
+ "<extra_id_209>",
219
+ "<extra_id_210>",
220
+ "<extra_id_211>",
221
+ "<extra_id_212>",
222
+ "<extra_id_213>",
223
+ "<extra_id_214>",
224
+ "<extra_id_215>",
225
+ "<extra_id_216>",
226
+ "<extra_id_217>",
227
+ "<extra_id_218>",
228
+ "<extra_id_219>",
229
+ "<extra_id_220>",
230
+ "<extra_id_221>",
231
+ "<extra_id_222>",
232
+ "<extra_id_223>",
233
+ "<extra_id_224>",
234
+ "<extra_id_225>",
235
+ "<extra_id_226>",
236
+ "<extra_id_227>",
237
+ "<extra_id_228>",
238
+ "<extra_id_229>",
239
+ "<extra_id_230>",
240
+ "<extra_id_231>",
241
+ "<extra_id_232>",
242
+ "<extra_id_233>",
243
+ "<extra_id_234>",
244
+ "<extra_id_235>",
245
+ "<extra_id_236>",
246
+ "<extra_id_237>",
247
+ "<extra_id_238>",
248
+ "<extra_id_239>",
249
+ "<extra_id_240>",
250
+ "<extra_id_241>",
251
+ "<extra_id_242>",
252
+ "<extra_id_243>",
253
+ "<extra_id_244>",
254
+ "<extra_id_245>",
255
+ "<extra_id_246>",
256
+ "<extra_id_247>",
257
+ "<extra_id_248>",
258
+ "<extra_id_249>",
259
+ "<extra_id_250>",
260
+ "<extra_id_251>",
261
+ "<extra_id_252>",
262
+ "<extra_id_253>",
263
+ "<extra_id_254>",
264
+ "<extra_id_255>",
265
+ "<extra_id_256>",
266
+ "<extra_id_257>",
267
+ "<extra_id_258>",
268
+ "<extra_id_259>",
269
+ "<extra_id_260>",
270
+ "<extra_id_261>",
271
+ "<extra_id_262>",
272
+ "<extra_id_263>",
273
+ "<extra_id_264>",
274
+ "<extra_id_265>",
275
+ "<extra_id_266>",
276
+ "<extra_id_267>",
277
+ "<extra_id_268>",
278
+ "<extra_id_269>",
279
+ "<extra_id_270>",
280
+ "<extra_id_271>",
281
+ "<extra_id_272>",
282
+ "<extra_id_273>",
283
+ "<extra_id_274>",
284
+ "<extra_id_275>",
285
+ "<extra_id_276>",
286
+ "<extra_id_277>",
287
+ "<extra_id_278>",
288
+ "<extra_id_279>",
289
+ "<extra_id_280>",
290
+ "<extra_id_281>",
291
+ "<extra_id_282>",
292
+ "<extra_id_283>",
293
+ "<extra_id_284>",
294
+ "<extra_id_285>",
295
+ "<extra_id_286>",
296
+ "<extra_id_287>",
297
+ "<extra_id_288>",
298
+ "<extra_id_289>",
299
+ "<extra_id_290>",
300
+ "<extra_id_291>",
301
+ "<extra_id_292>",
302
+ "<extra_id_293>",
303
+ "<extra_id_294>",
304
+ "<extra_id_295>",
305
+ "<extra_id_296>",
306
+ "<extra_id_297>",
307
+ "<extra_id_298>",
308
+ "<extra_id_299>"
309
+ ],
310
+ "is_local": false,
311
+ "model_max_length": 1000000000000000019884624838656,
312
+ "pad_token": "<pad>",
313
+ "sp_model_kwargs": {},
314
+ "spaces_between_special_tokens": false,
315
+ "tokenizer_class": "T5Tokenizer",
316
+ "unk_token": "<unk>"
317
+ }
transformer/config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "WanVACETransformer3DModel",
3
+ "_diffusers_version": "0.36.0",
4
+ "_name_or_path": "Wan-AI/Wan2.1-VACE-1.3B-diffusers",
5
+ "added_kv_proj_dim": null,
6
+ "attention_head_dim": 128,
7
+ "cross_attn_norm": true,
8
+ "eps": 1e-06,
9
+ "ffn_dim": 8960,
10
+ "freq_dim": 256,
11
+ "image_dim": null,
12
+ "in_channels": 16,
13
+ "num_attention_heads": 12,
14
+ "num_layers": 30,
15
+ "out_channels": 16,
16
+ "patch_size": [
17
+ 1,
18
+ 2,
19
+ 2
20
+ ],
21
+ "pos_embed_seq_len": null,
22
+ "qk_norm": "rms_norm_across_heads",
23
+ "quantization_config": {
24
+ "_load_in_4bit": true,
25
+ "_load_in_8bit": false,
26
+ "bnb_4bit_compute_dtype": "float16",
27
+ "bnb_4bit_quant_storage": "uint8",
28
+ "bnb_4bit_quant_type": "nf4",
29
+ "bnb_4bit_use_double_quant": true,
30
+ "llm_int8_enable_fp32_cpu_offload": false,
31
+ "llm_int8_has_fp16_weight": false,
32
+ "llm_int8_skip_modules": null,
33
+ "llm_int8_threshold": 6.0,
34
+ "load_in_4bit": true,
35
+ "load_in_8bit": false,
36
+ "quant_method": "bitsandbytes"
37
+ },
38
+ "rope_max_seq_len": 1024,
39
+ "text_dim": 4096,
40
+ "vace_in_channels": 96,
41
+ "vace_layers": [
42
+ 0,
43
+ 2,
44
+ 4,
45
+ 6,
46
+ 8,
47
+ 10,
48
+ 12,
49
+ 14,
50
+ 16,
51
+ 18,
52
+ 20,
53
+ 22,
54
+ 24,
55
+ 26,
56
+ 28
57
+ ]
58
+ }
transformer/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcb7e251975b4a4d8a8fd1824b70d0d8846f0758b744bc16daa2936a622a9d67
3
+ size 1126700088
vae/config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKLWan",
3
+ "_diffusers_version": "0.36.0",
4
+ "_name_or_path": "Wan-AI/Wan2.1-VACE-1.3B-diffusers",
5
+ "attn_scales": [],
6
+ "base_dim": 96,
7
+ "decoder_base_dim": null,
8
+ "dim_mult": [
9
+ 1,
10
+ 2,
11
+ 4,
12
+ 4
13
+ ],
14
+ "dropout": 0.0,
15
+ "in_channels": 3,
16
+ "is_residual": false,
17
+ "latents_mean": [
18
+ -0.7571,
19
+ -0.7089,
20
+ -0.9113,
21
+ 0.1075,
22
+ -0.1745,
23
+ 0.9653,
24
+ -0.1517,
25
+ 1.5508,
26
+ 0.4134,
27
+ -0.0715,
28
+ 0.5517,
29
+ -0.3632,
30
+ -0.1922,
31
+ -0.9497,
32
+ 0.2503,
33
+ -0.2921
34
+ ],
35
+ "latents_std": [
36
+ 2.8184,
37
+ 1.4541,
38
+ 2.3275,
39
+ 2.6558,
40
+ 1.2196,
41
+ 1.7708,
42
+ 2.6052,
43
+ 2.0743,
44
+ 3.2687,
45
+ 2.1526,
46
+ 2.8652,
47
+ 1.5579,
48
+ 1.6382,
49
+ 1.1253,
50
+ 2.8251,
51
+ 1.916
52
+ ],
53
+ "num_res_blocks": 2,
54
+ "out_channels": 3,
55
+ "patch_size": null,
56
+ "scale_factor_spatial": 8,
57
+ "scale_factor_temporal": 4,
58
+ "temperal_downsample": [
59
+ false,
60
+ true,
61
+ true
62
+ ],
63
+ "z_dim": 16
64
+ }
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b96fa07bac5d2ec749cc74593c0c1ffce88db2c4fd8652009fe8e6a9cd15b703
3
+ size 253806774