Commit ·
176ab82
1
Parent(s): be38eb4
Release TA-only step5750 checkpoint and config
Browse files- README.md +27 -24
- configs/k5_i2v_time_adapter_step5750_ta_only.yaml +54 -0
- examples/{ftta_forest_15.mp4 → ta_forest_15.mp4} +0 -0
- examples/{ftta_forest_30.mp4 → ta_forest_30.mp4} +0 -0
- examples/{ftta_forest_60.mp4 → ta_forest_60.mp4} +0 -0
- examples/{ftta_pose_15.mp4 → ta_pose_15.mp4} +2 -2
- examples/{ftta_pose_30.mp4 → ta_pose_30.mp4} +2 -2
- examples/{ftta_pose_60.mp4 → ta_pose_60.mp4} +2 -2
- model/config.json +6 -0
- weights/model/time_adapter_step5750_ta_only.safetensors +3 -0
README.md
CHANGED
|
@@ -4,7 +4,7 @@ language:
|
|
| 4 |
- en
|
| 5 |
- ru
|
| 6 |
base_model:
|
| 7 |
-
- kandinskylab/Kandinsky-5.0-I2V-Lite-
|
| 8 |
pipeline_tag: image-to-video
|
| 9 |
tags:
|
| 10 |
- image-to-video
|
|
@@ -15,49 +15,52 @@ tags:
|
|
| 15 |
- latent-time
|
| 16 |
widget:
|
| 17 |
- text: >-
|
| 18 |
-
A close-up of a green-eyed girl in a dress stands in the
|
| 19 |
-
smiles and waves. Then she turns her back and walks away.
|
| 20 |
output:
|
| 21 |
-
url: examples/
|
| 22 |
- text: >-
|
| 23 |
-
A close-up of a green-eyed girl in a dress stands in the
|
| 24 |
-
smiles and waves. Then she turns her back and walks away.
|
| 25 |
output:
|
| 26 |
-
url: examples/
|
| 27 |
- text: >-
|
| 28 |
-
A close-up of a green-eyed girl in a dress stands in the
|
| 29 |
-
smiles and waves. Then she turns her back and walks away.
|
| 30 |
output:
|
| 31 |
-
url: examples/
|
| 32 |
- text: >-
|
| 33 |
-
Beautiful views of the forest with fog. The wind dispels
|
| 34 |
-
sun peeks out over the forest. The sun's rays illuminate a
|
| 35 |
-
forest.
|
| 36 |
output:
|
| 37 |
-
url: examples/
|
| 38 |
- text: >-
|
| 39 |
-
Beautiful views of the forest with fog. The wind dispels
|
| 40 |
-
sun peeks out over the forest. The sun's rays illuminate a
|
| 41 |
-
forest.
|
| 42 |
output:
|
| 43 |
-
url: examples/
|
| 44 |
- text: >-
|
| 45 |
-
Beautiful views of the forest with fog. The wind dispels
|
| 46 |
-
sun peeks out over the forest. The sun's rays illuminate a
|
| 47 |
-
forest.
|
| 48 |
output:
|
| 49 |
-
url: examples/
|
| 50 |
---
|
| 51 |
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
|
| 52 |
<h1 style="color: #24292e; margin-top: 0;">Time Adapter for Kandinsky-5 I2V</h1>
|
| 53 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 54 |
<h2 style="color: #24292e; margin-top: 0;">Overview</h2>
|
| 55 |
-
<p>This repository contains a lightweight temporal adapter for Kandinsky-5 image-to-video generation.</p>
|
| 56 |
<p>Lower target FPS typically leads to slower perceived motion, while higher target FPS leads to faster perceived motion.</p>
|
|
|
|
|
|
|
| 57 |
</div>
|
| 58 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 59 |
<h2 style="color: #24292e; margin-top: 0;">Examples</h2>
|
| 60 |
-
<p>The gallery below shows
|
|
|
|
| 61 |
</div>
|
| 62 |
</div>
|
| 63 |
<Gallery />
|
|
|
|
| 4 |
- en
|
| 5 |
- ru
|
| 6 |
base_model:
|
| 7 |
+
- kandinskylab/Kandinsky-5.0-I2V-Lite-5s
|
| 8 |
pipeline_tag: image-to-video
|
| 9 |
tags:
|
| 10 |
- image-to-video
|
|
|
|
| 15 |
- latent-time
|
| 16 |
widget:
|
| 17 |
- text: >-
|
| 18 |
+
Target FPS: 15. A close-up of a green-eyed girl in a dress stands in the
|
| 19 |
+
city. The girl smiles and waves. Then she turns her back and walks away.
|
| 20 |
output:
|
| 21 |
+
url: examples/ta_pose_15.mp4
|
| 22 |
- text: >-
|
| 23 |
+
Target FPS: 30. A close-up of a green-eyed girl in a dress stands in the
|
| 24 |
+
city. The girl smiles and waves. Then she turns her back and walks away.
|
| 25 |
output:
|
| 26 |
+
url: examples/ta_pose_30.mp4
|
| 27 |
- text: >-
|
| 28 |
+
Target FPS: 60. A close-up of a green-eyed girl in a dress stands in the
|
| 29 |
+
city. The girl smiles and waves. Then she turns her back and walks away.
|
| 30 |
output:
|
| 31 |
+
url: examples/ta_pose_60.mp4
|
| 32 |
- text: >-
|
| 33 |
+
Target FPS: 15. Beautiful views of the forest with fog. The wind dispels
|
| 34 |
+
the fog and the sun peeks out over the forest. The sun's rays illuminate a
|
| 35 |
+
beautiful green forest.
|
| 36 |
output:
|
| 37 |
+
url: examples/ta_forest_15.mp4
|
| 38 |
- text: >-
|
| 39 |
+
Target FPS: 30. Beautiful views of the forest with fog. The wind dispels
|
| 40 |
+
the fog and the sun peeks out over the forest. The sun's rays illuminate a
|
| 41 |
+
beautiful green forest.
|
| 42 |
output:
|
| 43 |
+
url: examples/ta_forest_30.mp4
|
| 44 |
- text: >-
|
| 45 |
+
Target FPS: 60. Beautiful views of the forest with fog. The wind dispels
|
| 46 |
+
the fog and the sun peeks out over the forest. The sun's rays illuminate a
|
| 47 |
+
beautiful green forest.
|
| 48 |
output:
|
| 49 |
+
url: examples/ta_forest_60.mp4
|
| 50 |
---
|
| 51 |
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
|
| 52 |
<h1 style="color: #24292e; margin-top: 0;">Time Adapter for Kandinsky-5 I2V</h1>
|
| 53 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 54 |
<h2 style="color: #24292e; margin-top: 0;">Overview</h2>
|
| 55 |
+
<p>This repository contains a lightweight TA-only temporal adapter checkpoint for Kandinsky-5 image-to-video generation.</p>
|
| 56 |
<p>Lower target FPS typically leads to slower perceived motion, while higher target FPS leads to faster perceived motion.</p>
|
| 57 |
+
<p>The released checkpoint keeps the base DiT weights unchanged and adds only the time-adapter parameters for global FPS conditioning and latent-time control.</p>
|
| 58 |
+
<p>Use this checkpoint with the `time_adapter` branch of <code>kandinsky-5</code> and the config <code>configs/k5_i2v_time_adapter_step5750_ta_only.yaml</code>.</p>
|
| 59 |
</div>
|
| 60 |
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
| 61 |
<h2 style="color: #24292e; margin-top: 0;">Examples</h2>
|
| 62 |
+
<p>The gallery below shows TA-only examples for pose motion control and forest motion control at different target FPS values.</p>
|
| 63 |
+
<p>The config follows the standard `kandinsky-5` layout and expects model files under <code>weights/model</code>, <code>weights/vae</code>, <code>weights/text_encoder</code>, and <code>weights/text_encoder2</code>.</p>
|
| 64 |
</div>
|
| 65 |
</div>
|
| 66 |
<Gallery />
|
configs/k5_i2v_time_adapter_step5750_ta_only.yaml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
metrics:
|
| 2 |
+
scheduler_scale: 10
|
| 3 |
+
legacy_resize: true
|
| 4 |
+
scale_factor:
|
| 5 |
+
- 1.0
|
| 6 |
+
- 2.0
|
| 7 |
+
- 2.0
|
| 8 |
+
resolution: 512
|
| 9 |
+
model:
|
| 10 |
+
checkpoint_path: "./weights/model/time_adapter_step5750_ta_only.safetensors"
|
| 11 |
+
num_steps: 50
|
| 12 |
+
guidance_weight: 5.0
|
| 13 |
+
dit_params:
|
| 14 |
+
in_visual_dim: 16
|
| 15 |
+
out_visual_dim: 16
|
| 16 |
+
time_dim: 512
|
| 17 |
+
patch_size:
|
| 18 |
+
- 1
|
| 19 |
+
- 2
|
| 20 |
+
- 2
|
| 21 |
+
model_dim: 1792
|
| 22 |
+
ff_dim: 7168
|
| 23 |
+
num_text_blocks: 2
|
| 24 |
+
num_visual_blocks: 32
|
| 25 |
+
axes_dims:
|
| 26 |
+
- 16
|
| 27 |
+
- 24
|
| 28 |
+
- 24
|
| 29 |
+
visual_cond: true
|
| 30 |
+
in_text_dim: 3584
|
| 31 |
+
in_text_dim2: 768
|
| 32 |
+
use_condition_fps: true
|
| 33 |
+
use_latent_time: true
|
| 34 |
+
attention:
|
| 35 |
+
type: flash
|
| 36 |
+
causal: false
|
| 37 |
+
local: false
|
| 38 |
+
glob: false
|
| 39 |
+
window: 3
|
| 40 |
+
vae:
|
| 41 |
+
checkpoint_path: "./weights/vae/"
|
| 42 |
+
name: "hunyuan"
|
| 43 |
+
text_embedder:
|
| 44 |
+
qwen:
|
| 45 |
+
checkpoint_path: "./weights/text_encoder/"
|
| 46 |
+
emb_size: 3584
|
| 47 |
+
max_length: 256
|
| 48 |
+
mode: "i2v"
|
| 49 |
+
clip:
|
| 50 |
+
checkpoint_path: "./weights/text_encoder2/"
|
| 51 |
+
emb_size: 768
|
| 52 |
+
max_length: 77
|
| 53 |
+
magcache:
|
| 54 |
+
mag_ratios: [0.90524, 0.89864, 0.95225, 0.95382, 1.04828, 1.04658, 1.07989, 1.07921, 1.04345, 1.04345, 1.03547, 1.03589, 1.03715, 1.03745, 1.02909, 1.02907, 1.03391, 1.03416, 1.02366, 1.02392, 1.02359, 1.02415, 1.02256, 1.02289, 1.02447, 1.02502, 1.01824, 1.01857, 1.02236, 1.02261, 1.01704, 1.01736, 1.01838, 1.01857, 1.01886, 1.01961, 1.01619, 1.0169, 1.01655, 1.01702, 1.01477, 1.01545, 1.01926, 1.01981, 1.01145, 1.01227, 1.01276, 1.01308, 1.01583, 1.01619, 1.01587, 1.01641, 1.01386, 1.01418, 1.01441, 1.01505, 1.01473, 1.01491, 1.01346, 1.01407, 1.01319, 1.0137, 1.01283, 1.01313, 1.01412, 1.01407, 1.01222, 1.0127, 1.0131, 1.01315, 1.01398, 1.0143, 1.01483, 1.01498, 1.01158, 1.01176, 1.01342, 1.01365, 1.00893, 1.0095, 1.01223, 1.01237, 1.01005, 1.01045, 1.00694, 1.00679, 1.00691, 1.00742, 0.99846, 0.99916, 0.98563, 0.98549, 0.97116, 0.97145, 0.93116, 0.93069, 0.83437, 0.83375]
|
examples/{ftta_forest_15.mp4 → ta_forest_15.mp4}
RENAMED
|
File without changes
|
examples/{ftta_forest_30.mp4 → ta_forest_30.mp4}
RENAMED
|
File without changes
|
examples/{ftta_forest_60.mp4 → ta_forest_60.mp4}
RENAMED
|
File without changes
|
examples/{ftta_pose_15.mp4 → ta_pose_15.mp4}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4062a876d137300161c3125908fabe29fc69fce79086af802814f3ade95623f
|
| 3 |
+
size 6104410
|
examples/{ftta_pose_30.mp4 → ta_pose_30.mp4}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53a42b5da401cade02b15b321f787ff6f87284e871facea1cfb1857440d9f00b
|
| 3 |
+
size 4241931
|
examples/{ftta_pose_60.mp4 → ta_pose_60.mp4}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b2f19aa9d0cb1bb3fb364f6f1830b9a5d9434ae2bf75330fffbcd7d61b4716e
|
| 3 |
+
size 2610097
|
model/config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DiffusionTransformer3D"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "kandinsky5"
|
| 6 |
+
}
|
weights/model/time_adapter_step5750_ta_only.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:995c7bea67011471a1ecafd8725c3f0431cd1da6d0e5f3a8befc908faf82d1e4
|
| 3 |
+
size 8061347376
|