File size: 650 Bytes
5a956f9 04bf968 5a956f9 d1e379f 04bf968 d1e379f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
---
license: mit
---
# Example

Use newest diffuser ltx-2 PR,convert ltx2 to diffusers models.
A test models ,need newest pipelines
need this PR [https://github.com/huggingface/diffusers/pull/12915 ](https://github.com/huggingface/diffusers/pull/12915)
```
python scripts/ltx2_test_full_pipeline.py \
--model_id Lightricks/LTX-2 \
--revision refs/pr/3 \
--cpu_offload
```
```
python scripts/ltx2_test_full_pipeline_i2v.py \
--model_id /path/to/diffusers/model/ \
--image_path https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/astronaut.jpg \
--cpu_offload
``` |