benjamin-paine commited on
Commit
7e9a1e0
·
verified ·
1 Parent(s): 89d6aa5

Upload LTXVideo2Pipeline

Browse files
.gitattributes CHANGED
@@ -33,3 +33,12 @@ 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
+ audio_decoder/model.flashpack filter=lfs diff=lfs merge=lfs -text
37
+ audio_encoder/model.flashpack filter=lfs diff=lfs merge=lfs -text
38
+ spatial_upsampler/model.flashpack filter=lfs diff=lfs merge=lfs -text
39
+ text_encoder/model.flashpack filter=lfs diff=lfs merge=lfs -text
40
+ tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
41
+ transformer/model.flashpack filter=lfs diff=lfs merge=lfs -text
42
+ video_decoder/model.flashpack filter=lfs diff=lfs merge=lfs -text
43
+ video_encoder/model.flashpack filter=lfs diff=lfs merge=lfs -text
44
+ vocoder/model.flashpack 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 pipeline 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]
audio_decoder/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "Decoder",
3
+ "_diffusers_version": "0.36.0",
4
+ "attn_resolutions": [],
5
+ "attn_type": "vanilla",
6
+ "causality_axis": "height",
7
+ "ch": 128,
8
+ "ch_mult": [
9
+ 1,
10
+ 2,
11
+ 4
12
+ ],
13
+ "dropout": 0.0,
14
+ "give_pre_end": false,
15
+ "is_causal": true,
16
+ "mel_bins": 64,
17
+ "mel_hop_length": 160,
18
+ "mid_block_add_attention": false,
19
+ "norm_type": "pixel",
20
+ "num_res_blocks": 2,
21
+ "out_ch": 2,
22
+ "resamp_with_conv": true,
23
+ "resolution": 256,
24
+ "sample_rate": 16000,
25
+ "tanh_out": false,
26
+ "temb_ch": 0,
27
+ "z_channels": 8
28
+ }
audio_decoder/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ffc9e705b64e690dffcfc770c12a31edaba03358986b2a102d1ff428826f041
3
+ size 63836182
audio_encoder/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "Encoder",
3
+ "_diffusers_version": "0.36.0",
4
+ "attn_resolutions": [],
5
+ "attn_type": "vanilla",
6
+ "causality_axis": "height",
7
+ "ch": 128,
8
+ "ch_mult": [
9
+ 1,
10
+ 2,
11
+ 4
12
+ ],
13
+ "double_z": true,
14
+ "dropout": 0.0,
15
+ "in_channels": 2,
16
+ "is_causal": true,
17
+ "mel_bins": 64,
18
+ "mel_hop_length": 160,
19
+ "mid_block_add_attention": false,
20
+ "n_fft": 1024,
21
+ "norm_type": "pixel",
22
+ "num_res_blocks": 2,
23
+ "resamp_with_conv": true,
24
+ "resolution": 256,
25
+ "sample_rate": 16000,
26
+ "temb_ch": 0,
27
+ "z_channels": 8
28
+ }
audio_encoder/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9355fcadfd68fbc45c926eec828fb59a712b1e04260fa894cb27e0baada4d4be
3
+ size 42670875
model_index.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LTXVideo2Pipeline",
3
+ "_diffusers_version": "0.36.0",
4
+ "audio_decoder": [
5
+ "ltx2.model.audio_vae.audio_vae",
6
+ "Decoder"
7
+ ],
8
+ "audio_encoder": [
9
+ "ltx2.model.audio_vae.audio_vae",
10
+ "Encoder"
11
+ ],
12
+ "spatial_upsampler": [
13
+ "ltx2.model.upsampler.model",
14
+ "LatentUpsampler"
15
+ ],
16
+ "text_encoder": [
17
+ "ltx2.model.text_encoder.gemma.model",
18
+ "LTXTextEncoderModel"
19
+ ],
20
+ "tokenizer": [
21
+ "transformers",
22
+ "GemmaTokenizerFast"
23
+ ],
24
+ "transformer": [
25
+ "ltx2.model.transformer.model",
26
+ "LTXModel"
27
+ ],
28
+ "video_decoder": [
29
+ "ltx2.model.video_vae.video_vae",
30
+ "Decoder"
31
+ ],
32
+ "video_encoder": [
33
+ "ltx2.model.video_vae.video_vae",
34
+ "Encoder"
35
+ ],
36
+ "vocoder": [
37
+ "ltx2.model.audio_vae.vocoder",
38
+ "Vocoder"
39
+ ]
40
+ }
spatial_upsampler/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LatentUpsampler",
3
+ "_diffusers_version": "0.36.0",
4
+ "dims": 3,
5
+ "in_channels": 128,
6
+ "mid_channels": 1024,
7
+ "num_blocks_per_stage": 4,
8
+ "rational_resampler": true,
9
+ "spatial_scale": 2.0,
10
+ "spatial_upsample": true,
11
+ "temporal_upsample": false
12
+ }
spatial_upsampler/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d4a3dfc17ad2f2433c9d1221b8a0e6326539b478475fa1de71303a53f51c329
3
+ size 995742778
text_encoder/config.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma3ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 255999,
6
+ "double_precision_rope": true,
7
+ "dtype": "bfloat16",
8
+ "eoi_token_index": 256000,
9
+ "eos_token_id": [
10
+ 1,
11
+ 106
12
+ ],
13
+ "image_token_index": 262144,
14
+ "initializer_range": 0.02,
15
+ "max_length": 1024,
16
+ "mm_tokens_per_image": 256,
17
+ "model_type": "gemma3",
18
+ "positional_embedding_max_pos": [
19
+ 4096
20
+ ],
21
+ "rope_type": "split",
22
+ "text_config": {
23
+ "_sliding_window_pattern": 6,
24
+ "attention_bias": false,
25
+ "attention_dropout": 0.0,
26
+ "attn_logit_softcapping": null,
27
+ "cache_implementation": "hybrid",
28
+ "dtype": "bfloat16",
29
+ "final_logit_softcapping": null,
30
+ "head_dim": 256,
31
+ "hidden_activation": "gelu_pytorch_tanh",
32
+ "hidden_size": 3840,
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 15360,
35
+ "layer_types": [
36
+ "sliding_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "full_attention",
42
+ "sliding_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "sliding_attention",
47
+ "full_attention",
48
+ "sliding_attention",
49
+ "sliding_attention",
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "full_attention",
54
+ "sliding_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "sliding_attention",
59
+ "full_attention",
60
+ "sliding_attention",
61
+ "sliding_attention",
62
+ "sliding_attention",
63
+ "sliding_attention",
64
+ "sliding_attention",
65
+ "full_attention",
66
+ "sliding_attention",
67
+ "sliding_attention",
68
+ "sliding_attention",
69
+ "sliding_attention",
70
+ "sliding_attention",
71
+ "full_attention",
72
+ "sliding_attention",
73
+ "sliding_attention",
74
+ "sliding_attention",
75
+ "sliding_attention",
76
+ "sliding_attention",
77
+ "full_attention",
78
+ "sliding_attention",
79
+ "sliding_attention",
80
+ "sliding_attention",
81
+ "sliding_attention",
82
+ "sliding_attention",
83
+ "full_attention"
84
+ ],
85
+ "max_position_embeddings": 131072,
86
+ "model_type": "gemma3_text",
87
+ "num_attention_heads": 16,
88
+ "num_hidden_layers": 48,
89
+ "num_key_value_heads": 8,
90
+ "query_pre_attn_scalar": 256,
91
+ "rms_norm_eps": 1e-06,
92
+ "rope_local_base_freq": 10000,
93
+ "rope_scaling": {
94
+ "factor": 8.0,
95
+ "rope_type": "linear"
96
+ },
97
+ "rope_theta": 1000000,
98
+ "sliding_window": 1024,
99
+ "sliding_window_pattern": 6,
100
+ "use_bidirectional_attention": false,
101
+ "use_cache": true,
102
+ "vocab_size": 262208
103
+ },
104
+ "transformers_version": "4.57.3",
105
+ "vision_config": {
106
+ "attention_dropout": 0.0,
107
+ "dtype": "bfloat16",
108
+ "hidden_act": "gelu_pytorch_tanh",
109
+ "hidden_size": 1152,
110
+ "image_size": 896,
111
+ "intermediate_size": 4304,
112
+ "layer_norm_eps": 1e-06,
113
+ "model_type": "siglip_vision_model",
114
+ "num_attention_heads": 16,
115
+ "num_channels": 3,
116
+ "num_hidden_layers": 27,
117
+ "patch_size": 14,
118
+ "vision_use_head": false
119
+ }
120
+ }
text_encoder/generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": [
6
+ 1,
7
+ 106
8
+ ],
9
+ "max_length": 1024,
10
+ "pad_token_id": 0,
11
+ "transformers_version": "4.57.3"
12
+ }
text_encoder/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b678aa2e766ae5deb8bb92d9dcdeccbbbba7b7489476cdcb48152c4600726c3
3
+ size 29251502829
tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {{ bos_token }}
2
+ {%- if messages[0]['role'] == 'system' -%}
3
+ {%- if messages[0]['content'] is string -%}
4
+ {%- set first_user_prefix = messages[0]['content'] + '
5
+
6
+ ' -%}
7
+ {%- else -%}
8
+ {%- set first_user_prefix = messages[0]['content'][0]['text'] + '
9
+
10
+ ' -%}
11
+ {%- endif -%}
12
+ {%- set loop_messages = messages[1:] -%}
13
+ {%- else -%}
14
+ {%- set first_user_prefix = "" -%}
15
+ {%- set loop_messages = messages -%}
16
+ {%- endif -%}
17
+ {%- for message in loop_messages -%}
18
+ {%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
19
+ {{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
20
+ {%- endif -%}
21
+ {%- if (message['role'] == 'assistant') -%}
22
+ {%- set role = "model" -%}
23
+ {%- else -%}
24
+ {%- set role = message['role'] -%}
25
+ {%- endif -%}
26
+ {{ '<start_of_turn>' + role + '
27
+ ' + (first_user_prefix if loop.first else "") }}
28
+ {%- if message['content'] is string -%}
29
+ {{ message['content'] | trim }}
30
+ {%- elif message['content'] is iterable -%}
31
+ {%- for item in message['content'] -%}
32
+ {%- if item['type'] == 'image' -%}
33
+ {{ '<start_of_image>' }}
34
+ {%- elif item['type'] == 'text' -%}
35
+ {{ item['text'] | trim }}
36
+ {%- endif -%}
37
+ {%- endfor -%}
38
+ {%- else -%}
39
+ {{ raise_exception("Invalid content type") }}
40
+ {%- endif -%}
41
+ {{ '<end_of_turn>
42
+ ' }}
43
+ {%- endfor -%}
44
+ {%- if add_generation_prompt -%}
45
+ {{'<start_of_turn>model
46
+ '}}
47
+ {%- endif -%}
tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
3
+ size 33384568
tokenizer/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
transformer/config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LTXModel",
3
+ "_diffusers_version": "0.36.0",
4
+ "attention_head_dim": 128,
5
+ "attention_type": "default",
6
+ "audio_attention_head_dim": 64,
7
+ "audio_cross_attention_dim": 2048,
8
+ "audio_in_channels": 128,
9
+ "audio_num_attention_heads": 32,
10
+ "audio_out_channels": 128,
11
+ "audio_positional_embedding_max_pos": [
12
+ 20
13
+ ],
14
+ "av_ca_timestep_scale_multiplier": 1000.0,
15
+ "caption_channels": 3840,
16
+ "cross_attention_dim": 4096,
17
+ "double_precision_rope": true,
18
+ "in_channels": 128,
19
+ "model_type": "audio-video",
20
+ "norm_eps": 1e-06,
21
+ "num_attention_heads": 32,
22
+ "num_layers": 48,
23
+ "out_channels": 128,
24
+ "positional_embedding_max_pos": [
25
+ 20,
26
+ 2048,
27
+ 2048
28
+ ],
29
+ "positional_embedding_theta": 10000.0,
30
+ "rope_type": "split",
31
+ "timestep_scale_multiplier": 1000,
32
+ "use_middle_indices_grid": true
33
+ }
transformer/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:783ca1e429cc0dc7f01d70bef689da9cc409b12b02b0561151444066a91bc0d7
3
+ size 37759302959
video_decoder/config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "Decoder",
3
+ "_diffusers_version": "0.36.0",
4
+ "causal": false,
5
+ "convolution_dimensions": 3,
6
+ "decode_noise_scale": 0.025,
7
+ "decode_timestep": 0.05,
8
+ "decoder_blocks": [
9
+ [
10
+ "res_x",
11
+ {
12
+ "inject_noise": false,
13
+ "num_layers": 5
14
+ }
15
+ ],
16
+ [
17
+ "compress_all",
18
+ {
19
+ "multiplier": 2,
20
+ "residual": true
21
+ }
22
+ ],
23
+ [
24
+ "res_x",
25
+ {
26
+ "inject_noise": false,
27
+ "num_layers": 5
28
+ }
29
+ ],
30
+ [
31
+ "compress_all",
32
+ {
33
+ "multiplier": 2,
34
+ "residual": true
35
+ }
36
+ ],
37
+ [
38
+ "res_x",
39
+ {
40
+ "inject_noise": false,
41
+ "num_layers": 5
42
+ }
43
+ ],
44
+ [
45
+ "compress_all",
46
+ {
47
+ "multiplier": 2,
48
+ "residual": true
49
+ }
50
+ ],
51
+ [
52
+ "res_x",
53
+ {
54
+ "inject_noise": false,
55
+ "num_layers": 5
56
+ }
57
+ ]
58
+ ],
59
+ "decoder_spatial_padding_mode": "reflect",
60
+ "in_channels": 128,
61
+ "norm_layer": "pixel_norm",
62
+ "out_channels": 3,
63
+ "patch_size": 4,
64
+ "timestep_conditioning": false
65
+ }
video_decoder/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2beb5bf1ad08496741eeb5de80cbfa9225d99b0464bc8f542f030661c70e62c
3
+ size 1056772728
video_encoder/config.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "Encoder",
3
+ "_diffusers_version": "0.36.0",
4
+ "convolution_dimensions": 3,
5
+ "encoder_blocks": [
6
+ [
7
+ "res_x",
8
+ {
9
+ "num_layers": 4
10
+ }
11
+ ],
12
+ [
13
+ "compress_space_res",
14
+ {
15
+ "multiplier": 2
16
+ }
17
+ ],
18
+ [
19
+ "res_x",
20
+ {
21
+ "num_layers": 6
22
+ }
23
+ ],
24
+ [
25
+ "compress_time_res",
26
+ {
27
+ "multiplier": 2
28
+ }
29
+ ],
30
+ [
31
+ "res_x",
32
+ {
33
+ "num_layers": 6
34
+ }
35
+ ],
36
+ [
37
+ "compress_all_res",
38
+ {
39
+ "multiplier": 2
40
+ }
41
+ ],
42
+ [
43
+ "res_x",
44
+ {
45
+ "num_layers": 2
46
+ }
47
+ ],
48
+ [
49
+ "compress_all_res",
50
+ {
51
+ "multiplier": 2
52
+ }
53
+ ],
54
+ [
55
+ "res_x",
56
+ {
57
+ "num_layers": 2
58
+ }
59
+ ]
60
+ ],
61
+ "encoder_spatial_padding_mode": "zeros",
62
+ "in_channels": 3,
63
+ "latent_log_var": "uniform",
64
+ "norm_layer": "pixel_norm",
65
+ "out_channels": 128,
66
+ "patch_size": 4
67
+ }
video_encoder/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97e2c2d925a77692c3ead2118e6ca220c2f1160325638f95880b1ce62f51d26a
3
+ size 1388209516
vocoder/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "Vocoder",
3
+ "_diffusers_version": "0.36.0",
4
+ "output_sample_rate": 24000,
5
+ "resblock": "1",
6
+ "resblock_dilation_sizes": [
7
+ [
8
+ 1,
9
+ 3,
10
+ 5
11
+ ],
12
+ [
13
+ 1,
14
+ 3,
15
+ 5
16
+ ],
17
+ [
18
+ 1,
19
+ 3,
20
+ 5
21
+ ]
22
+ ],
23
+ "resblock_kernel_sizes": [
24
+ 3,
25
+ 7,
26
+ 11
27
+ ],
28
+ "stereo": true,
29
+ "upsample_initial_channel": 1024,
30
+ "upsample_kernel_sizes": [
31
+ 16,
32
+ 15,
33
+ 8,
34
+ 4,
35
+ 4
36
+ ],
37
+ "upsample_rates": [
38
+ 6,
39
+ 5,
40
+ 2,
41
+ 2,
42
+ 2
43
+ ]
44
+ }
vocoder/model.flashpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dc929a375238d056c1a551dbacd40ab693194a68c4ebc9d91e51dde67326bcc
3
+ size 111203601