sayakpaul HF Staff commited on
Commit
f0dc9e2
·
verified ·
1 Parent(s): 1f75688

Upload LTX2Pipeline

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]
audio_vae/config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKLLTX2Audio",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "attn_resolutions": null,
5
+ "base_channels": 4,
6
+ "causality_axis": "height",
7
+ "ch_mult": [
8
+ 1
9
+ ],
10
+ "double_z": true,
11
+ "dropout": 0.0,
12
+ "in_channels": 2,
13
+ "is_causal": true,
14
+ "latent_channels": 2,
15
+ "mel_bins": 8,
16
+ "mel_hop_length": 160,
17
+ "mid_block_add_attention": false,
18
+ "norm_type": "pixel",
19
+ "num_res_blocks": 1,
20
+ "output_channels": 2,
21
+ "resolution": 32,
22
+ "sample_rate": 16000
23
+ }
audio_vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a86c1d8d653163146e3e1c6e5f4365ba23edb41993640b9f4458d39950862610
3
+ size 13416
connectors/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LTX2TextConnectors",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "audio_connector_attention_head_dim": 8,
5
+ "audio_connector_num_attention_heads": 4,
6
+ "audio_connector_num_layers": 1,
7
+ "audio_connector_num_learnable_registers": null,
8
+ "audio_gated_attn": false,
9
+ "audio_hidden_dim": 2048,
10
+ "caption_channels": 32,
11
+ "causal_temporal_positioning": false,
12
+ "connector_rope_base_seq_len": 32,
13
+ "per_modality_projections": false,
14
+ "proj_bias": false,
15
+ "rope_double_precision": false,
16
+ "rope_theta": 10000.0,
17
+ "rope_type": "split",
18
+ "text_proj_in_factor": 3,
19
+ "video_connector_attention_head_dim": 8,
20
+ "video_connector_num_attention_heads": 4,
21
+ "video_connector_num_layers": 1,
22
+ "video_connector_num_learnable_registers": null,
23
+ "video_gated_attn": false,
24
+ "video_hidden_dim": 4096
25
+ }
connectors/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf8b2f822740f1cc4cbad5462b9679dc7c1ff1a9138080d08ae432d17e51d01d
3
+ size 116776
model_index.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LTX2Pipeline",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "audio_vae": [
5
+ "diffusers",
6
+ "AutoencoderKLLTX2Audio"
7
+ ],
8
+ "connectors": [
9
+ "ltx2",
10
+ "LTX2TextConnectors"
11
+ ],
12
+ "processor": [
13
+ null,
14
+ null
15
+ ],
16
+ "scheduler": [
17
+ "diffusers",
18
+ "FlowMatchEulerDiscreteScheduler"
19
+ ],
20
+ "text_encoder": [
21
+ "transformers",
22
+ "Gemma3ForConditionalGeneration"
23
+ ],
24
+ "tokenizer": [
25
+ "transformers",
26
+ "GemmaTokenizerFast"
27
+ ],
28
+ "transformer": [
29
+ "diffusers",
30
+ "LTX2VideoTransformer3DModel"
31
+ ],
32
+ "vae": [
33
+ "diffusers",
34
+ "AutoencoderKLLTX2Video"
35
+ ],
36
+ "vocoder": [
37
+ "ltx2",
38
+ "LTX2Vocoder"
39
+ ]
40
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "FlowMatchEulerDiscreteScheduler",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "base_image_seq_len": 256,
5
+ "base_shift": 0.5,
6
+ "invert_sigmas": false,
7
+ "max_image_seq_len": 4096,
8
+ "max_shift": 1.15,
9
+ "num_train_timesteps": 1000,
10
+ "shift": 1.0,
11
+ "shift_terminal": null,
12
+ "stochastic_sampling": false,
13
+ "time_shift_type": "exponential",
14
+ "use_beta_sigmas": false,
15
+ "use_dynamic_shifting": false,
16
+ "use_exponential_sigmas": false,
17
+ "use_karras_sigmas": false
18
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma3ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 255999,
6
+ "dtype": "float32",
7
+ "eoi_token_index": 256000,
8
+ "eos_token_id": [
9
+ 1,
10
+ 106
11
+ ],
12
+ "image_token_index": 262144,
13
+ "initializer_range": 0.02,
14
+ "mm_tokens_per_image": 256,
15
+ "model_type": "gemma3",
16
+ "text_config": {
17
+ "_sliding_window_pattern": 2,
18
+ "attention_bias": false,
19
+ "attention_dropout": 0.0,
20
+ "attn_logit_softcapping": null,
21
+ "cache_implementation": "hybrid",
22
+ "dtype": "float32",
23
+ "final_logit_softcapping": null,
24
+ "head_dim": 32,
25
+ "hidden_activation": "gelu_pytorch_tanh",
26
+ "hidden_size": 32,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 128,
29
+ "layer_types": [
30
+ "sliding_attention",
31
+ "full_attention"
32
+ ],
33
+ "max_position_embeddings": 131072,
34
+ "model_type": "gemma3_text",
35
+ "num_attention_heads": 1,
36
+ "num_hidden_layers": 2,
37
+ "num_key_value_heads": 1,
38
+ "query_pre_attn_scalar": 168,
39
+ "rms_norm_eps": 1e-06,
40
+ "rope_local_base_freq": 10000.0,
41
+ "rope_scaling": {
42
+ "factor": 8.0,
43
+ "rope_type": "linear"
44
+ },
45
+ "rope_theta": 1000000.0,
46
+ "sliding_window": 1024,
47
+ "sliding_window_pattern": 2,
48
+ "use_bidirectional_attention": false,
49
+ "use_cache": true,
50
+ "vocab_size": 262208
51
+ },
52
+ "transformers_version": "4.57.1",
53
+ "vision_config": {
54
+ "attention_dropout": 0.0,
55
+ "dtype": "float32",
56
+ "hidden_act": "gelu_pytorch_tanh",
57
+ "hidden_size": 32,
58
+ "image_size": 896,
59
+ "intermediate_size": 128,
60
+ "layer_norm_eps": 1e-06,
61
+ "model_type": "siglip_vision_model",
62
+ "num_attention_heads": 1,
63
+ "num_channels": 3,
64
+ "num_hidden_layers": 2,
65
+ "patch_size": 14,
66
+ "vision_use_head": false
67
+ }
68
+ }
text_encoder/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "pad_token_id": 0,
10
+ "transformers_version": "4.57.1"
11
+ }
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f2b2e38ee7aced4b332a26484feae78e3d809c0cec32b1bb2a50e62962d0614
3
+ size 34409608
tokenizer/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
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.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
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,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LTX2VideoTransformer3DModel",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "activation_fn": "gelu-approximate",
5
+ "attention_bias": true,
6
+ "attention_head_dim": 8,
7
+ "attention_out_bias": true,
8
+ "audio_attention_head_dim": 4,
9
+ "audio_cross_attention_dim": 8,
10
+ "audio_cross_attn_mod": false,
11
+ "audio_gated_attn": false,
12
+ "audio_hop_length": 160,
13
+ "audio_in_channels": 4,
14
+ "audio_num_attention_heads": 2,
15
+ "audio_out_channels": 4,
16
+ "audio_patch_size": 1,
17
+ "audio_patch_size_t": 1,
18
+ "audio_pos_embed_max_pos": 20,
19
+ "audio_sampling_rate": 16000,
20
+ "audio_scale_factor": 4,
21
+ "base_height": 2048,
22
+ "base_width": 2048,
23
+ "caption_channels": 32,
24
+ "causal_offset": 1,
25
+ "cross_attention_dim": 16,
26
+ "cross_attn_mod": false,
27
+ "cross_attn_timestep_scale_multiplier": 1000,
28
+ "gated_attn": false,
29
+ "in_channels": 4,
30
+ "norm_elementwise_affine": false,
31
+ "norm_eps": 1e-06,
32
+ "num_attention_heads": 2,
33
+ "num_layers": 2,
34
+ "out_channels": 4,
35
+ "patch_size": 1,
36
+ "patch_size_t": 1,
37
+ "perturbed_attn": false,
38
+ "pos_embed_max_pos": 20,
39
+ "qk_norm": "rms_norm_across_heads",
40
+ "rope_double_precision": false,
41
+ "rope_theta": 10000.0,
42
+ "rope_type": "split",
43
+ "timestep_scale_multiplier": 1000,
44
+ "use_prompt_embeddings": true,
45
+ "vae_scale_factors": [
46
+ 8,
47
+ 32,
48
+ 32
49
+ ]
50
+ }
transformer/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:856a9ad39935a5e7cc316dddb4a382b2ea2dd3e6295430e710430d6694e6c240
3
+ size 173544
vae/config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKLLTX2Video",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "block_out_channels": [
5
+ 8
6
+ ],
7
+ "decoder_block_out_channels": [
8
+ 8
9
+ ],
10
+ "decoder_causal": false,
11
+ "decoder_inject_noise": [
12
+ false,
13
+ false
14
+ ],
15
+ "decoder_layers_per_block": [
16
+ 1,
17
+ 1
18
+ ],
19
+ "decoder_spatial_padding_mode": "reflect",
20
+ "decoder_spatio_temporal_scaling": [
21
+ true
22
+ ],
23
+ "down_block_types": [
24
+ "LTX2VideoDownBlock3D",
25
+ "LTX2VideoDownBlock3D",
26
+ "LTX2VideoDownBlock3D",
27
+ "LTX2VideoDownBlock3D"
28
+ ],
29
+ "downsample_type": [
30
+ "spatial"
31
+ ],
32
+ "encoder_causal": true,
33
+ "encoder_spatial_padding_mode": "zeros",
34
+ "in_channels": 3,
35
+ "latent_channels": 4,
36
+ "layers_per_block": [
37
+ 1
38
+ ],
39
+ "out_channels": 3,
40
+ "patch_size": 1,
41
+ "patch_size_t": 1,
42
+ "resnet_norm_eps": 1e-06,
43
+ "scaling_factor": 1.0,
44
+ "spatial_compression_ratio": null,
45
+ "spatio_temporal_scaling": [
46
+ true
47
+ ],
48
+ "temporal_compression_ratio": null,
49
+ "timestep_conditioning": false,
50
+ "upsample_factor": [
51
+ 1
52
+ ],
53
+ "upsample_residual": [
54
+ false
55
+ ],
56
+ "upsample_type": [
57
+ "spatiotemporal",
58
+ "spatiotemporal",
59
+ "spatiotemporal"
60
+ ]
61
+ }
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:056241bb4b8a029713f5f71bbe3c5f904cdea378fab80ecbb2a8e7e9035140c8
3
+ size 116464
vocoder/config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "LTX2Vocoder",
3
+ "_diffusers_version": "0.39.0.dev0",
4
+ "act_fn": "leaky_relu",
5
+ "antialias": false,
6
+ "antialias_kernel_size": 12,
7
+ "antialias_ratio": 2,
8
+ "final_act_fn": "tanh",
9
+ "final_bias": true,
10
+ "hidden_channels": 32,
11
+ "in_channels": 16,
12
+ "leaky_relu_negative_slope": 0.1,
13
+ "out_channels": 2,
14
+ "output_sampling_rate": 16000,
15
+ "resnet_dilations": [
16
+ [
17
+ 1,
18
+ 3,
19
+ 5
20
+ ]
21
+ ],
22
+ "resnet_kernel_sizes": [
23
+ 3
24
+ ],
25
+ "upsample_factors": [
26
+ 2,
27
+ 2
28
+ ],
29
+ "upsample_kernel_sizes": [
30
+ 4,
31
+ 4
32
+ ]
33
+ }
vocoder/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be58882aaf71ba653bb607eb160f025c3526a85b589770836a1169b513cfbb94
3
+ size 51616