Image-to-Video
Diffusers
Safetensors
English
LTX2Pipeline
text-to-video
image-text-to-video
visual-reasoning
ltx-2
ltx-2-3
ltx-video
sft
videogym
Instructions to use OpenMOSS-Team/VideoGym-LTX-2.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OpenMOSS-Team/VideoGym-LTX-2.3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/VideoGym-LTX-2.3", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Add files using upload-large-folder tool
Browse files- .gitattributes +5 -0
- README.md +339 -2
- assets/figures/fig5_extrapolation.png +3 -0
- assets/figures/fig6_composition.png +3 -0
- audio_vae/config.json +25 -0
- audio_vae/diffusion_pytorch_model.safetensors +3 -0
- connectors/config.json +25 -0
- connectors/diffusion_pytorch_model-00001-of-00002.safetensors +3 -0
- connectors/diffusion_pytorch_model-00002-of-00002.safetensors +3 -0
- connectors/diffusion_pytorch_model.safetensors +3 -0
- connectors/diffusion_pytorch_model.safetensors.index.json +269 -0
- model_index.json +36 -0
- processor/added_tokens.json +3 -0
- processor/chat_template.jinja +47 -0
- processor/preprocessor_config.json +29 -0
- processor/processor_config.json +4 -0
- processor/special_tokens_map.json +33 -0
- processor/tokenizer.json +3 -0
- processor/tokenizer.model +3 -0
- processor/tokenizer_config.json +0 -0
- scheduler/scheduler_config.json +18 -0
- text_encoder/config.json +114 -0
- text_encoder/generation_config.json +11 -0
- text_encoder/model-00002-of-00011.safetensors +3 -0
- text_encoder/model-00003-of-00011.safetensors +3 -0
- text_encoder/model-00005-of-00011.safetensors +3 -0
- text_encoder/model-00010-of-00011.safetensors +3 -0
- text_encoder/model-00011-of-00011.safetensors +3 -0
- text_encoder/model.safetensors.index.json +0 -0
- tokenizer/added_tokens.json +3 -0
- tokenizer/chat_template.jinja +47 -0
- tokenizer/special_tokens_map.json +33 -0
- tokenizer/tokenizer.json +3 -0
- tokenizer/tokenizer.model +3 -0
- tokenizer/tokenizer_config.json +0 -0
- training_config/config.yaml +77 -0
- training_config/fsdp.yaml +29 -0
- training_config/parameters.json +63 -0
- transformer/config.json +50 -0
- transformer/diffusion_pytorch_model-00001-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model-00002-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model-00003-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model-00004-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model-00005-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model-00006-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model-00007-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model-00008-of-00008.safetensors +3 -0
- transformer/diffusion_pytorch_model.safetensors.index.json +0 -0
- vae/config.json +93 -0
- vocoder/config.json +104 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,8 @@ 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 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
processor/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,5 +1,342 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: other
|
| 3 |
-
license_name: ltx-2-
|
| 4 |
-
license_link: LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: diffusers
|
| 3 |
+
pipeline_tag: image-to-video
|
| 4 |
+
base_model:
|
| 5 |
+
- Lightricks/LTX-2.3
|
| 6 |
+
- diffusers/LTX-2.3-Diffusers
|
| 7 |
+
datasets:
|
| 8 |
+
- OpenMOSS-Team/VideoGym-Train
|
| 9 |
+
- OpenMOSS-Team/VideoGym-Test
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
license: other
|
| 13 |
+
license_name: ltx-video-2-open-source-license
|
| 14 |
+
license_link: https://huggingface.co/Lightricks/LTX-2.3/blob/main/LICENSE
|
| 15 |
+
tags:
|
| 16 |
+
- diffusers
|
| 17 |
+
- safetensors
|
| 18 |
+
- image-to-video
|
| 19 |
+
- text-to-video
|
| 20 |
+
- image-text-to-video
|
| 21 |
+
- visual-reasoning
|
| 22 |
+
- ltx-2
|
| 23 |
+
- ltx-2-3
|
| 24 |
+
- ltx-video
|
| 25 |
+
- sft
|
| 26 |
+
- videogym
|
| 27 |
---
|
| 28 |
+
|
| 29 |
+
<div align="center">
|
| 30 |
+
|
| 31 |
+
# VideoGym-LTX-2.3: Full-DiT Post-Trained 22B Video Model for Visual Reasoning Studies
|
| 32 |
+
|
| 33 |
+
### Official Model Checkpoint of *Can Video Generation Models Really Learn to Reason?*
|
| 34 |
+
|
| 35 |
+
<p align="center">
|
| 36 |
+
<img src="https://img.shields.io/badge/arXiv-Paper_(Coming_Soon)-B31B1B?style=flat-square&logo=arxiv&logoColor=white" alt="arXiv Paper">
|
| 37 |
+
<a href="https://videogym.github.io/VideoGym/"><img src="https://img.shields.io/badge/Project-Website-2E5AA8?style=flat-square" alt="Project Website"></a>
|
| 38 |
+
<a href="https://github.com/VideoGym/VideoGym"><img src="https://img.shields.io/badge/GitHub-VideoGym-181717?style=flat-square&logo=github&logoColor=white" alt="GitHub Code"></a>
|
| 39 |
+
<br>
|
| 40 |
+
<a href="https://huggingface.co/datasets/OpenMOSS-Team/VideoGym-Train"><img src="https://img.shields.io/badge/%F0%9F%A4%97_Dataset-VideoGym--Train-D99B26?style=flat-square" alt="VideoGym-Train"></a>
|
| 41 |
+
<a href="https://huggingface.co/datasets/OpenMOSS-Team/VideoGym-Test"><img src="https://img.shields.io/badge/%F0%9F%A4%97_Benchmark-VideoGym--Test-D99B26?style=flat-square" alt="VideoGym-Test"></a>
|
| 42 |
+
<a href="https://huggingface.co/OpenMOSS-Team/VideoGym-LTX-2.3"><img src="https://img.shields.io/badge/%F0%9F%A4%97_Model-VideoGym--LTX--2.3-D99B26?style=flat-square" alt="VideoGym-LTX-2.3"></a>
|
| 43 |
+
<a href="https://huggingface.co/Lightricks/LTX-2.3/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-LTX_Video_2-4B5563?style=flat-square" alt="License: LTX Video 2"></a>
|
| 44 |
+
</p>
|
| 45 |
+
|
| 46 |
+
[**Overview**](#overview) · [**Training Recipe**](#recipe) · [**Evaluation & Findings**](#results) · [**Repository Structure**](#structure) · [**Quick Start**](#quick-start) · [**Citation**](#citation)
|
| 47 |
+
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
<p>
|
| 53 |
+
<img src="assets/figures/fig1_generalization.png" alt="VideoGym seven-level generalization framework and pass-rate curves across Single-Step Group, Multi-Step Group, Overall, and Base Models" width="100%">
|
| 54 |
+
<sub><b>Figure 1. Seven-Level Generalization Profile of VideoGym-LTX-2.3.</b> Starting from 0.00% pass@1 on base LTX-2.3, 10-epoch full-DiT post-training on 245,884 VideoGym-Train videos yields strong gains <i>within familiar task patterns</i> (56.34% In-Domain, 70.45% in the Single-Step Group) yet drops near 0% <i>beyond familiar task patterns</i> (0.59% Composition, 0.61% Cross-Task).</sub>
|
| 55 |
+
</p>
|
| 56 |
+
|
| 57 |
+
<a id="overview"></a>
|
| 58 |
+
|
| 59 |
+
## 🔎 Overview
|
| 60 |
+
|
| 61 |
+
**VideoGym-LTX-2.3** is the official **Epoch 10** full-parameter Diffusion Transformer (DiT) SFT model from [**VideoGym**](https://github.com/VideoGym/VideoGym), trained on all **245,884** procedural visual reasoning videos across **246 tasks** in [**VideoGym-Train**](https://huggingface.co/datasets/OpenMOSS-Team/VideoGym-Train) starting from [`Lightricks/LTX-2.3`](https://huggingface.co/Lightricks/LTX-2.3) ([`diffusers/LTX-2.3-Diffusers`](https://huggingface.co/diffusers/LTX-2.3-Diffusers)).
|
| 62 |
+
|
| 63 |
+
This repository releases the final **Epoch 10** model in a self-contained **Hugging Face `diffusers` pipeline layout** (`LTX2Pipeline` / `LTX2ImageToVideoPipeline`), directly compatible with both `VideoGym`'s native `ltx-core` evaluation backend (`python -m inference.backends.ltx`) and `diffusers`.
|
| 64 |
+
|
| 65 |
+
<a id="recipe"></a>
|
| 66 |
+
|
| 67 |
+
## ⚙️ Architecture & Post-Training Recipe
|
| 68 |
+
|
| 69 |
+
`VideoGym-LTX-2.3` updates all 48 joint audio-video DiT blocks (`LTX2VideoTransformer3DModel`, ~22B backbone) in `bfloat16` while keeping the Gemma 3 text encoder, multimodal text connectors, Video VAE, Audio VAE, and vocoder frozen. Because `VideoGym` tasks are silent visual reasoning trajectories, first-frame conditioning is applied with probability `1.0` and audio reconstruction loss is disabled.
|
| 70 |
+
|
| 71 |
+
<div style="overflow-x: auto;">
|
| 72 |
+
|
| 73 |
+
| Hyperparameter | Value |
|
| 74 |
+
| :--- | :--- |
|
| 75 |
+
| **Base Backbone** | `Lightricks/LTX-2.3` (`diffusers/LTX-2.3-Diffusers`, 48-layer DiT) |
|
| 76 |
+
| **Trainable Module** | Full DiT (`transformer`, 4,186 tensors, ~38.0 GB in `bfloat16`); encoders & VAEs frozen |
|
| 77 |
+
| **Training Dataset** | [`OpenMOSS-Team/VideoGym-Train`](https://huggingface.co/datasets/OpenMOSS-Team/VideoGym-Train) (245,884 videos, 246 tasks, 11 families) |
|
| 78 |
+
| **Published Checkpoint** | **Epoch 10** (`76,840` optimizer steps; `7,684` steps/epoch) |
|
| 79 |
+
| **Hardware & Sharding** | 32 × NVIDIA H200 GPUs (4 nodes × 8 GPUs), PyTorch FSDP (`FULL_SHARD`, `bf16`) |
|
| 80 |
+
| **Batch & Optimizer** | Global batch size `32` (`1` per GPU), AdamW, grad clip norm `1.0`, seed `42` |
|
| 81 |
+
| **Learning Rate** | `1.0e-5` → `1.0e-6` (`linear` scheduler) |
|
| 82 |
+
| **Spatial & Temporal Grid** | `768×512` native canvas (`512×512` centered puzzle padded with black borders) at `24 FPS` (delivered at `512×512`, `16 FPS`) |
|
| 83 |
+
| **Temporal Buckets** | 28 `8k+1` native frame buckets: `25, 33, 41, ..., 233, 241` frames |
|
| 84 |
+
| **Inference Guidance** | 30 Euler steps, CFG `3.0`, STG `1.0` (block `28`), guidance rescale `0.7`, empty negative prompt |
|
| 85 |
+
|
| 86 |
+
</div>
|
| 87 |
+
|
| 88 |
+
Exact training configurations are archived in [`training_config/`](training_config/) (`parameters.json`, `config.yaml`, and `fsdp.yaml`).
|
| 89 |
+
|
| 90 |
+
<a id="results"></a>
|
| 91 |
+
|
| 92 |
+
## 📊 Evaluation Results & Key Findings
|
| 93 |
+
|
| 94 |
+
Evaluated at pass@1 without external LLM/VLM prompt rewriting under deterministic frame-by-frame **full-video verification** on [**VideoGym-Test**](https://huggingface.co/datasets/OpenMOSS-Team/VideoGym-Test) (3,220 questions across 6 levels) and `VBVR-Pro Bench` (500 questions):
|
| 95 |
+
|
| 96 |
+
### 1. Seven-Level Generalization Summary
|
| 97 |
+
|
| 98 |
+
<div style="overflow-x: auto;">
|
| 99 |
+
<table>
|
| 100 |
+
<thead>
|
| 101 |
+
<tr>
|
| 102 |
+
<th align="left">Generalization Level</th>
|
| 103 |
+
<th align="left">Duration</th>
|
| 104 |
+
<th align="right">Questions</th>
|
| 105 |
+
<th align="right">LTX‑2.3 (Base)</th>
|
| 106 |
+
<th align="right">VideoGym‑LTX‑2.3</th>
|
| 107 |
+
<th align="right">Single‑Step</th>
|
| 108 |
+
<th align="right">Multi‑Step</th>
|
| 109 |
+
</tr>
|
| 110 |
+
</thead>
|
| 111 |
+
<tbody>
|
| 112 |
+
<tr>
|
| 113 |
+
<td colspan="7" align="left"><b>Within Familiar Task Patterns</b></td>
|
| 114 |
+
</tr>
|
| 115 |
+
<tr>
|
| 116 |
+
<td>In‑Domain</td>
|
| 117 |
+
<td>Fixed (81f)</td>
|
| 118 |
+
<td align="right">1,230</td>
|
| 119 |
+
<td align="right">0.00%</td>
|
| 120 |
+
<td align="right">32.20% (396/1,230)</td>
|
| 121 |
+
<td align="right">47.58%</td>
|
| 122 |
+
<td align="right">14.39%</td>
|
| 123 |
+
</tr>
|
| 124 |
+
<tr>
|
| 125 |
+
<td><b>In‑Domain</b></td>
|
| 126 |
+
<td><b>Ref. Length</b></td>
|
| 127 |
+
<td align="right">1,230</td>
|
| 128 |
+
<td align="right">0.00%</td>
|
| 129 |
+
<td align="right"><b>56.34% (693/1,230)</b></td>
|
| 130 |
+
<td align="right"><b>70.45%</b></td>
|
| 131 |
+
<td align="right"><b>40.00%</b></td>
|
| 132 |
+
</tr>
|
| 133 |
+
<tr>
|
| 134 |
+
<td>Text Prompt Paraphrase</td>
|
| 135 |
+
<td>Ref. Length</td>
|
| 136 |
+
<td align="right">1,230</td>
|
| 137 |
+
<td align="right">0.00%</td>
|
| 138 |
+
<td align="right">52.60% (647/1,230)</td>
|
| 139 |
+
<td align="right">65.15%</td>
|
| 140 |
+
<td align="right">38.07%</td>
|
| 141 |
+
</tr>
|
| 142 |
+
<tr>
|
| 143 |
+
<td>Vision Prompt Paraphrase</td>
|
| 144 |
+
<td>Ref. Length</td>
|
| 145 |
+
<td align="right">165</td>
|
| 146 |
+
<td align="right">0.00%</td>
|
| 147 |
+
<td align="right">28.48% (47/165)</td>
|
| 148 |
+
<td align="right">49.47%</td>
|
| 149 |
+
<td align="right"><b>0.00%</b></td>
|
| 150 |
+
</tr>
|
| 151 |
+
<tr>
|
| 152 |
+
<td>Extrapolation</td>
|
| 153 |
+
<td>Ref. Length</td>
|
| 154 |
+
<td align="right">260</td>
|
| 155 |
+
<td align="right">0.00%</td>
|
| 156 |
+
<td align="right">25.77% (67/260)</td>
|
| 157 |
+
<td align="right">52.00%</td>
|
| 158 |
+
<td align="right"><b>1.48%</b></td>
|
| 159 |
+
</tr>
|
| 160 |
+
<tr>
|
| 161 |
+
<td colspan="7" align="left"><b>Beyond Familiar Task Patterns</b></td>
|
| 162 |
+
</tr>
|
| 163 |
+
<tr>
|
| 164 |
+
<td><b>Composition</b></td>
|
| 165 |
+
<td>Ref. Length</td>
|
| 166 |
+
<td align="right">170</td>
|
| 167 |
+
<td align="right">0.00%</td>
|
| 168 |
+
<td align="right"><b>0.59% (1/170)</b></td>
|
| 169 |
+
<td align="right"><b>0.00%</b></td>
|
| 170 |
+
<td align="right"><b>1.00%</b></td>
|
| 171 |
+
</tr>
|
| 172 |
+
<tr>
|
| 173 |
+
<td><b>Cross‑Task</b></td>
|
| 174 |
+
<td>Ref. Length</td>
|
| 175 |
+
<td align="right">165</td>
|
| 176 |
+
<td align="right">0.00%</td>
|
| 177 |
+
<td align="right"><b>0.61% (1/165)</b></td>
|
| 178 |
+
<td align="right"><b>0.87%</b></td>
|
| 179 |
+
<td align="right"><b>0.00%</b></td>
|
| 180 |
+
</tr>
|
| 181 |
+
<tr>
|
| 182 |
+
<td><b>Cross‑Benchmark</b> (VBVR‑Pro Bench)</td>
|
| 183 |
+
<td>Ref. Length</td>
|
| 184 |
+
<td align="right">500</td>
|
| 185 |
+
<td align="right">0.60%</td>
|
| 186 |
+
<td align="right"><b>4.60% (23/500)</b></td>
|
| 187 |
+
<td align="right">6.87%</td>
|
| 188 |
+
<td align="right"><b>0.00%</b></td>
|
| 189 |
+
</tr>
|
| 190 |
+
</tbody>
|
| 191 |
+
</table>
|
| 192 |
+
</div>
|
| 193 |
+
|
| 194 |
+
### 2. Core Empirical Takeaways
|
| 195 |
+
|
| 196 |
+
- **Pace fitting under preset frame budgets (`Fixed Length` vs. `Reference Length`):** Switching In-Domain evaluation from `Reference Length` to `Fixed Length` (`81` frames, 5 s) drops overall accuracy by `24.14` percentage points (`56.34%` → `32.20%`), inducing illegal multi-object shortcuts when 81 frames is shorter than the natural trajectory and post-solution over-painting when 81 frames is longer.
|
| 197 |
+
- **Text robustness vs. visual symbol fragility (`Prompt Paraphrase`):** Synonymous text rewrites retain `90.76%` (`629/693`) of solved In-Domain questions via frozen Gemma 3 representations, whereas redrawing visual symbols (`Vision Prompt Paraphrase`) collapses to **`0.00%` (`0/70`)** across all 14 Multi-Step Group tasks.
|
| 198 |
+
- **Scale & boundary limits (`Extrapolation`):** On `5/5` mastered source tasks, `Scale Extrapolation` retains `80.00%` (`24/30`) in the Single-Step Group yet collapses to **`0.00%` in the Multi-Step Group** (`0/100` overall; `0/80` at 20 questions/task).
|
| 199 |
+
- **Collapse beyond single familiar patterns (`Composition` & `Cross-Task`):** Even on Composition tasks where every constituent In-Domain task scores `5/5` (`60.8%` expected under independent rule execution), accuracy is **`1.67%` (`1/60`; `0/50` Single-Step, `1/10` Multi-Step)**, matching the `0.00%` Composition and Cross-Task collapse observed in external `VBVR-Pro A14B` (SFT) and `VBVR-Pro 5B RLVR` (SFT + RLVR) models.
|
| 200 |
+
|
| 201 |
+
<details>
|
| 202 |
+
<summary><b>View Figures 2–5: Visual analyses across Duration Sensitivity, Prompt Paraphrase, Extrapolation, and Composition</b></summary>
|
| 203 |
+
<br>
|
| 204 |
+
<p>
|
| 205 |
+
<img src="assets/figures/fig3_duration.png" alt="Epoch scaling and Fixed Length vs Reference Length duration sensitivity" width="100%">
|
| 206 |
+
<sub><b>Figure 2. Epoch Scaling and Duration Sensitivity.</b> Across Epochs 2–10, the Reference-vs-Fixed-Length gap widens to +24.1 pp while Composition and Cross-Task remain ≤ 0.61%.</sub>
|
| 207 |
+
</p>
|
| 208 |
+
<p>
|
| 209 |
+
<img src="assets/figures/fig4_paraphrase.png" alt="Text Prompt Paraphrase vs Vision Prompt Paraphrase rollouts" width="100%">
|
| 210 |
+
<sub><b>Figure 3. Prompt Paraphrase.</b> Text rewrites preserve Multi-Step maze solving, whereas redrawn visual symbols trigger wall/gap violations across Multi-Step tasks.</sub>
|
| 211 |
+
</p>
|
| 212 |
+
<p>
|
| 213 |
+
<img src="assets/figures/fig5_extrapolation.png" alt="Scale and Mechanism Extrapolation rollouts" width="100%">
|
| 214 |
+
<sub><b>Figure 4. Extrapolation.</b> Single-Step Scale transfers cleanly, whereas Single-Step Mechanism replays training growth direction and Multi-Step Scale merges/drops objects.</sub>
|
| 215 |
+
</p>
|
| 216 |
+
<p>
|
| 217 |
+
<img src="assets/figures/fig6_composition.png" alt="Serial Multi-Step and Joint Single-Step Composition rollouts" width="100%">
|
| 218 |
+
<sub><b>Figure 5. Rule Composition Collapse.</b> Despite 5/5 mastery on each constituent In-Domain task, composed rules drop one rule or corrupt state transitions.</sub>
|
| 219 |
+
</p>
|
| 220 |
+
</details>
|
| 221 |
+
|
| 222 |
+
<a id="structure"></a>
|
| 223 |
+
|
| 224 |
+
## 🗂️ Repository Structure
|
| 225 |
+
|
| 226 |
+
Only the final **Epoch 10** checkpoint is included in this release, formatted as a complete `diffusers` pipeline directory:
|
| 227 |
+
|
| 228 |
+
```text
|
| 229 |
+
VideoGym-LTX-2.3/
|
| 230 |
+
├── README.md Model card and usage guide
|
| 231 |
+
├── model_index.json Diffusers LTX2Pipeline component manifest
|
| 232 |
+
├── transformer/ Epoch 10 full-DiT weights (8 bfloat16 safetensors shards + config.json)
|
| 233 |
+
├── text_encoder/ Frozen Gemma 3 text encoder (11 shards)
|
| 234 |
+
├── connectors/ Frozen LTX2TextConnectors (2 shards)
|
| 235 |
+
├── vae/ Frozen AutoencoderKLLTX2Video
|
| 236 |
+
├── audio_vae/ Frozen AutoencoderKLLTX2Audio
|
| 237 |
+
├── vocoder/ Frozen LTX2VocoderWithBWE
|
| 238 |
+
├── tokenizer/ GemmaTokenizerFast
|
| 239 |
+
├── processor/ Multimodal processor configuration
|
| 240 |
+
├── scheduler/ FlowMatchEulerDiscreteScheduler
|
| 241 |
+
├── training_config/ Official training hyperparameters (parameters.json, config.yaml, fsdp.yaml)
|
| 242 |
+
└── assets/figures/ Evaluation and qualitative figures
|
| 243 |
+
```
|
| 244 |
+
|
| 245 |
+
<a id="quick-start"></a>
|
| 246 |
+
|
| 247 |
+
## 🚀 Quick Start & Inference
|
| 248 |
+
|
| 249 |
+
### 1. Official Benchmark Rollouts (`VideoGym` Native `ltx-core` Backend)
|
| 250 |
+
|
| 251 |
+
To reproduce exact paper rollouts across [`OpenMOSS-Team/VideoGym-Test`](https://huggingface.co/datasets/OpenMOSS-Team/VideoGym-Test) or `VBVR-Pro Bench`, install [`VideoGym`](https://github.com/VideoGym/VideoGym) (`pip install -e '.[training]'` plus Lightricks' `ltx-core`), download the model, and run `inference.backends.ltx`:
|
| 252 |
+
|
| 253 |
+
```bash
|
| 254 |
+
# 1. Download complete model repository (~96 GB including frozen Gemma 3 & VAEs)
|
| 255 |
+
hf download OpenMOSS-Team/VideoGym-LTX-2.3 --local-dir models/VideoGym-LTX-2.3
|
| 256 |
+
|
| 257 |
+
# 2. Download VideoGym-Test CLI benchmark packages
|
| 258 |
+
hf download OpenMOSS-Team/VideoGym-Test \
|
| 259 |
+
--repo-type dataset --exclude "data/*" --local-dir datasets/videogym-test
|
| 260 |
+
|
| 261 |
+
# 3. Generate pass@1 Reference Length rollouts (or replace --reference-timing with --frames 81 for Fixed Length)
|
| 262 |
+
python -m inference.backends.ltx \
|
| 263 |
+
--inputs datasets/videogym-test/in-domain/model_inputs.jsonl \
|
| 264 |
+
--reference-timing datasets/videogym-test/in-domain/reference-timing.jsonl \
|
| 265 |
+
--model-path models/VideoGym-LTX-2.3 \
|
| 266 |
+
--output-root outputs/rollouts/in-domain/reference-length \
|
| 267 |
+
--shards 8 --shard-index 0 --device cuda:0
|
| 268 |
+
```
|
| 269 |
+
|
| 270 |
+
> **Tip (36 GB DiT-only download):** If you already have [`diffusers/LTX-2.3-Diffusers`](https://huggingface.co/diffusers/LTX-2.3-Diffusers) cached locally, you can download only the fine-tuned Epoch 10 `transformer/` directory (`hf download OpenMOSS-Team/VideoGym-LTX-2.3 --include "transformer/*" --local-dir models/VideoGym-LTX-2.3-DiT`) and pass `--model-path <path-to-LTX-2.3-Diffusers> --checkpoint models/VideoGym-LTX-2.3-DiT/transformer`.
|
| 271 |
+
|
| 272 |
+
### 2. Standalone Python Generation with `diffusers`
|
| 273 |
+
|
| 274 |
+
`VideoGym-LTX-2.3` encodes `512×512` puzzle images centered on a `768×512` black canvas (`128` px left/right padding) at `24 FPS` (`8k + 1` native frames, e.g., `129` frames at `24 FPS` for an `81`-frame `16 FPS` rollout) with empty negative prompt and prompt enhancement disabled:
|
| 275 |
+
|
| 276 |
+
```python
|
| 277 |
+
import numpy as np
|
| 278 |
+
import torch
|
| 279 |
+
from PIL import Image
|
| 280 |
+
from diffusers import LTX2ImageToVideoPipeline
|
| 281 |
+
from diffusers.pipelines.ltx2.export_utils import encode_video
|
| 282 |
+
|
| 283 |
+
pipe = LTX2ImageToVideoPipeline.from_pretrained(
|
| 284 |
+
"OpenMOSS-Team/VideoGym-LTX-2.3",
|
| 285 |
+
torch_dtype=torch.bfloat16,
|
| 286 |
+
).to("cuda")
|
| 287 |
+
|
| 288 |
+
# Pad a 512x512 VideoGym puzzle image onto the centered 768x512 native canvas
|
| 289 |
+
puzzle = Image.open("input.png").convert("RGB").resize((512, 512))
|
| 290 |
+
canvas = np.zeros((512, 768, 3), dtype=np.uint8)
|
| 291 |
+
canvas[:, 128:640] = np.asarray(puzzle)
|
| 292 |
+
|
| 293 |
+
video, _ = pipe(
|
| 294 |
+
image=Image.fromarray(canvas),
|
| 295 |
+
prompt=open("prompt.txt").read().strip(),
|
| 296 |
+
negative_prompt="",
|
| 297 |
+
width=768,
|
| 298 |
+
height=512,
|
| 299 |
+
num_frames=129, # 8k + 1 native frames at 24 FPS (maps to 81 frames at 16 FPS)
|
| 300 |
+
frame_rate=24.0,
|
| 301 |
+
num_inference_steps=30,
|
| 302 |
+
guidance_scale=3.0,
|
| 303 |
+
stg_scale=1.0,
|
| 304 |
+
modality_scale=1.0,
|
| 305 |
+
guidance_rescale=0.7,
|
| 306 |
+
spatio_temporal_guidance_blocks=[28],
|
| 307 |
+
enable_prompt_enhancement=False,
|
| 308 |
+
max_sequence_length=1024,
|
| 309 |
+
generator=torch.Generator(device="cuda").manual_seed(10),
|
| 310 |
+
output_type="np",
|
| 311 |
+
return_dict=False,
|
| 312 |
+
)
|
| 313 |
+
|
| 314 |
+
# Crop back to the central 512x512 puzzle region and subsample to 16 FPS
|
| 315 |
+
cropped = video[0][:, :, 128:640, :]
|
| 316 |
+
indices = np.minimum(80, np.floor(np.arange(129) * 16 / 24 + 0.5).astype(int))
|
| 317 |
+
delivery_indices = [int(np.flatnonzero(indices == i)[0]) for i in range(81)]
|
| 318 |
+
encode_video(cropped[delivery_indices], fps=16.0, output_path="prediction.mp4")
|
| 319 |
+
```
|
| 320 |
+
|
| 321 |
+
## ⚖️ Intended Use & Limitations
|
| 322 |
+
|
| 323 |
+
`VideoGym-LTX-2.3` is released as a scientific research artifact for studying post-training dynamics, full-video verification, and generalization boundaries in video generation models. As demonstrated in our paper, while `VideoGym-LTX-2.3` solves many familiar-pattern visual tasks accurately, it relies on learned trajectory templates rather than composable rule reasoning and should not be deployed as a general-purpose planner or safety-critical solver.
|
| 324 |
+
|
| 325 |
+
<a id="citation"></a>
|
| 326 |
+
|
| 327 |
+
## 📝 Citation
|
| 328 |
+
|
| 329 |
+
If you use **VideoGym-LTX-2.3** in your research, please cite our paper:
|
| 330 |
+
|
| 331 |
+
```bibtex
|
| 332 |
+
@article{chen2026videogym,
|
| 333 |
+
title={Can Video Generation Models Really Learn to Reason?},
|
| 334 |
+
author={Chen, Hongji and Tong, Jingqi and Li, Hangcheng and Li, Mingzhe and Mou, Yurong and Yang, Yongzhuo and Zhang, Haowei and Wang, Zile and Xie, Zhide and Qiu, Shenling and Chen, Ke and Hu, Xiaomeng and Li, Chenglin and Dou, Shihan and Deng, Hokin and Zheng, Yining and Ho, Tsung-Yi and Zhao, Jun and Chen, Xinchi},
|
| 335 |
+
journal={arXiv preprint},
|
| 336 |
+
year={2026}
|
| 337 |
+
}
|
| 338 |
+
```
|
| 339 |
+
|
| 340 |
+
## 📄 License
|
| 341 |
+
|
| 342 |
+
Model weights inherit the upstream [LTX Video 2 Open Source License](https://huggingface.co/Lightricks/LTX-2.3/blob/main/LICENSE) from `Lightricks/LTX-2.3`. Original training, inference, and evaluation code in [`VideoGym`](https://github.com/VideoGym/VideoGym) is licensed under [Apache-2.0](https://github.com/VideoGym/VideoGym/blob/main/LICENSE).
|
assets/figures/fig5_extrapolation.png
ADDED
|
Git LFS Details
|
assets/figures/fig6_composition.png
ADDED
|
Git LFS Details
|
audio_vae/config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "AutoencoderKLLTX2Audio",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"attn_resolutions": null,
|
| 5 |
+
"base_channels": 128,
|
| 6 |
+
"causality_axis": "height",
|
| 7 |
+
"ch_mult": [
|
| 8 |
+
1,
|
| 9 |
+
2,
|
| 10 |
+
4
|
| 11 |
+
],
|
| 12 |
+
"double_z": true,
|
| 13 |
+
"dropout": 0.0,
|
| 14 |
+
"in_channels": 2,
|
| 15 |
+
"is_causal": true,
|
| 16 |
+
"latent_channels": 8,
|
| 17 |
+
"mel_bins": 64,
|
| 18 |
+
"mel_hop_length": 160,
|
| 19 |
+
"mid_block_add_attention": false,
|
| 20 |
+
"norm_type": "pixel",
|
| 21 |
+
"num_res_blocks": 2,
|
| 22 |
+
"output_channels": 2,
|
| 23 |
+
"resolution": 256,
|
| 24 |
+
"sample_rate": 16000
|
| 25 |
+
}
|
audio_vae/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45dcb1c3cffc8c8b7710a04dd19500e481daff31f5ea8e8529f2cf697c439d12
|
| 3 |
+
size 106507972
|
connectors/config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "LTX2TextConnectors",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"audio_connector_attention_head_dim": 64,
|
| 5 |
+
"audio_connector_num_attention_heads": 32,
|
| 6 |
+
"audio_connector_num_layers": 8,
|
| 7 |
+
"audio_connector_num_learnable_registers": 128,
|
| 8 |
+
"audio_gated_attn": true,
|
| 9 |
+
"audio_hidden_dim": 2048,
|
| 10 |
+
"caption_channels": 3840,
|
| 11 |
+
"causal_temporal_positioning": false,
|
| 12 |
+
"connector_rope_base_seq_len": 4096,
|
| 13 |
+
"per_modality_projections": true,
|
| 14 |
+
"proj_bias": true,
|
| 15 |
+
"rope_double_precision": true,
|
| 16 |
+
"rope_theta": 10000.0,
|
| 17 |
+
"rope_type": "split",
|
| 18 |
+
"text_proj_in_factor": 49,
|
| 19 |
+
"video_connector_attention_head_dim": 128,
|
| 20 |
+
"video_connector_num_attention_heads": 32,
|
| 21 |
+
"video_connector_num_layers": 8,
|
| 22 |
+
"video_connector_num_learnable_registers": 128,
|
| 23 |
+
"video_gated_attn": true,
|
| 24 |
+
"video_hidden_dim": 4096
|
| 25 |
+
}
|
connectors/diffusion_pytorch_model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b767a411e336d692306d7d34fa85627db1d17809a4690f45dd96a4b3807d248c
|
| 3 |
+
size 4999998520
|
connectors/diffusion_pytorch_model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffe33521b2bbd12604abe2d63b5cf02cf55f2fdf10226ff5aae00e437678ebc8
|
| 3 |
+
size 1344490576
|
connectors/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2bf5ca48db13cea180ecff2d8e8e1224fcea8cc04d41721e704c6034f914722
|
| 3 |
+
size 6344489120
|
connectors/diffusion_pytorch_model.safetensors.index.json
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 6344455168
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"audio_connector.learnable_registers": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 7 |
+
"audio_connector.transformer_blocks.0.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 8 |
+
"audio_connector.transformer_blocks.0.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 9 |
+
"audio_connector.transformer_blocks.0.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 10 |
+
"audio_connector.transformer_blocks.0.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 11 |
+
"audio_connector.transformer_blocks.0.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 12 |
+
"audio_connector.transformer_blocks.0.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 13 |
+
"audio_connector.transformer_blocks.0.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 14 |
+
"audio_connector.transformer_blocks.0.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 15 |
+
"audio_connector.transformer_blocks.0.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 16 |
+
"audio_connector.transformer_blocks.0.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 17 |
+
"audio_connector.transformer_blocks.0.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 18 |
+
"audio_connector.transformer_blocks.0.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 19 |
+
"audio_connector.transformer_blocks.0.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 20 |
+
"audio_connector.transformer_blocks.0.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 21 |
+
"audio_connector.transformer_blocks.0.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 22 |
+
"audio_connector.transformer_blocks.0.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 23 |
+
"audio_connector.transformer_blocks.1.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 24 |
+
"audio_connector.transformer_blocks.1.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 25 |
+
"audio_connector.transformer_blocks.1.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 26 |
+
"audio_connector.transformer_blocks.1.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 27 |
+
"audio_connector.transformer_blocks.1.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 28 |
+
"audio_connector.transformer_blocks.1.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 29 |
+
"audio_connector.transformer_blocks.1.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 30 |
+
"audio_connector.transformer_blocks.1.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 31 |
+
"audio_connector.transformer_blocks.1.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 32 |
+
"audio_connector.transformer_blocks.1.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 33 |
+
"audio_connector.transformer_blocks.1.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 34 |
+
"audio_connector.transformer_blocks.1.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 35 |
+
"audio_connector.transformer_blocks.1.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 36 |
+
"audio_connector.transformer_blocks.1.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 37 |
+
"audio_connector.transformer_blocks.1.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 38 |
+
"audio_connector.transformer_blocks.1.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 39 |
+
"audio_connector.transformer_blocks.2.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 40 |
+
"audio_connector.transformer_blocks.2.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 41 |
+
"audio_connector.transformer_blocks.2.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 42 |
+
"audio_connector.transformer_blocks.2.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 43 |
+
"audio_connector.transformer_blocks.2.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 44 |
+
"audio_connector.transformer_blocks.2.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 45 |
+
"audio_connector.transformer_blocks.2.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 46 |
+
"audio_connector.transformer_blocks.2.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 47 |
+
"audio_connector.transformer_blocks.2.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 48 |
+
"audio_connector.transformer_blocks.2.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 49 |
+
"audio_connector.transformer_blocks.2.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 50 |
+
"audio_connector.transformer_blocks.2.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 51 |
+
"audio_connector.transformer_blocks.2.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 52 |
+
"audio_connector.transformer_blocks.2.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 53 |
+
"audio_connector.transformer_blocks.2.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 54 |
+
"audio_connector.transformer_blocks.2.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 55 |
+
"audio_connector.transformer_blocks.3.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 56 |
+
"audio_connector.transformer_blocks.3.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 57 |
+
"audio_connector.transformer_blocks.3.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 58 |
+
"audio_connector.transformer_blocks.3.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 59 |
+
"audio_connector.transformer_blocks.3.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 60 |
+
"audio_connector.transformer_blocks.3.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 61 |
+
"audio_connector.transformer_blocks.3.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 62 |
+
"audio_connector.transformer_blocks.3.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 63 |
+
"audio_connector.transformer_blocks.3.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 64 |
+
"audio_connector.transformer_blocks.3.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 65 |
+
"audio_connector.transformer_blocks.3.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 66 |
+
"audio_connector.transformer_blocks.3.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 67 |
+
"audio_connector.transformer_blocks.3.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 68 |
+
"audio_connector.transformer_blocks.3.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 69 |
+
"audio_connector.transformer_blocks.3.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 70 |
+
"audio_connector.transformer_blocks.3.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 71 |
+
"audio_connector.transformer_blocks.4.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 72 |
+
"audio_connector.transformer_blocks.4.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 73 |
+
"audio_connector.transformer_blocks.4.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 74 |
+
"audio_connector.transformer_blocks.4.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 75 |
+
"audio_connector.transformer_blocks.4.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 76 |
+
"audio_connector.transformer_blocks.4.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 77 |
+
"audio_connector.transformer_blocks.4.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 78 |
+
"audio_connector.transformer_blocks.4.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 79 |
+
"audio_connector.transformer_blocks.4.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 80 |
+
"audio_connector.transformer_blocks.4.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 81 |
+
"audio_connector.transformer_blocks.4.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 82 |
+
"audio_connector.transformer_blocks.4.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 83 |
+
"audio_connector.transformer_blocks.4.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 84 |
+
"audio_connector.transformer_blocks.4.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 85 |
+
"audio_connector.transformer_blocks.4.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 86 |
+
"audio_connector.transformer_blocks.4.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 87 |
+
"audio_connector.transformer_blocks.5.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 88 |
+
"audio_connector.transformer_blocks.5.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 89 |
+
"audio_connector.transformer_blocks.5.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 90 |
+
"audio_connector.transformer_blocks.5.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 91 |
+
"audio_connector.transformer_blocks.5.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 92 |
+
"audio_connector.transformer_blocks.5.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 93 |
+
"audio_connector.transformer_blocks.5.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 94 |
+
"audio_connector.transformer_blocks.5.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 95 |
+
"audio_connector.transformer_blocks.5.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 96 |
+
"audio_connector.transformer_blocks.5.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 97 |
+
"audio_connector.transformer_blocks.5.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 98 |
+
"audio_connector.transformer_blocks.5.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 99 |
+
"audio_connector.transformer_blocks.5.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 100 |
+
"audio_connector.transformer_blocks.5.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 101 |
+
"audio_connector.transformer_blocks.5.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 102 |
+
"audio_connector.transformer_blocks.5.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 103 |
+
"audio_connector.transformer_blocks.6.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 104 |
+
"audio_connector.transformer_blocks.6.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 105 |
+
"audio_connector.transformer_blocks.6.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 106 |
+
"audio_connector.transformer_blocks.6.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 107 |
+
"audio_connector.transformer_blocks.6.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 108 |
+
"audio_connector.transformer_blocks.6.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 109 |
+
"audio_connector.transformer_blocks.6.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 110 |
+
"audio_connector.transformer_blocks.6.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 111 |
+
"audio_connector.transformer_blocks.6.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 112 |
+
"audio_connector.transformer_blocks.6.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 113 |
+
"audio_connector.transformer_blocks.6.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 114 |
+
"audio_connector.transformer_blocks.6.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 115 |
+
"audio_connector.transformer_blocks.6.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 116 |
+
"audio_connector.transformer_blocks.6.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 117 |
+
"audio_connector.transformer_blocks.6.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 118 |
+
"audio_connector.transformer_blocks.6.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 119 |
+
"audio_connector.transformer_blocks.7.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 120 |
+
"audio_connector.transformer_blocks.7.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 121 |
+
"audio_connector.transformer_blocks.7.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 122 |
+
"audio_connector.transformer_blocks.7.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 123 |
+
"audio_connector.transformer_blocks.7.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 124 |
+
"audio_connector.transformer_blocks.7.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 125 |
+
"audio_connector.transformer_blocks.7.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 126 |
+
"audio_connector.transformer_blocks.7.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 127 |
+
"audio_connector.transformer_blocks.7.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 128 |
+
"audio_connector.transformer_blocks.7.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 129 |
+
"audio_connector.transformer_blocks.7.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 130 |
+
"audio_connector.transformer_blocks.7.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 131 |
+
"audio_connector.transformer_blocks.7.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 132 |
+
"audio_connector.transformer_blocks.7.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 133 |
+
"audio_connector.transformer_blocks.7.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 134 |
+
"audio_connector.transformer_blocks.7.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 135 |
+
"audio_text_proj_in.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 136 |
+
"audio_text_proj_in.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 137 |
+
"video_connector.learnable_registers": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 138 |
+
"video_connector.transformer_blocks.0.attn1.norm_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 139 |
+
"video_connector.transformer_blocks.0.attn1.norm_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 140 |
+
"video_connector.transformer_blocks.0.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 141 |
+
"video_connector.transformer_blocks.0.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 142 |
+
"video_connector.transformer_blocks.0.attn1.to_k.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 143 |
+
"video_connector.transformer_blocks.0.attn1.to_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 144 |
+
"video_connector.transformer_blocks.0.attn1.to_out.0.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 145 |
+
"video_connector.transformer_blocks.0.attn1.to_out.0.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 146 |
+
"video_connector.transformer_blocks.0.attn1.to_q.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 147 |
+
"video_connector.transformer_blocks.0.attn1.to_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 148 |
+
"video_connector.transformer_blocks.0.attn1.to_v.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 149 |
+
"video_connector.transformer_blocks.0.attn1.to_v.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 150 |
+
"video_connector.transformer_blocks.0.ff.net.0.proj.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 151 |
+
"video_connector.transformer_blocks.0.ff.net.0.proj.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 152 |
+
"video_connector.transformer_blocks.0.ff.net.2.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 153 |
+
"video_connector.transformer_blocks.0.ff.net.2.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 154 |
+
"video_connector.transformer_blocks.1.attn1.norm_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 155 |
+
"video_connector.transformer_blocks.1.attn1.norm_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 156 |
+
"video_connector.transformer_blocks.1.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 157 |
+
"video_connector.transformer_blocks.1.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 158 |
+
"video_connector.transformer_blocks.1.attn1.to_k.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 159 |
+
"video_connector.transformer_blocks.1.attn1.to_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 160 |
+
"video_connector.transformer_blocks.1.attn1.to_out.0.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 161 |
+
"video_connector.transformer_blocks.1.attn1.to_out.0.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 162 |
+
"video_connector.transformer_blocks.1.attn1.to_q.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 163 |
+
"video_connector.transformer_blocks.1.attn1.to_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 164 |
+
"video_connector.transformer_blocks.1.attn1.to_v.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 165 |
+
"video_connector.transformer_blocks.1.attn1.to_v.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 166 |
+
"video_connector.transformer_blocks.1.ff.net.0.proj.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 167 |
+
"video_connector.transformer_blocks.1.ff.net.0.proj.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 168 |
+
"video_connector.transformer_blocks.1.ff.net.2.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 169 |
+
"video_connector.transformer_blocks.1.ff.net.2.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 170 |
+
"video_connector.transformer_blocks.2.attn1.norm_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 171 |
+
"video_connector.transformer_blocks.2.attn1.norm_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 172 |
+
"video_connector.transformer_blocks.2.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 173 |
+
"video_connector.transformer_blocks.2.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 174 |
+
"video_connector.transformer_blocks.2.attn1.to_k.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 175 |
+
"video_connector.transformer_blocks.2.attn1.to_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 176 |
+
"video_connector.transformer_blocks.2.attn1.to_out.0.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 177 |
+
"video_connector.transformer_blocks.2.attn1.to_out.0.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 178 |
+
"video_connector.transformer_blocks.2.attn1.to_q.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 179 |
+
"video_connector.transformer_blocks.2.attn1.to_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 180 |
+
"video_connector.transformer_blocks.2.attn1.to_v.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 181 |
+
"video_connector.transformer_blocks.2.attn1.to_v.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 182 |
+
"video_connector.transformer_blocks.2.ff.net.0.proj.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 183 |
+
"video_connector.transformer_blocks.2.ff.net.0.proj.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 184 |
+
"video_connector.transformer_blocks.2.ff.net.2.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 185 |
+
"video_connector.transformer_blocks.2.ff.net.2.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 186 |
+
"video_connector.transformer_blocks.3.attn1.norm_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 187 |
+
"video_connector.transformer_blocks.3.attn1.norm_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 188 |
+
"video_connector.transformer_blocks.3.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 189 |
+
"video_connector.transformer_blocks.3.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 190 |
+
"video_connector.transformer_blocks.3.attn1.to_k.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 191 |
+
"video_connector.transformer_blocks.3.attn1.to_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 192 |
+
"video_connector.transformer_blocks.3.attn1.to_out.0.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 193 |
+
"video_connector.transformer_blocks.3.attn1.to_out.0.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 194 |
+
"video_connector.transformer_blocks.3.attn1.to_q.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 195 |
+
"video_connector.transformer_blocks.3.attn1.to_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 196 |
+
"video_connector.transformer_blocks.3.attn1.to_v.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 197 |
+
"video_connector.transformer_blocks.3.attn1.to_v.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 198 |
+
"video_connector.transformer_blocks.3.ff.net.0.proj.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 199 |
+
"video_connector.transformer_blocks.3.ff.net.0.proj.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 200 |
+
"video_connector.transformer_blocks.3.ff.net.2.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 201 |
+
"video_connector.transformer_blocks.3.ff.net.2.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 202 |
+
"video_connector.transformer_blocks.4.attn1.norm_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 203 |
+
"video_connector.transformer_blocks.4.attn1.norm_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 204 |
+
"video_connector.transformer_blocks.4.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 205 |
+
"video_connector.transformer_blocks.4.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 206 |
+
"video_connector.transformer_blocks.4.attn1.to_k.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 207 |
+
"video_connector.transformer_blocks.4.attn1.to_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 208 |
+
"video_connector.transformer_blocks.4.attn1.to_out.0.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 209 |
+
"video_connector.transformer_blocks.4.attn1.to_out.0.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 210 |
+
"video_connector.transformer_blocks.4.attn1.to_q.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 211 |
+
"video_connector.transformer_blocks.4.attn1.to_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 212 |
+
"video_connector.transformer_blocks.4.attn1.to_v.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 213 |
+
"video_connector.transformer_blocks.4.attn1.to_v.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 214 |
+
"video_connector.transformer_blocks.4.ff.net.0.proj.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 215 |
+
"video_connector.transformer_blocks.4.ff.net.0.proj.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 216 |
+
"video_connector.transformer_blocks.4.ff.net.2.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 217 |
+
"video_connector.transformer_blocks.4.ff.net.2.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 218 |
+
"video_connector.transformer_blocks.5.attn1.norm_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 219 |
+
"video_connector.transformer_blocks.5.attn1.norm_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 220 |
+
"video_connector.transformer_blocks.5.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 221 |
+
"video_connector.transformer_blocks.5.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 222 |
+
"video_connector.transformer_blocks.5.attn1.to_k.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 223 |
+
"video_connector.transformer_blocks.5.attn1.to_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 224 |
+
"video_connector.transformer_blocks.5.attn1.to_out.0.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 225 |
+
"video_connector.transformer_blocks.5.attn1.to_out.0.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 226 |
+
"video_connector.transformer_blocks.5.attn1.to_q.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 227 |
+
"video_connector.transformer_blocks.5.attn1.to_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 228 |
+
"video_connector.transformer_blocks.5.attn1.to_v.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 229 |
+
"video_connector.transformer_blocks.5.attn1.to_v.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 230 |
+
"video_connector.transformer_blocks.5.ff.net.0.proj.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 231 |
+
"video_connector.transformer_blocks.5.ff.net.0.proj.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 232 |
+
"video_connector.transformer_blocks.5.ff.net.2.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 233 |
+
"video_connector.transformer_blocks.5.ff.net.2.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 234 |
+
"video_connector.transformer_blocks.6.attn1.norm_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 235 |
+
"video_connector.transformer_blocks.6.attn1.norm_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 236 |
+
"video_connector.transformer_blocks.6.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 237 |
+
"video_connector.transformer_blocks.6.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 238 |
+
"video_connector.transformer_blocks.6.attn1.to_k.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 239 |
+
"video_connector.transformer_blocks.6.attn1.to_k.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 240 |
+
"video_connector.transformer_blocks.6.attn1.to_out.0.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 241 |
+
"video_connector.transformer_blocks.6.attn1.to_out.0.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 242 |
+
"video_connector.transformer_blocks.6.attn1.to_q.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 243 |
+
"video_connector.transformer_blocks.6.attn1.to_q.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 244 |
+
"video_connector.transformer_blocks.6.attn1.to_v.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 245 |
+
"video_connector.transformer_blocks.6.attn1.to_v.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 246 |
+
"video_connector.transformer_blocks.6.ff.net.0.proj.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 247 |
+
"video_connector.transformer_blocks.6.ff.net.0.proj.weight": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 248 |
+
"video_connector.transformer_blocks.6.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 249 |
+
"video_connector.transformer_blocks.6.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 250 |
+
"video_connector.transformer_blocks.7.attn1.norm_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 251 |
+
"video_connector.transformer_blocks.7.attn1.norm_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 252 |
+
"video_connector.transformer_blocks.7.attn1.to_gate_logits.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 253 |
+
"video_connector.transformer_blocks.7.attn1.to_gate_logits.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 254 |
+
"video_connector.transformer_blocks.7.attn1.to_k.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 255 |
+
"video_connector.transformer_blocks.7.attn1.to_k.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 256 |
+
"video_connector.transformer_blocks.7.attn1.to_out.0.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 257 |
+
"video_connector.transformer_blocks.7.attn1.to_out.0.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 258 |
+
"video_connector.transformer_blocks.7.attn1.to_q.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 259 |
+
"video_connector.transformer_blocks.7.attn1.to_q.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 260 |
+
"video_connector.transformer_blocks.7.attn1.to_v.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 261 |
+
"video_connector.transformer_blocks.7.attn1.to_v.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 262 |
+
"video_connector.transformer_blocks.7.ff.net.0.proj.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 263 |
+
"video_connector.transformer_blocks.7.ff.net.0.proj.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 264 |
+
"video_connector.transformer_blocks.7.ff.net.2.bias": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 265 |
+
"video_connector.transformer_blocks.7.ff.net.2.weight": "diffusion_pytorch_model-00002-of-00002.safetensors",
|
| 266 |
+
"video_text_proj_in.bias": "diffusion_pytorch_model-00001-of-00002.safetensors",
|
| 267 |
+
"video_text_proj_in.weight": "diffusion_pytorch_model-00001-of-00002.safetensors"
|
| 268 |
+
}
|
| 269 |
+
}
|
model_index.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "LTX2Pipeline",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"audio_vae": [
|
| 5 |
+
"diffusers",
|
| 6 |
+
"AutoencoderKLLTX2Audio"
|
| 7 |
+
],
|
| 8 |
+
"connectors": [
|
| 9 |
+
"ltx2",
|
| 10 |
+
"LTX2TextConnectors"
|
| 11 |
+
],
|
| 12 |
+
"scheduler": [
|
| 13 |
+
"diffusers",
|
| 14 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 15 |
+
],
|
| 16 |
+
"text_encoder": [
|
| 17 |
+
"transformers",
|
| 18 |
+
"Gemma3ForConditionalGeneration"
|
| 19 |
+
],
|
| 20 |
+
"tokenizer": [
|
| 21 |
+
"transformers",
|
| 22 |
+
"GemmaTokenizerFast"
|
| 23 |
+
],
|
| 24 |
+
"transformer": [
|
| 25 |
+
"diffusers",
|
| 26 |
+
"LTX2VideoTransformer3DModel"
|
| 27 |
+
],
|
| 28 |
+
"vae": [
|
| 29 |
+
"diffusers",
|
| 30 |
+
"AutoencoderKLLTX2Video"
|
| 31 |
+
],
|
| 32 |
+
"vocoder": [
|
| 33 |
+
"ltx2",
|
| 34 |
+
"LTX2VocoderWithBWE"
|
| 35 |
+
]
|
| 36 |
+
}
|
processor/added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image_soft_token>": 262144
|
| 3 |
+
}
|
processor/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 -%}
|
processor/preprocessor_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": null,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_pan_and_scan": null,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Gemma3ImageProcessor",
|
| 13 |
+
"image_seq_length": 256,
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"pan_and_scan_max_num_crops": null,
|
| 20 |
+
"pan_and_scan_min_crop_size": null,
|
| 21 |
+
"pan_and_scan_min_ratio_to_activate": null,
|
| 22 |
+
"processor_class": "Gemma3Processor",
|
| 23 |
+
"resample": 2,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"size": {
|
| 26 |
+
"height": 896,
|
| 27 |
+
"width": 896
|
| 28 |
+
}
|
| 29 |
+
}
|
processor/processor_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_seq_length": 256,
|
| 3 |
+
"processor_class": "Gemma3Processor"
|
| 4 |
+
}
|
processor/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 |
+
}
|
processor/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795
|
| 3 |
+
size 33384568
|
processor/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
|
| 3 |
+
size 4689074
|
processor/tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"base_image_seq_len": 1024,
|
| 5 |
+
"base_shift": 0.95,
|
| 6 |
+
"invert_sigmas": false,
|
| 7 |
+
"max_image_seq_len": 4096,
|
| 8 |
+
"max_shift": 2.05,
|
| 9 |
+
"num_train_timesteps": 1000,
|
| 10 |
+
"shift": 1.0,
|
| 11 |
+
"shift_terminal": 0.1,
|
| 12 |
+
"stochastic_sampling": false,
|
| 13 |
+
"time_shift_type": "exponential",
|
| 14 |
+
"use_beta_sigmas": false,
|
| 15 |
+
"use_dynamic_shifting": true,
|
| 16 |
+
"use_exponential_sigmas": false,
|
| 17 |
+
"use_karras_sigmas": false
|
| 18 |
+
}
|
text_encoder/config.json
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": 6,
|
| 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": 256,
|
| 25 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 26 |
+
"hidden_size": 3840,
|
| 27 |
+
"initializer_range": 0.02,
|
| 28 |
+
"intermediate_size": 15360,
|
| 29 |
+
"layer_types": [
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"full_attention",
|
| 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 |
+
],
|
| 79 |
+
"max_position_embeddings": 131072,
|
| 80 |
+
"model_type": "gemma3_text",
|
| 81 |
+
"num_attention_heads": 16,
|
| 82 |
+
"num_hidden_layers": 48,
|
| 83 |
+
"num_key_value_heads": 8,
|
| 84 |
+
"query_pre_attn_scalar": 256,
|
| 85 |
+
"rms_norm_eps": 1e-06,
|
| 86 |
+
"rope_local_base_freq": 10000,
|
| 87 |
+
"rope_scaling": {
|
| 88 |
+
"factor": 8.0,
|
| 89 |
+
"rope_type": "linear"
|
| 90 |
+
},
|
| 91 |
+
"rope_theta": 1000000,
|
| 92 |
+
"sliding_window": 1024,
|
| 93 |
+
"sliding_window_pattern": 6,
|
| 94 |
+
"use_bidirectional_attention": false,
|
| 95 |
+
"use_cache": true,
|
| 96 |
+
"vocab_size": 262208
|
| 97 |
+
},
|
| 98 |
+
"transformers_version": "4.57.3",
|
| 99 |
+
"vision_config": {
|
| 100 |
+
"attention_dropout": 0.0,
|
| 101 |
+
"dtype": "float32",
|
| 102 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 103 |
+
"hidden_size": 1152,
|
| 104 |
+
"image_size": 896,
|
| 105 |
+
"intermediate_size": 4304,
|
| 106 |
+
"layer_norm_eps": 1e-06,
|
| 107 |
+
"model_type": "siglip_vision_model",
|
| 108 |
+
"num_attention_heads": 16,
|
| 109 |
+
"num_channels": 3,
|
| 110 |
+
"num_hidden_layers": 27,
|
| 111 |
+
"patch_size": 14,
|
| 112 |
+
"vision_use_head": false
|
| 113 |
+
}
|
| 114 |
+
}
|
text_encoder/generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cache_implementation": "hybrid",
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1,
|
| 6 |
+
106
|
| 7 |
+
],
|
| 8 |
+
"top_k": 64,
|
| 9 |
+
"top_p": 0.95,
|
| 10 |
+
"transformers_version": "4.57.3"
|
| 11 |
+
}
|
text_encoder/model-00002-of-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b95e7ab472b88860e53c71ef078fe8ba4c85e3727b8f0a0bcc130c1f4a2b9ab9
|
| 3 |
+
size 4987027384
|
text_encoder/model-00003-of-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3731e7c18280d0e9dcbcfadaecaeb8b81fa7f7f15e702ea3d1b4f8eb1b5919f7
|
| 3 |
+
size 4844749824
|
text_encoder/model-00005-of-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb478659a67b2e34a920f237387a1d7a8208325aa2fc285198a97603f15af1e6
|
| 3 |
+
size 4907664584
|
text_encoder/model-00010-of-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9f665a743589231adb812c61c9d8e295c9a68c31d3e87976ae032f1de4e46b6
|
| 3 |
+
size 4954909792
|
text_encoder/model-00011-of-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:999bf4706d4f616e558eec486667fc2b66f8d0f9c106e1d1f802458fb349b0db
|
| 3 |
+
size 2689808472
|
text_encoder/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
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
|
|
|
training_config/config.yaml
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
model_path: diffusers/LTX-2.3-Diffusers
|
| 3 |
+
text_encoder_path: diffusers/LTX-2.3-Diffusers
|
| 4 |
+
training_mode: full
|
| 5 |
+
load_checkpoint: null
|
| 6 |
+
training_strategy:
|
| 7 |
+
name: flexible
|
| 8 |
+
video:
|
| 9 |
+
is_generated: true
|
| 10 |
+
latents_dir: latents
|
| 11 |
+
compute_loss: true
|
| 12 |
+
conditions:
|
| 13 |
+
- type: first_frame
|
| 14 |
+
probability: 1.0
|
| 15 |
+
audio: null
|
| 16 |
+
lora: null
|
| 17 |
+
optimization:
|
| 18 |
+
learning_rate: 1.0e-5
|
| 19 |
+
steps: 76840 # 10 * ceil(245884 / 32)
|
| 20 |
+
batch_size: 1
|
| 21 |
+
gradient_accumulation_steps: 1
|
| 22 |
+
max_grad_norm: 1.0
|
| 23 |
+
optimizer_type: adamw
|
| 24 |
+
scheduler_type: linear
|
| 25 |
+
scheduler_params: {}
|
| 26 |
+
enable_gradient_checkpointing: true
|
| 27 |
+
acceleration:
|
| 28 |
+
mixed_precision_mode: bf16
|
| 29 |
+
quantization: null
|
| 30 |
+
load_text_encoder_in_8bit: false
|
| 31 |
+
offload_optimizer_during_validation: true
|
| 32 |
+
data:
|
| 33 |
+
preprocessed_data_root: dataset/.precomputed
|
| 34 |
+
num_dataloader_workers: 2
|
| 35 |
+
validation:
|
| 36 |
+
samples_jsonl: dataset/benchmark.jsonl
|
| 37 |
+
samples_jsonl_limit: null
|
| 38 |
+
video_dims: [768, 512, 121]
|
| 39 |
+
frame_rate: 24.0
|
| 40 |
+
seed: 10
|
| 41 |
+
inference_steps: 30
|
| 42 |
+
interval: 50
|
| 43 |
+
guidance_scale: 3.0
|
| 44 |
+
stg_scale: 1.0
|
| 45 |
+
stg_blocks: [28]
|
| 46 |
+
stg_mode: stg_v
|
| 47 |
+
generate_video: true
|
| 48 |
+
generate_audio: false
|
| 49 |
+
skip_initial_validation: false
|
| 50 |
+
checkpoints:
|
| 51 |
+
interval: 7684 # 1 epoch (245884 / 32)
|
| 52 |
+
keep_last_n: -1
|
| 53 |
+
precision: bfloat16
|
| 54 |
+
no_resume: false
|
| 55 |
+
save_training_state: minimal
|
| 56 |
+
flow_matching:
|
| 57 |
+
timestep_sampling_mode: shifted_logit_normal
|
| 58 |
+
timestep_sampling_params: {}
|
| 59 |
+
wandb:
|
| 60 |
+
enabled: false
|
| 61 |
+
hub:
|
| 62 |
+
hub_model_id: null
|
| 63 |
+
push_to_hub: false
|
| 64 |
+
seed: 42
|
| 65 |
+
log_interval: 1
|
| 66 |
+
output_dir: outputs
|
| 67 |
+
videogym:
|
| 68 |
+
epochs: 10
|
| 69 |
+
expected_world_size: 32
|
| 70 |
+
checkpoint_every_epochs: 1
|
| 71 |
+
benchmark_initial_steps: [0, 50, 100]
|
| 72 |
+
benchmark_interval: 1000
|
| 73 |
+
benchmark_at_epoch_boundaries: true
|
| 74 |
+
benchmark_per_family: 2
|
| 75 |
+
guidance_rescale: 0.7
|
| 76 |
+
scheduler: LTX2Scheduler-default-no-latent
|
| 77 |
+
sampler: EulerDiffusionStep
|
training_config/fsdp.yaml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
compute_environment: LOCAL_MACHINE
|
| 2 |
+
debug: false
|
| 3 |
+
distributed_type: FSDP
|
| 4 |
+
downcast_bf16: 'no'
|
| 5 |
+
enable_cpu_affinity: false
|
| 6 |
+
fsdp_config:
|
| 7 |
+
fsdp_activation_checkpointing: false
|
| 8 |
+
fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
|
| 9 |
+
fsdp_backward_prefetch: BACKWARD_PRE
|
| 10 |
+
fsdp_cpu_ram_efficient_loading: true
|
| 11 |
+
fsdp_forward_prefetch: false
|
| 12 |
+
fsdp_offload_params: false
|
| 13 |
+
fsdp_reshard_after_forward: FULL_SHARD
|
| 14 |
+
fsdp_state_dict_type: SHARDED_STATE_DICT
|
| 15 |
+
fsdp_sync_module_states: true
|
| 16 |
+
fsdp_transformer_layer_cls_to_wrap: BasicAVTransformerBlock
|
| 17 |
+
fsdp_use_orig_params: true
|
| 18 |
+
fsdp_version: 1
|
| 19 |
+
machine_rank: 0
|
| 20 |
+
main_training_function: main
|
| 21 |
+
mixed_precision: bf16
|
| 22 |
+
num_machines: 4
|
| 23 |
+
num_processes: 32
|
| 24 |
+
rdzv_backend: static
|
| 25 |
+
same_network: true
|
| 26 |
+
tpu_env: []
|
| 27 |
+
tpu_use_cluster: false
|
| 28 |
+
tpu_use_sudo: false
|
| 29 |
+
use_cpu: false
|
training_config/parameters.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "VideoGym-LTX-2.3",
|
| 3 |
+
"training": {
|
| 4 |
+
"examples": 245884,
|
| 5 |
+
"optimizer": "AdamW",
|
| 6 |
+
"initial_learning_rate": 1e-05,
|
| 7 |
+
"last_logged_learning_rate": 1e-06,
|
| 8 |
+
"scheduler": "linear",
|
| 9 |
+
"gradient_clip_norm": 1.0,
|
| 10 |
+
"batch_per_gpu": 1,
|
| 11 |
+
"gradient_accumulation": 1,
|
| 12 |
+
"world_size": 32,
|
| 13 |
+
"global_batch": 32,
|
| 14 |
+
"epochs": 10,
|
| 15 |
+
"steps_per_epoch": 7684,
|
| 16 |
+
"steps": 76840,
|
| 17 |
+
"seed": 42,
|
| 18 |
+
"precision": "bf16",
|
| 19 |
+
"canvas": [
|
| 20 |
+
768,
|
| 21 |
+
512
|
| 22 |
+
],
|
| 23 |
+
"source_content": [
|
| 24 |
+
512,
|
| 25 |
+
512
|
| 26 |
+
],
|
| 27 |
+
"source_fps": 16,
|
| 28 |
+
"native_fps": 24,
|
| 29 |
+
"temporal_buckets": [
|
| 30 |
+
25,
|
| 31 |
+
33,
|
| 32 |
+
41,
|
| 33 |
+
49,
|
| 34 |
+
57,
|
| 35 |
+
65,
|
| 36 |
+
73,
|
| 37 |
+
81,
|
| 38 |
+
89,
|
| 39 |
+
97,
|
| 40 |
+
105,
|
| 41 |
+
113,
|
| 42 |
+
121,
|
| 43 |
+
129,
|
| 44 |
+
137,
|
| 45 |
+
145,
|
| 46 |
+
153,
|
| 47 |
+
161,
|
| 48 |
+
169,
|
| 49 |
+
177,
|
| 50 |
+
185,
|
| 51 |
+
193,
|
| 52 |
+
201,
|
| 53 |
+
209,
|
| 54 |
+
217,
|
| 55 |
+
225,
|
| 56 |
+
233,
|
| 57 |
+
241
|
| 58 |
+
]
|
| 59 |
+
},
|
| 60 |
+
"dataset": "OpenMOSS-Team/VideoGym-Train",
|
| 61 |
+
"base_model": "diffusers/LTX-2.3-Diffusers",
|
| 62 |
+
"published_checkpoint_epoch": 10
|
| 63 |
+
}
|
transformer/config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "LTX2VideoTransformer3DModel",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"activation_fn": "gelu-approximate",
|
| 5 |
+
"attention_bias": true,
|
| 6 |
+
"attention_head_dim": 128,
|
| 7 |
+
"attention_out_bias": true,
|
| 8 |
+
"audio_attention_head_dim": 64,
|
| 9 |
+
"audio_cross_attention_dim": 2048,
|
| 10 |
+
"audio_cross_attn_mod": true,
|
| 11 |
+
"audio_gated_attn": true,
|
| 12 |
+
"audio_hop_length": 160,
|
| 13 |
+
"audio_in_channels": 128,
|
| 14 |
+
"audio_num_attention_heads": 32,
|
| 15 |
+
"audio_out_channels": 128,
|
| 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": 3840,
|
| 24 |
+
"causal_offset": 1,
|
| 25 |
+
"cross_attention_dim": 4096,
|
| 26 |
+
"cross_attn_mod": true,
|
| 27 |
+
"cross_attn_timestep_scale_multiplier": 1000,
|
| 28 |
+
"gated_attn": true,
|
| 29 |
+
"in_channels": 128,
|
| 30 |
+
"norm_elementwise_affine": false,
|
| 31 |
+
"norm_eps": 1e-06,
|
| 32 |
+
"num_attention_heads": 32,
|
| 33 |
+
"num_layers": 48,
|
| 34 |
+
"out_channels": 128,
|
| 35 |
+
"patch_size": 1,
|
| 36 |
+
"patch_size_t": 1,
|
| 37 |
+
"perturbed_attn": true,
|
| 38 |
+
"pos_embed_max_pos": 20,
|
| 39 |
+
"qk_norm": "rms_norm_across_heads",
|
| 40 |
+
"rope_double_precision": true,
|
| 41 |
+
"rope_theta": 10000.0,
|
| 42 |
+
"rope_type": "split",
|
| 43 |
+
"timestep_scale_multiplier": 1000,
|
| 44 |
+
"use_prompt_embeddings": false,
|
| 45 |
+
"vae_scale_factors": [
|
| 46 |
+
8,
|
| 47 |
+
32,
|
| 48 |
+
32
|
| 49 |
+
]
|
| 50 |
+
}
|
transformer/diffusion_pytorch_model-00001-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a906f235176905f2f5555909f1df23a48b64c53223d0c824476e966506221047
|
| 3 |
+
size 4989505528
|
transformer/diffusion_pytorch_model-00002-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73ae3de692179defbba8a300892d83ed8149adf64c77ee48d5d82bb57960b95e
|
| 3 |
+
size 4943307864
|
transformer/diffusion_pytorch_model-00003-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f005f725f863a3be308b40d34595ccfc283cb744cdf16e738852bbf1ee158915
|
| 3 |
+
size 4993285768
|
transformer/diffusion_pytorch_model-00004-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03f3687f864ffe396f43f4c5da44f3527926a114a36dbdf6fef2ecff2fa3a1a4
|
| 3 |
+
size 4926679968
|
transformer/diffusion_pytorch_model-00005-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb0082393997753b4ee02336c7eb0d04bbe4fdff321c5ba8b54f502736c1f851
|
| 3 |
+
size 4976228344
|
transformer/diffusion_pytorch_model-00006-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38583c3548afde5d7cff93f1107f70fe03cd2c02cf2f898080ebbd015e14759c
|
| 3 |
+
size 4993665208
|
transformer/diffusion_pytorch_model-00007-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77b8f345ee8834b8283ce1dd52f514b454317ea4f3a9354a6a0eae9dca8ee5f2
|
| 3 |
+
size 4993207488
|
transformer/diffusion_pytorch_model-00008-of-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb96d62acd3c5f44dfe01875d179072582cd706f02fb428c1baf163c46ce1930
|
| 3 |
+
size 3162308536
|
transformer/diffusion_pytorch_model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vae/config.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "AutoencoderKLLTX2Video",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"block_out_channels": [
|
| 5 |
+
256,
|
| 6 |
+
512,
|
| 7 |
+
1024,
|
| 8 |
+
1024
|
| 9 |
+
],
|
| 10 |
+
"decoder_block_out_channels": [
|
| 11 |
+
256,
|
| 12 |
+
512,
|
| 13 |
+
512,
|
| 14 |
+
1024
|
| 15 |
+
],
|
| 16 |
+
"decoder_causal": false,
|
| 17 |
+
"decoder_inject_noise": [
|
| 18 |
+
false,
|
| 19 |
+
false,
|
| 20 |
+
false,
|
| 21 |
+
false,
|
| 22 |
+
false
|
| 23 |
+
],
|
| 24 |
+
"decoder_layers_per_block": [
|
| 25 |
+
4,
|
| 26 |
+
6,
|
| 27 |
+
4,
|
| 28 |
+
2,
|
| 29 |
+
2
|
| 30 |
+
],
|
| 31 |
+
"decoder_spatial_padding_mode": "zeros",
|
| 32 |
+
"decoder_spatio_temporal_scaling": [
|
| 33 |
+
true,
|
| 34 |
+
true,
|
| 35 |
+
true,
|
| 36 |
+
true
|
| 37 |
+
],
|
| 38 |
+
"down_block_types": [
|
| 39 |
+
"LTX2VideoDownBlock3D",
|
| 40 |
+
"LTX2VideoDownBlock3D",
|
| 41 |
+
"LTX2VideoDownBlock3D",
|
| 42 |
+
"LTX2VideoDownBlock3D"
|
| 43 |
+
],
|
| 44 |
+
"downsample_type": [
|
| 45 |
+
"spatial",
|
| 46 |
+
"temporal",
|
| 47 |
+
"spatiotemporal",
|
| 48 |
+
"spatiotemporal"
|
| 49 |
+
],
|
| 50 |
+
"encoder_causal": true,
|
| 51 |
+
"encoder_spatial_padding_mode": "zeros",
|
| 52 |
+
"in_channels": 3,
|
| 53 |
+
"latent_channels": 128,
|
| 54 |
+
"layers_per_block": [
|
| 55 |
+
4,
|
| 56 |
+
6,
|
| 57 |
+
4,
|
| 58 |
+
2,
|
| 59 |
+
2
|
| 60 |
+
],
|
| 61 |
+
"out_channels": 3,
|
| 62 |
+
"patch_size": 4,
|
| 63 |
+
"patch_size_t": 1,
|
| 64 |
+
"resnet_norm_eps": 1e-06,
|
| 65 |
+
"scaling_factor": 1.0,
|
| 66 |
+
"spatial_compression_ratio": 32,
|
| 67 |
+
"spatio_temporal_scaling": [
|
| 68 |
+
true,
|
| 69 |
+
true,
|
| 70 |
+
true,
|
| 71 |
+
true
|
| 72 |
+
],
|
| 73 |
+
"temporal_compression_ratio": 8,
|
| 74 |
+
"timestep_conditioning": false,
|
| 75 |
+
"upsample_factor": [
|
| 76 |
+
2,
|
| 77 |
+
2,
|
| 78 |
+
1,
|
| 79 |
+
2
|
| 80 |
+
],
|
| 81 |
+
"upsample_residual": [
|
| 82 |
+
false,
|
| 83 |
+
false,
|
| 84 |
+
false,
|
| 85 |
+
false
|
| 86 |
+
],
|
| 87 |
+
"upsample_type": [
|
| 88 |
+
"spatiotemporal",
|
| 89 |
+
"spatiotemporal",
|
| 90 |
+
"temporal",
|
| 91 |
+
"spatial"
|
| 92 |
+
]
|
| 93 |
+
}
|
vocoder/config.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "LTX2VocoderWithBWE",
|
| 3 |
+
"_diffusers_version": "0.37.0.dev0",
|
| 4 |
+
"act_fn": "snakebeta",
|
| 5 |
+
"antialias": true,
|
| 6 |
+
"antialias_kernel_size": 12,
|
| 7 |
+
"antialias_ratio": 2,
|
| 8 |
+
"bwe_act_fn": "snakebeta",
|
| 9 |
+
"bwe_antialias": true,
|
| 10 |
+
"bwe_antialias_kernel_size": 12,
|
| 11 |
+
"bwe_antialias_ratio": 2,
|
| 12 |
+
"bwe_final_act_fn": null,
|
| 13 |
+
"bwe_final_bias": false,
|
| 14 |
+
"bwe_hidden_channels": 512,
|
| 15 |
+
"bwe_in_channels": 128,
|
| 16 |
+
"bwe_leaky_relu_negative_slope": 0.1,
|
| 17 |
+
"bwe_out_channels": 2,
|
| 18 |
+
"bwe_resnet_dilations": [
|
| 19 |
+
[
|
| 20 |
+
1,
|
| 21 |
+
3,
|
| 22 |
+
5
|
| 23 |
+
],
|
| 24 |
+
[
|
| 25 |
+
1,
|
| 26 |
+
3,
|
| 27 |
+
5
|
| 28 |
+
],
|
| 29 |
+
[
|
| 30 |
+
1,
|
| 31 |
+
3,
|
| 32 |
+
5
|
| 33 |
+
]
|
| 34 |
+
],
|
| 35 |
+
"bwe_resnet_kernel_sizes": [
|
| 36 |
+
3,
|
| 37 |
+
7,
|
| 38 |
+
11
|
| 39 |
+
],
|
| 40 |
+
"bwe_upsample_factors": [
|
| 41 |
+
6,
|
| 42 |
+
5,
|
| 43 |
+
2,
|
| 44 |
+
2,
|
| 45 |
+
2
|
| 46 |
+
],
|
| 47 |
+
"bwe_upsample_kernel_sizes": [
|
| 48 |
+
12,
|
| 49 |
+
11,
|
| 50 |
+
4,
|
| 51 |
+
4,
|
| 52 |
+
4
|
| 53 |
+
],
|
| 54 |
+
"filter_length": 512,
|
| 55 |
+
"final_act_fn": null,
|
| 56 |
+
"final_bias": false,
|
| 57 |
+
"hidden_channels": 1536,
|
| 58 |
+
"hop_length": 80,
|
| 59 |
+
"in_channels": 128,
|
| 60 |
+
"input_sampling_rate": 16000,
|
| 61 |
+
"leaky_relu_negative_slope": 0.1,
|
| 62 |
+
"num_mel_channels": 64,
|
| 63 |
+
"out_channels": 2,
|
| 64 |
+
"output_sampling_rate": 48000,
|
| 65 |
+
"resnet_dilations": [
|
| 66 |
+
[
|
| 67 |
+
1,
|
| 68 |
+
3,
|
| 69 |
+
5
|
| 70 |
+
],
|
| 71 |
+
[
|
| 72 |
+
1,
|
| 73 |
+
3,
|
| 74 |
+
5
|
| 75 |
+
],
|
| 76 |
+
[
|
| 77 |
+
1,
|
| 78 |
+
3,
|
| 79 |
+
5
|
| 80 |
+
]
|
| 81 |
+
],
|
| 82 |
+
"resnet_kernel_sizes": [
|
| 83 |
+
3,
|
| 84 |
+
7,
|
| 85 |
+
11
|
| 86 |
+
],
|
| 87 |
+
"upsample_factors": [
|
| 88 |
+
5,
|
| 89 |
+
2,
|
| 90 |
+
2,
|
| 91 |
+
2,
|
| 92 |
+
2,
|
| 93 |
+
2
|
| 94 |
+
],
|
| 95 |
+
"upsample_kernel_sizes": [
|
| 96 |
+
11,
|
| 97 |
+
4,
|
| 98 |
+
4,
|
| 99 |
+
4,
|
| 100 |
+
4,
|
| 101 |
+
4
|
| 102 |
+
],
|
| 103 |
+
"window_length": 512
|
| 104 |
+
}
|