This project provides an open-source Python converter and pre-quantized weights engineered specifically for ComfyUI on consumer GPUs (e.g. NVIDIA RTX 4090 24GB), achieving full video generation in ~99 seconds without quality loss or PCIe swapping.
Unlike experimental NVFP4 / Blackwell-only builds that require enterprise GPUs (SM120) or unstable torchao dependencies:
To achieve maximum generation speed (~99s) and prevent VRAM overflow on 24GB GPUs:
Naive FP8 casting on DiT (Diffusion Transformer) architectures breaks normalization layers and bias vectors, causing black frames or visual noise. This conversion uses Selective Precision Preservation:
1# Clone the repository
2git clone https://github.com/Guillaume-127/LTX-2.5-FP8.git
3cd LTX-2.5-FP8
4
5# Run conversion using ComfyUI's virtual environment
6python convert_ltx25_fp8.py --input "path/to/ltx-2.5-22b-distilled-transformer-bf16.safetensors" --output "ltx-2.5-22b-distilled-transformer-fp8_e4m3fn.safetensors"