Skip to content

Conversation

@q5sys
Copy link

@q5sys q5sys commented Jan 8, 2026

I figure its eaiser to fix the docs than the code since runners may exist that already depend on the exact VAR name.

Docs say:
--distilled-lora-path path/to/distilled_lora.safetensors \ @ https://github.com/Lightricks/LTX-2/edit/main/packages/ltx-pipelines/README.md

but the code says:
distilled_lora: list[LoraPathStrengthAndSDOps],
@ https://github.com/Lightricks/LTX-2/blob/main/packages/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py#L52

Which causes a failure when the docs are followed:

python -m ltx_pipelines.ti2vid_two_stages \
--checkpoint-path /zstor/ai/ltx2/LTX-2/ltx-2-19b-dev.safetensors \
--distilled-lora-path /zstor/ai/ltx2/LTX-2/ltx-2-19b-distilled-lora-384.safetensors \
--spatial-upsampler-path /zstor/ai/ltx2/LTX-2/ltx-2-spatial-upscaler-x2-1.0.safetensors \
--gemma-root /zstor/ai/ltx2/ComfyUI/models/text_encoders/gemma_3_12B/ \
--prompt "a beautiful sunset over the ocean" \
--negative-prompt "blurry, out of focus" \
--output-path output.mp4 \
--height 480 \
--width 720 \
--frame-rate 24 \
--num-frames 96 \
--num-inference-steps 40 \
--cfg-guidance-scale 4 \
--seed 42 \
--enable-fp8

Error:

ti2vid_two_stages.py: error: the following arguments are required: --distilled-lora

I figure its eaiser to fix the docs than the code since runners may exist that already depend on the exact VAR name.    
    
Docs say:
`--distilled-lora-path path/to/distilled_lora.safetensors \`
@ https://github.com/Lightricks/LTX-2/edit/main/packages/ltx-pipelines/README.md
    
but the code says: 
`distilled_lora: list[LoraPathStrengthAndSDOps],`
@ https://github.com/Lightricks/LTX-2/blob/main/packages/ltx-pipelines/src/ltx_pipelines/ti2vid_two_stages.py#L52
    



Which causes a failure when the docs are followed:
    
```
python -m ltx_pipelines.ti2vid_two_stages \
--checkpoint-path /zstor/ai/ltx2/LTX-2/ltx-2-19b-dev.safetensors \
--distilled-lora-path /zstor/ai/ltx2/LTX-2/ltx-2-19b-distilled-lora-384.safetensors \
--spatial-upsampler-path /zstor/ai/ltx2/LTX-2/ltx-2-spatial-upscaler-x2-1.0.safetensors \
--gemma-root /zstor/ai/ltx2/ComfyUI/models/text_encoders/gemma_3_12B/ \
--prompt "a beautiful sunset over the ocean" \
--negative-prompt "blurry, out of focus" \
--output-path output.mp4 \
--height 480 \
--width 720 \
--frame-rate 24 \
--num-frames 96 \
--num-inference-steps 40 \
--cfg-guidance-scale 4 \
--seed 42 \
--enable-fp8
```

Error:
  
`ti2vid_two_stages.py: error: the following arguments are required: --distilled-lora`
@q5sys
Copy link
Author

q5sys commented Jan 8, 2026

derp... didn't check to see if there was already a PR for this. Turns out #20 covers it.
Closing PR as dupe.

@q5sys q5sys closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant