QuantFunc commited on
Commit
0eb39cf
ยท
verified ยท
1 Parent(s): 66845f9

Update LTX-2.5 model card with 4 vertical showcase demos, SM75-SM120 GPU support, and Python SDK

Browse files
Files changed (3) hide show
  1. README.md +54 -42
  2. assets/ltx25_case4.mp4 +2 -2
  3. assets/ltx25_case4.webp +2 -2
README.md CHANGED
@@ -25,34 +25,34 @@ tags:
25
 
26
  <div align="center" style="margin-top: 50px;">
27
  <a href="https://github.com/QuantFunc/ComfyUI-QuantFunc">
28
- <img src="https://raw.githubusercontent.com/QuantFunc/ComfyUI-QuantFunc/main/assets/logo.webp" width="300" alt="QuantFunc Logo">
29
  </a>
30
  </div>
31
 
32
  <p align="center">
33
- ๐ŸŒ <a href="https://www.quantfunc.com/">QuantFunc</a> &nbsp;|&nbsp;
34
  ๐Ÿ™ <a href="https://github.com/QuantFunc/ComfyUI-QuantFunc">ComfyUI-QuantFunc</a> &nbsp;|&nbsp;
35
  ๐Ÿ <a href="https://github.com/QuantFunc/Quantfunc-Python-SDK">Python SDK</a> &nbsp;|&nbsp;
36
  ๐Ÿค— <a href="https://huggingface.co/QuantFunc">Hugging Face</a> &nbsp;|&nbsp;
37
  ๐Ÿค– <a href="https://www.modelscope.cn/profile/QuantFunc">ModelScope</a> &nbsp;|&nbsp;
38
- ๐Ÿ’ฌ <a href="#wechat">WeChat</a> &nbsp;|&nbsp;
39
  ๐ŸŽฎ <a href="https://discord.gg/jCp9TpFWcn">Discord</a>
40
  </p>
41
 
42
  # LTX-2.5-QuantFunc-4bit
43
 
