Instructions to use RuneXX/LTX-2-Workflows with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LTX.io
How to use RuneXX/LTX-2-Workflows with LTX.io:
# Install the LTX-2 pipelines git clone https://github.com/Lightricks/LTX-2.git cd LTX-2 uv sync --frozen
# Download the weights from this repo, plus the Gemma text encoder hf download RuneXX/LTX-2-Workflows --local-dir models/LTX-2-Workflows hf download google/gemma-3-12b-it-qat-q4_0-unquantized --local-dir models/gemma-3-12b
# Fast pipeline (distilled model, no distilled LoRA needed) uv run python -m ltx_pipelines.distilled \ --distilled-checkpoint-path models/LTX-2-Workflows/<distilled-checkpoint>.safetensors \ --spatial-upsampler-path models/LTX-2-Workflows/<spatial-upsampler>.safetensors \ --gemma-root models/gemma-3-12b \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8# HQ pipeline (two-stage, higher quality) uv run python -m ltx_pipelines.ti2vid_two_stages_hq \ --checkpoint-path models/LTX-2-Workflows/<checkpoint>.safetensors \ --distilled-lora models/LTX-2-Workflows/<distilled-lora>.safetensors 0.8 \ --spatial-upsampler-path models/LTX-2-Workflows/<spatial-upsampler>.safetensors \ --gemma-root models/gemma-3-12b \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8 - Notebooks
- Google Colab
- Kaggle
I get this error "TextGenerateLTX2Prompt min() iterable argument is empty". Tried changing a few gemma versions
#23
by pheonis - opened
I get this error "TextGenerateLTX2Prompt-- "min() iterable argument is empty". Tried changing a few gemma versions but that didnt work.
Thats with the prompt enhancer.
If an error its probably a gemma without VL (vision) in the model.
The prompt enhancer is a bit "sensitive" to being correct Gemma, one that can take image inputs (VL) (i'll add some links to gemmas that are proven to work)
Unless something changed in some updates, that broke something.. will check ;-)
i solved it.
pheonis changed discussion status to closed