File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,16 @@ To generate images, run the following command:
171171 ` ` ` bash
172172 python -m src.maxdiffusion.generate src/maxdiffusion/configs/base21.yml run_name=" my_run"
173173 ` ` `
174-
174+ - ** LTX Video**
175+ 1. In the folder src/maxdiffusion/models/ltx_video/utils, run:
176+ ` ` ` bash
177+ python convert_torch_weights_to_jax.py --ckpt_path [LOCAL DIRECTORY FOR WEIGHTS] --transformer_config_path ../xora_v1.2-13B-balanced-128.json
178+ ` ` `
179+ 2. In the repo folder, run:
180+ ` ` ` bash
181+ python src/maxdiffusion/generate_ltx_video.py src/maxdiffusion/configs/ltx_video.yml output_dir=" [SAME DIRECTORY]" config_path=" src/maxdiffusion/models/ltx_video/xora_v1.2-13B-balanced-128.json"
182+ ` ` `
183+ 3. Other generation parameters can be set in ltx_video.yml file.
175184 # # Flux
176185
177186 First make sure you have permissions to access the Flux repos in Huggingface.
You can’t perform that action at this time.
0 commit comments