sinBoo1 commited on
Commit
9e4105a
·
verified ·
1 Parent(s): 9d2f257

VTM-1.5.1: 1-step SFT distill (CFG baked in) + Ultra fast decoder + 60 fps demo

Browse files

Replaces VTM-1.5.1.pt with the 1-step distill of VTM-1.5.1-SFT (30-step teacher, CFG baked in; run at 1 step, CFG 1.0). Adds decoder/vtm-fast-decoder.pt (Ultra stream decoder) and a 60 fps demo recorded from the VTM Spark desk. Previous VTM-1.5.1.pt remains in history.

.gitattributes CHANGED
@@ -38,3 +38,4 @@ vtm-elf-method.png filter=lfs diff=lfs merge=lfs -text
38
  trackers/pose_landmarker_lite.task filter=lfs diff=lfs merge=lfs -text
39
  media/demo-live.gif filter=lfs diff=lfs merge=lfs -text
40
  media/character-blueprint.png filter=lfs diff=lfs merge=lfs -text
 
 
38
  trackers/pose_landmarker_lite.task filter=lfs diff=lfs merge=lfs -text
39
  media/demo-live.gif filter=lfs diff=lfs merge=lfs -text
40
  media/character-blueprint.png filter=lfs diff=lfs merge=lfs -text