44
- **4-bit quantized [Lightricks LTX-2.5](https://huggingface.co/Lightricks/LTX-2.5) (22B distilled) โ€” BF16-level visual & synchronized audio fidelity at roughly 1/3 the model footprint.**
45
 
46
- QuantFunc INT4 compresses the 22B joint audio-video DiT down to **~14.71 GiB** (`15.79 GB`, `a4w4` SVDQuant rank-128) while preserving sharp spatial detail, smooth temporal motion, and native 48 kHz synchronized audio generation.
47
 
48
  ## Showcase
49
 
50
- All vertical clips below were generated by `LTX-2.5-QuantFunc-4bit` (`896 ร— 1152`, 121 frames, 24 FPS, 48 kHz synchronized stereo audio, two-stage I2V). Click any player to watch with sound.
51
 
52
  <table>
53
  <tr>
54
- <th>Arctic Aurora Lagoon</th>
55
- <th>Cathedral Cello Solo</th>
56
  </tr>
57
  <tr>
58
  <td>
@@ -67,8 +67,8 @@ All vertical clips below were generated by `LTX-2.5-QuantFunc-4bit` (`896 ร— 115
67
  </td>
68
  </tr>
69
  <tr>
70
- <th>Volcanic Lava Meets Ocean</th>
71
- <th>Cosmic Galaxy Jellyfish</th>
72
  </tr>
73
  <tr>
74
  <td>
@@ -84,58 +84,70 @@ All vertical clips below were generated by `LTX-2.5-QuantFunc-4bit` (`896 ร— 115
84
  </tr>
85
  </table>
86
 
87
- > Poster frames are extracted from the first frame of each clip (`896 ร— 1152`, 121 frames, 24 FPS, ~5s, 48 kHz synchronized audio).
88
 
89
  ## Why pure 4-bit holds up
90
 
91
- Compressing a 22B joint video+audio DiT to **4-bit activations ร— 4-bit weights (`a4w4`)** is primarily challenged by activation outliers that blow up the 4-bit dynamic range and cause blur or detail loss. QuantFunc introduces two layers of algorithmic improvements over standard SVDQuant:
92
 
93
- 1. **Enhanced low-rank outlier absorption**: Our low-rank residual branch captures substantially more activation outlier energy before 4-bit quantization, leaving a much cleaner distribution for the main 4-bit path.
94
- 2. **Composite residual smoothing**: Multiple in-house smoothing transforms further flatten residual outliers so the 4-bit grid covers the distribution with minimal quantization error.
95
 
96
- ## Broad Consumer & Workstation GPU Support
97
 
98
- Supports NVIDIA **SM75 / SM86 / SM89 / SM120** GPUs โ€” covering **RTX 20 / 30 / 40 / 50 series**, as well as **T4, A10 / A40, L4 / L40, and RTX 6000 Ada / PRO 6000 Blackwell** (runs even on 8 GB VRAM GPUs such as RTX 5060 Ti with dynamic VRAM offloading).
 
 
99
 
100
- ## Files
101
 
102
- Quantizes [`ltx-2.5-22b-distilled-transformer-bf16.safetensors`](https://huggingface.co/Lightricks/LTX-2.5) from **Lightricks LTX-2.5 (22B distilled)**:
103
 
104
- | File | Format | Size | Supported GPUs |
105
- |---|---|---:|---|
106
- | `ltx-2.5-22b-distilled-quantfunc-int4-r128.safetensors` | INT4 weights / INT4 activations (SVDQuant, rank-128) | 15.79 GB (~14.71 GiB) | NVIDIA SM75 / SM86 / SM89 / SM120 (RTX 20/30/40/50, T4, A10/A40, L4/L40, RTX 6000 Ada / PRO 6000 Blackwell) |
107
 
108
- ## Quick Start
109
 
110
- 1. Install or update **[ComfyUI-QuantFunc](https://github.com/QuantFunc/ComfyUI-QuantFunc)** (`>= 0.0.08`) โ€” or use **[Quantfunc-Python-SDK](https://github.com/QuantFunc/Quantfunc-Python-SDK)** for Python / Diffusers integration (Engine `>= 0.0.18`).
111
- 2. Download `ltx-2.5-22b-distilled-quantfunc-int4-r128.safetensors`.
112
- 3. Swap the standard transformer loader for the QuantFunc loader; keep the rest of your LTX-2.5 workflow (text encoder, VAE, audio VAE, latent upscaler, prompts) unchanged.
113
 
114
- > This is a **QuantFunc sealed Safetensors** checkpoint and cannot be loaded directly by vanilla `diffusers` or stock ComfyUI loaders.
 
 
115
 
116
- ## Required Inference Settings (Distilled Schedule)
117
 
118
- This is the **distilled** joint video+audio checkpoint and must be sampled with its native distilled schedule:
119
 
120
  - **Stage 1 Sigma schedule (8 steps, fixed):** `1.0, 0.99375, 0.9875, 0.98125, 0.975, 0.909375, 0.725, 0.421875, 0.0`
121
  - **Stage 2 Sigma schedule (3 steps, upscaled refinement):** `0.85, 0.7250, 0.4219, 0.0`
122
- - **CFG:** `1.0` (guidance-distilled model)
123
  - **STG:** disabled
124
 
125
- ## Base Model & License
126
 
127
- - Base checkpoint: [`Lightricks/LTX-2.5`](https://huggingface.co/Lightricks/LTX-2.5) โ†’ `ltx-2.5-22b-distilled-transformer-bf16.safetensors` (~42 GB, BF16)
128
- - Upstream repository: [github.com/Lightricks/LTX-2](https://github.com/Lightricks/LTX-2)
129
- - License: **LTX-2 Community License Agreement** ([license text](https://github.com/Lightricks/LTX-2/blob/main/LICENSE)). This repository redistributes derived post-training quantized weights only.
130
 
131
- ## Community
132
 
133
- - ๐ŸŒ [QuantFunc Website](https://www.quantfunc.com/)
134
- - ๐Ÿ™ [ComfyUI-QuantFunc GitHub](https://github.com/QuantFunc/ComfyUI-QuantFunc)
135
- - ๐Ÿ [Quantfunc-Python-SDK GitHub](https://github.com/QuantFunc/Quantfunc-Python-SDK)
136
- - ๐ŸŽฎ [Discord Server](https://discord.gg/jCp9TpFWcn)
137
- - ๐Ÿ’ฌ Scan below to join our WeChat group
138
 
139
- <div align="center" id="wechat">
140
- <img src="https://raw.githubusercontent.com/QuantFunc/ComfyUI-QuantFunc/main/assets/WeChat.jpg" alt="QuantFunc WeChat QR" width="300">
141
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
  <div align="center" style="margin-top: 50px;">
27
  <a href="https://github.com/QuantFunc/ComfyUI-QuantFunc">
28
+ <img src="https://raw.githubusercontent.com/QuantFunc/ComfyUI-QuantFunc/main/assets/logo.webp" width="300" alt="QuantFunc logo">
29
  </a>
30
  </div>
31
 
32
  <p align="center">
33
+ ๐ŸŒ <a href="https://www.quantfunc.com/">Website</a> &nbsp;|&nbsp;
34
  ๐Ÿ™ <a href="https://github.com/QuantFunc/ComfyUI-QuantFunc">ComfyUI-QuantFunc</a> &nbsp;|&nbsp;
35
  ๐Ÿ <a href="https://github.com/QuantFunc/Quantfunc-Python-SDK">Python SDK</a> &nbsp;|&nbsp;
36
  ๐Ÿค— <a href="https://huggingface.co/QuantFunc">Hugging Face</a> &nbsp;|&nbsp;
37
  ๐Ÿค– <a href="https://www.modelscope.cn/profile/QuantFunc">ModelScope</a> &nbsp;|&nbsp;
38
+ ๐ŸŽจ <a href="https://civitai.com/user/quantfunc">Civitai</a> &nbsp;|&nbsp;
39
  ๐ŸŽฎ <a href="https://discord.gg/jCp9TpFWcn">Discord</a>
40
  </p>
41
 
42
  # LTX-2.5-QuantFunc-4bit
43
 
44
+ **True 4-bit compression (~1/3 the footprint), BF16-level quality held.**
45
 
46
+ QuantFunc INT4 compresses [Lightricks LTX-2.5](https://huggingface.co/Lightricks/LTX-2.5) (22B distilled) core transformer weights and activations to 4-bit (**A4W4** SVDQuant rank-128), reducing the 42 GB BF16 checkpoint down to **15.79 GB (~14.71 GiB)**. Fine texture, lighting, smooth temporal motion, and native 48 kHz synchronized stereo audio stay clear and coherent.
47
 
48
  ## Showcase
49
 
50
+ All clips below were generated by LTX-2.5-QuantFunc-4bit โ€” click a player to watch with audio.
51
 
52
  <table>
53
  <tr>
54
+ <th>Arctic Aurora</th>
55
+ <th>Cathedral Cello</th>
56
  </tr>
57
  <tr>
58
  <td>
 
67
  </td>
68
  </tr>
69
  <tr>
70
+ <th>Volcanic Lava</th>
71
+ <th>Abyssal Jellyfish</th>
72
  </tr>
73
  <tr>
74
  <td>
 
84
  </tr>
85
  </table>
86
 
87
+ > Poster frames are the first frame of each clip. Showcase spec: 896 ร— 1152, 121 frames, 24 FPS, ~5s, 48 kHz synchronized stereo audio (two-stage I2V).
88
 
89
  ## Why pure 4-bit holds up
90
 
91
+ Compressing a 22B joint video+audio DiT to **4-bit activations ร— 4-bit weights (pure A4W4)** is primarily challenged by activation outliers that blow up the 4-bit dynamic range and cause blur or detail loss. QuantFunc adds two layers of algorithmic enhancement on top of SVDQuant:
92
 
93
+ 1. **Enhanced low-rank outlier absorption:** Our rank-128 low-rank branch absorbs substantially more activation outlier energy before 4-bit quantization, leaving a much cleaner distribution for the main 4-bit path.
94
+ 2. **Composite residual smoothing:** Combined in-house smoothing transforms further flatten residual outliers so the 4-bit grid covers the true distribution with minimal error.
95
 
96
+ ## Swap one loader, keep the rest of your workflow
97
 
98
+ 1. Install or update [ComfyUI-QuantFunc](https://github.com/QuantFunc/ComfyUI-QuantFunc) (`>= 0.0.08`, or [Quantfunc-Python-SDK](https://github.com/QuantFunc/Quantfunc-Python-SDK) for Python integration; QuantFunc PC Engine `>= 0.0.18`).
99
+ 2. Download `ltx-2.5-22b-distilled-quantfunc-int4-r128.safetensors` from the table below.
100
+ 3. Swap your model loader for the QuantFunc LTX loader and select the downloaded weight file.
101
 
102
+ Prompts, input images, text encoder (`gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors`), video/audio VAEs, latent upscaler, and the rest of your LTX-2.5 workflow stay unchanged.
103
 
104
+ ## RTX 20-series through RTX 50-series, one build covers it all
105
 
106
+ Supports NVIDIA **SM75 / SM86 / SM89 / SM120** GPUs โ€” covering **RTX 20 / 30 / 40 / 50 series**, as well as **T4, A10 / A40, L4 / L40, RTX 6000 Ada, and RTX PRO 6000 Blackwell**.
 
 
107
 
108
+ 4-bit weights cut weight memory and bandwidth roughly 3x compared to BF16, making LTX-2.5 22B practical on consumer GPUs (including 8 GB VRAM cards such as RTX 5060 Ti with dynamic VRAM offloading). Actual VRAM needs depend on resolution, frame count, and the rest of your workflow.
109
 
110
+ ## Choose a model
 
 
111
 
112
+ | Variant | File | Size | SVDQuant Rank | Format | Recommended use |
113
+ |---|---|---:|---:|---|---|
114
+ | **LTX-2.5 22B Distilled** | `ltx-2.5-22b-distilled-quantfunc-int4-r128.safetensors` | 15.79 GB (~14.71 GiB) | **r128** | INT4 weights ร— INT4 activations (A4W4) | Two-stage T2V / I2V joint video + 48 kHz synchronized audio generation |
115
 
116
+ ### Required inference settings (distilled schedule)
117
 
118
+ This is the **distilled** joint video+audio checkpoint and must be sampled with its native distilled schedule (generic schedules degrade output):
119
 
120
  - **Stage 1 Sigma schedule (8 steps, fixed):** `1.0, 0.99375, 0.9875, 0.98125, 0.975, 0.909375, 0.725, 0.421875, 0.0`
121
  - **Stage 2 Sigma schedule (3 steps, upscaled refinement):** `0.85, 0.7250, 0.4219, 0.0`
122
+ - **CFG:** `1.0` (guidance-distilled model, no classifier-free guidance)
123
  - **STG:** disabled
124
 
125
+ ## Loading
126
 
127
+ Weights use QuantFunc's own sealed safetensors format (quantization parameters and metadata are sealed).
 
 
128
 
129
+ Load with **[ComfyUI-QuantFunc](https://github.com/QuantFunc/ComfyUI-QuantFunc)** (`>= 0.0.08`) or **[Quantfunc-Python-SDK](https://github.com/QuantFunc/Quantfunc-Python-SDK)** (QuantFunc PC Engine `>= 0.0.18`) โ€” this is not a drop-in Diffusers or stock ComfyUI checkpoint. (This repo declares `library_name: diffusers` purely so Hugging Face counts real downloads of the flat `.safetensors` file above โ€” see [HF's download-stats docs](https://huggingface.co/docs/hub/models-download-stats) โ€” not because the file loads via the `diffusers` package.)
130
 
131
+ If the model isn't recognized or fails to load, update ComfyUI-QuantFunc to the latest version and restart ComfyUI.
 
 
 
 
132
 
133
+ ## Technical details
134
+
135
+ - INT4 weights ร— INT4 activations (W4A4 / A4W4)
136
+ - SVDQuant rank 128 low-rank residual branch + composite residual smoothing
137
+ - Joint 22B video + 48 kHz synchronized stereo audio DiT (distilled)
138
+ - Supported GPU architectures: NVIDIA SM75 / SM86 / SM89 / SM120
139
+ - SHA256: `781356c78f7d40d3f9787e34eee5bba9c43cd20b4435f8de1090d7f6cfb97bc6`
140
+
141
+ ## Source & license
142
+
143
+ This repository distributes derived post-training quantized weights produced from [Lightricks/LTX-2.5](https://huggingface.co/Lightricks/LTX-2.5) (`ltx-2.5-22b-distilled-transformer-bf16.safetensors`, ~42 GB BF16; upstream repo: [github.com/Lightricks/LTX-2](https://github.com/Lightricks/LTX-2)).
144
+
145
+ LTX-2.5 and its derivative weights follow the **LTX-2 Community License Agreement** ([license text](https://github.com/Lightricks/LTX-2/blob/main/LICENSE)). QuantFunc's quantization tooling and implementation follow their own respective licenses. Please read and comply with the original model's license terms before use.
146
+
147
+ ## Community
148
+
149
+ - ๐ŸŒ [QuantFunc website](https://www.quantfunc.com/)
150
+ - ๐Ÿ™ [ComfyUI-QuantFunc on GitHub](https://github.com/QuantFunc/ComfyUI-QuantFunc)
151
+ - ๐Ÿ [Quantfunc-Python-SDK on GitHub](https://github.com/QuantFunc/Quantfunc-Python-SDK)
152
+ - ๐ŸŽจ [Civitai](https://civitai.com/user/quantfunc)
153
+ - ๐ŸŽฎ [Discord](https://discord.gg/jCp9TpFWcn)
assets/ltx25_case4.mp4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5af13c5d2b6387b834f40f60920829565ed4de8655f9e37bbfbdd858384c25fa
3
- size 5613034
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:255c023855736d34cb287f7ac04fd611918062d8838598da5369fd9a893e20c3
3
+ size 5042196
assets/ltx25_case4.webp CHANGED

Git LFS Details

  • SHA256: 1567f2bfcabfc4a320179fb706a3c73ee8b9dbf2289026ad1710e8bd45576ef5
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB

Git LFS Details

  • SHA256: 75108f3ab5e6ed0cebb88c3e2c51c934c1020ebe565a17e3c74e179e00493965
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB