Commit 5a9a941
[modular] Add LTX Video modular pipeline (#13378)
* Add modular pipeline support for LTX Video
* Fix guidance_scale passthrough to guider
* Add LTX modular pipeline tests
* Add LTX image-to-video modular pipeline
* Fix i2v VAE dtype mismatch
* Add cache_context to denoiser for CFG parity
* Address review feedback
* Generate auto docstrings for LTX assembled blocks
* Fix ruff lint and format issues
* use InputParam/OutputParam templates and ruff check
* address all review
* Lift LTXVaeEncoderStep out of I2V core denoise into its own auto block
* unused declarations
* Fix check_copies: sync retrieve_timesteps and drop unsupported Copied from tags
* Address review: remove unused code, add LTXAutoBlocks, refactor I2V latents flow
* removed LTXBlocks,LTXImage2VideoBlocks
* Update test to use LTXAutoBlocks
* workflow map and auto docstring
* Add LTXVideoPachifier, workflow map
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com>1 parent 87beae7 commit 5a9a941
13 files changed
Lines changed: 1996 additions & 0 deletions
File tree
- src/diffusers
- modular_pipelines
- ltx
- utils
- tests/modular_pipelines/ltx
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
458 | 460 | | |
459 | 461 | | |
460 | 462 | | |
| |||
1234 | 1236 | | |
1235 | 1237 | | |
1236 | 1238 | | |
| 1239 | + | |
| 1240 | + | |
1237 | 1241 | | |
1238 | 1242 | | |
1239 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| 126 | + | |
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments