|
|
--- |
|
|
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 |
|
|
``` |