Skip to content

Commit 3f29ffe

Browse files
authored
Update ltxvid running instructions
1 parent 8df8dbd commit 3f29ffe

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)