File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,6 +172,19 @@ To generate images, run the following command:
172172 python -m src.maxdiffusion.generate src/maxdiffusion/configs/base21.yml run_name=" my_run"
173173 ` ` `
174174
175+ - ** LTX Video**
176+ 1. In the folder src/maxdiffusion/models/ltx_video/utils, run:
177+ ` ` ` bash
178+ python convert_torch_weights_to_jax.py --ckpt_path [LOCAL DIRECTORY FOR WEIGHTS] --transformer_config_path ../xora_v1.2-13B-balanced-128.json
179+ ` ` `
180+ 2. In the repo folder, run:
181+ ` ` ` bash
182+ 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"
183+ ` ` `
184+ 3. Other generation parameters can be set in ltx_video.yml file.
185+
186+
187+
175188 # # Flux
176189
177190 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