Skip to content

Commit 65fe079

Browse files
committed
ltx instruction update
1 parent 80771b1 commit 65fe079

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)