Instructions to use QuantFunc/LTX-2.5-QuantFunc-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use QuantFunc/LTX-2.5-QuantFunc-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("QuantFunc/LTX-2.5-QuantFunc-4bit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("QuantFunc/LTX-2.5-QuantFunc-4bit", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]๐ Website | ๐ ComfyUI-QuantFunc | ๐ Python SDK | ๐ค Hugging Face | ๐ค ModelScope | ๐จ Civitai | ๐ฎ Discord
LTX-2.5-QuantFunc-4bit
True 4-bit compression (~1/3 the footprint), BF16-level quality held.
QuantFunc INT4 compresses 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.
Showcase
All clips below were generated by LTX-2.5-QuantFunc-4bit โ click a player to watch with audio.
| Arctic Aurora | Cathedral Cello |
|---|---|
| Volcanic Lava | Abyssal Jellyfish |
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).
Why pure 4-bit holds up
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:
- 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.
- Composite residual smoothing: Combined in-house smoothing transforms further flatten residual outliers so the 4-bit grid covers the true distribution with minimal error.
Swap one loader, keep the rest of your workflow
- Install or update ComfyUI-QuantFunc (
>= 0.0.08, or Quantfunc-Python-SDK for Python integration; QuantFunc PC Engine>= 0.0.18). - Download
ltx-2.5-22b-distilled-quantfunc-int4-r128.safetensorsfrom the table below. - Swap your model loader for the QuantFunc LTX loader and select the downloaded weight file.
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.
RTX 20-series through RTX 50-series, one build covers it all
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.
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.
Choose a model
| Variant | File | Size | SVDQuant Rank | Format | Recommended use |
|---|---|---|---|---|---|
| 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 |
Required inference settings (distilled schedule)
This is the distilled joint video+audio checkpoint and must be sampled with its native distilled schedule (generic schedules degrade output):
- 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 - Stage 2 Sigma schedule (3 steps, upscaled refinement):
0.85, 0.7250, 0.4219, 0.0 - CFG:
1.0(guidance-distilled model, no classifier-free guidance) - STG: disabled
Loading
Weights use QuantFunc's own sealed safetensors format (quantization parameters and metadata are sealed).
Load with ComfyUI-QuantFunc (>= 0.0.08) or 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 โ not because the file loads via the diffusers package.)
If the model isn't recognized or fails to load, update ComfyUI-QuantFunc to the latest version and restart ComfyUI.
Technical details
- INT4 weights ร INT4 activations (W4A4 / A4W4)
- SVDQuant rank 128 low-rank residual branch + composite residual smoothing
- Joint 22B video + 48 kHz synchronized stereo audio DiT (distilled)
- Supported GPU architectures: NVIDIA SM75 / SM86 / SM89 / SM120
- SHA256:
781356c78f7d40d3f9787e34eee5bba9c43cd20b4435f8de1090d7f6cfb97bc6
Source & license
This repository distributes derived post-training quantized weights produced from Lightricks/LTX-2.5 (ltx-2.5-22b-distilled-transformer-bf16.safetensors, ~42 GB BF16; upstream repo: github.com/Lightricks/LTX-2).
LTX-2.5 and its derivative weights follow the LTX-2 Community License Agreement (license text). QuantFunc's quantization tooling and implementation follow their own respective licenses. Please read and comply with the original model's license terms before use.
Community
- ๐ QuantFunc website
- ๐ ComfyUI-QuantFunc on GitHub
- ๐ Quantfunc-Python-SDK on GitHub
- ๐จ Civitai
- ๐ฎ Discord
- Downloads last month
- 182
Model tree for QuantFunc/LTX-2.5-QuantFunc-4bit
Base model
Lightricks/LTX-2.5