41
+ media/demo-60fps.mp4 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -36,11 +36,11 @@ These are the weights behind **[VTM Spark](https://vtmstudio.dev/download)**, th
36
  </tr>
37
  <tr>
38
  <td align="center"><img src="https://huggingface.co/sinBoo1/VTM-Spark/resolve/main/media/character-blueprint.png" alt="Input still: chest-up anime character on a green background" width="340"></td>
39
- <td align="center"><img src="https://huggingface.co/sinBoo1/VTM-Spark/resolve/main/media/demo-live.gif" alt="The same character turning, nodding, blinking and talking" width="340"></td>
40
  </tr>
41
  </table>
42
 
43
- <sub>Every frame on the right was drawn by `VTM-1.5.1.pt` from the one picture on the left. It was driven through VTM Spark's live tracking pipeline (head turn, nod and tilt, blinks, eye direction, mouth shapes), fed with scripted iPhone-style motion instead of a real face.</sub>
44
 
45
  ## How it works
46
 
@@ -76,6 +76,7 @@ VTM Spark ships this blueprint and a ready-to-paste image-AI prompt in `characte
76
  | File | Size | What it is |
77
  |---|---|---|
78
  | `VTM-1.5.1.pt` | 360 MB | The generator: keypoint-conditioned DiT (this model) |
 
79
  | `trackers/iris_pose.pt` | 6 MB | Iris / pupil tracker on the character still (YOLO-pose fine-tune) |
80
  | `trackers/dwpose_v2.pt` | 23 MB | Upper-body keypoints on the still (YOLO-pose fine-tune) |
81
  | `trackers/animeseg_hair3.pt` | 432 MB | Hair-part segmentation (Mask2Former fine-tune), so hair follows the head |
@@ -83,7 +84,7 @@ VTM Spark ships this blueprint and a ready-to-paste image-AI prompt in `characte
83
  | `openseeface/*` | 21 MB | OpenSeeFace webcam face tracking models |
84
  | `media/*` | | Demo images for this card |
85
 
86
- VTM Spark places them under `models/dit/`, `models/trackers/` and `vendor/tools/openseeface/models/`. On first setup it also fetches a few models straight from their publishers (SD VAE, a tiny VAE and two anime-face detectors), about 1.24 GB in all:
87
 
88
  <img src="https://huggingface.co/sinBoo1/VTM-Spark/resolve/main/media/model-downloads.png" alt="Model downloads by size: hair segmentation 432 MB, generator 360 MB, SD VAE 335 MB, anime face landmarks 39 MB, body keypoints 23 MB, OpenSeeFace 21 MB, tiny VAE 9.8 MB, iris 6.4 MB, anime face box 6.2 MB, body tracking 5.8 MB" width="100%">
89
 
@@ -94,11 +95,17 @@ VTM Spark places them under `models/dit/`, `models/trackers/` and `vendor/tools/
94
  `VTM-1.5.1.pt`
95
 
96
  - **Architecture:** DiT, **30.3M parameters** (hidden 320, depth 10, 5 heads, patch 4 on SD-VAE latents), with RoPE on keypoints, QK-norm, SwiGLU and RMSNorm
97
- - **Output:** 768 × 768 through the SD VAE
98
  - **Pose input:** 37 keypoints covering the face outline, brows, eyes, irises, nose, mouth and upper body
99
  - **Identity input:** one reference image of the character, as image tokens plus face tokens
100
- - **Sampling:** rectified flow, **distilled from a 10-step teacher to run in 1 step** (2 steps also supported)
101
- - **Speed:** built for live use in VTM Spark. Frame rate depends on the GPU and the app's Batch, Inbetweens and Max FPS settings.
 
 
 
 
 
 
102
 
103
  ### Data
104
 
@@ -157,6 +164,7 @@ No single licence covers every file here, so this repo is tagged `license: other
157
  | File | Licence | Commercial use |
158
  |---|---|---|
159
  | `VTM-1.5.1.pt` | Apache-2.0 (ours) | Yes |
 
160
  | `trackers/animeseg_hair3.pt` | Our fine-tune of Mask2Former ADE20k weights, which Meta licenses **CC BY-NC 4.0** | **No** |
161
  | `trackers/iris_pose.pt`, `trackers/dwpose_v2.pt` | Our fine-tunes of Ultralytics YOLO-pose pretrained weights, which Ultralytics licenses **AGPL-3.0** | Under AGPL terms |
162
  | `trackers/pose_landmarker_lite.task` | Apache-2.0 (Google / MediaPipe) | Yes |
 
36
  </tr>
37
  <tr>
38
  <td align="center"><img src="https://huggingface.co/sinBoo1/VTM-Spark/resolve/main/media/character-blueprint.png" alt="Input still: chest-up anime character on a green background" width="340"></td>
39
+ <td align="center"><video src="https://huggingface.co/sinBoo1/VTM-Spark/resolve/main/media/demo-60fps.mp4" controls autoplay loop muted playsinline width="340"></video></td>
40
  </tr>
41
  </table>
42
 
43
+ <sub>Every frame on the right was drawn by `VTM-1.5.1.pt` from the one picture on the left, recorded straight from the VTM Spark desk with Max FPS at 100 (no cap in practice) and the Ultra decoder on an RTX 5060 Ti: about 60 frames a second shown. The head motion is a recorded iPhone (iFacialMocap) session replayed through the app instead of a live face.</sub>
44
 
45
  ## How it works
46
 
 
76
  | File | Size | What it is |
77
  |---|---|---|
78
  | `VTM-1.5.1.pt` | 360 MB | The generator: keypoint-conditioned DiT (this model) |
79
+ | `decoder/vtm-fast-decoder.pt` | 4 MB | Ultra fast decoder: turns the DiT's latents into the 768 × 768 frame for live streaming |
80
  | `trackers/iris_pose.pt` | 6 MB | Iris / pupil tracker on the character still (YOLO-pose fine-tune) |
81
  | `trackers/dwpose_v2.pt` | 23 MB | Upper-body keypoints on the still (YOLO-pose fine-tune) |
82
  | `trackers/animeseg_hair3.pt` | 432 MB | Hair-part segmentation (Mask2Former fine-tune), so hair follows the head |
 
84
  | `openseeface/*` | 21 MB | OpenSeeFace webcam face tracking models |
85
  | `media/*` | | Demo images for this card |
86
 
87
+ VTM Spark places them under `models/dit/`, `models/decoder/`, `models/trackers/` and `vendor/tools/openseeface/models/`. On first setup it also fetches a few models straight from their publishers (SD VAE, a tiny VAE and two anime-face detectors), about 1.24 GB in all:
88
 
89
  <img src="https://huggingface.co/sinBoo1/VTM-Spark/resolve/main/media/model-downloads.png" alt="Model downloads by size: hair segmentation 432 MB, generator 360 MB, SD VAE 335 MB, anime face landmarks 39 MB, body keypoints 23 MB, OpenSeeFace 21 MB, tiny VAE 9.8 MB, iris 6.4 MB, anime face box 6.2 MB, body tracking 5.8 MB" width="100%">
90
 
 
95
  `VTM-1.5.1.pt`
96
 
97
  - **Architecture:** DiT, **30.3M parameters** (hidden 320, depth 10, 5 heads, patch 4 on SD-VAE latents), with RoPE on keypoints, QK-norm, SwiGLU and RMSNorm
98
+ - **Output:** 768 × 768 through the SD VAE, or through the Ultra fast decoder while streaming
99
  - **Pose input:** 37 keypoints covering the face outline, brows, eyes, irises, nose, mouth and upper body
100
  - **Identity input:** one reference image of the character, as image tokens plus face tokens
101
+ - **Sampling:** rectified flow, **distilled to run in 1 step** from a 30-step teacher (`VTM-1.5.1-SFT`, a fine-tune of the 1.5.1 base). Guidance is baked into the weights, so run it at **1 step, pose CFG 1.0, identity CFG 1.0** (VTM Spark's defaults)
102
+ - **Speed:** built for live use in VTM Spark. On an RTX 5060 Ti the model plus Ultra decoder draws about 117 frames a second on the GPU; the desk shows about 60–65, limited by the app's CPU-side work. Frame rate depends on the GPU and the app's Batch, Inbetweens and Max FPS settings.
103
+
104
+ The previous `VTM-1.5.1.pt` (distilled from a 10-step teacher, 1 or 2 steps, CFG not baked in) is still in this repo's commit history.
105
+
106
+ ### Ultra fast decoder
107
+
108
+ `decoder/vtm-fast-decoder.pt` is a small PixelShuffle decoder distilled from the Hybrid TinyVAE. It decodes the same SD latents in one pass (a whole live frame takes about 11 ms instead of 17 on an RTX 5060 Ti) and is what VTM Spark's "Ultra fast" stream mode runs. Without it the app falls back to the TinyVAE.
109
 
110
  ### Data
111
 
 
164
  | File | Licence | Commercial use |
165
  |---|---|---|
166
  | `VTM-1.5.1.pt` | Apache-2.0 (ours) | Yes |
167
+ | `decoder/vtm-fast-decoder.pt` | Our training is Apache-2.0, but it is distilled from and warm-started on `cqyan/hybrid-sd-tinyvae`, whose weight licence is **not declared** | **Open question** until that publisher states a licence |
168
  | `trackers/animeseg_hair3.pt` | Our fine-tune of Mask2Former ADE20k weights, which Meta licenses **CC BY-NC 4.0** | **No** |
169
  | `trackers/iris_pose.pt`, `trackers/dwpose_v2.pt` | Our fine-tunes of Ultralytics YOLO-pose pretrained weights, which Ultralytics licenses **AGPL-3.0** | Under AGPL terms |
170
  | `trackers/pose_landmarker_lite.task` | Apache-2.0 (Google / MediaPipe) | Yes |
VTM-1.5.1.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:11e9950405abe5af8ad305f6b38ba053a5794af316fbb004e0c3f5241c895836
3
- size 359464372
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25577fa38195bb3ee5eafba669ee2d9a2241aedd598d2b5be431bdaaca1ffe97
3
+ size 359465662
decoder/vtm-fast-decoder.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02c228fd30bc8afd76b6be32c152809c835e5510d514482abf9e5bc0c17c831d
3
+ size 3894285
media/demo-60fps.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd42690946e55553a02cf0637a014c99d733bc967ee43f78d8cd52485d580db5
3
+ size 5065802