Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f357b98
Add modular pipeline support for LTX Video
akshan-main Apr 1, 2026
11b891c
Fix guidance_scale passthrough to guider
akshan-main Apr 1, 2026
4d2d73e
Add LTX modular pipeline tests
akshan-main Apr 1, 2026
7b645e6
Add LTX image-to-video modular pipeline
akshan-main Apr 1, 2026
7491d56
Fix i2v VAE dtype mismatch
akshan-main Apr 1, 2026
1e53507
Add cache_context to denoiser for CFG parity
akshan-main Apr 1, 2026
322727d
Address review feedback
akshan-main Apr 1, 2026
4b644f7
Generate auto docstrings for LTX assembled blocks
akshan-main Apr 3, 2026
3da70da
Fix ruff lint and format issues
akshan-main Apr 3, 2026
38cfc86
use InputParam/OutputParam templates and ruff check
akshan-main Apr 3, 2026
6c67800
Merge branch 'main' into modular-ltx
yiyixuxu Apr 3, 2026
69c10cf
address all review
akshan-main Apr 3, 2026
d8e14c4
Merge branch 'main' into modular-ltx
yiyixuxu Apr 7, 2026
dc84cc8
Lift LTXVaeEncoderStep out of I2V core denoise into its own auto block
akshan-main Apr 7, 2026
a3d9b04
unused declarations
akshan-main Apr 7, 2026
a972af0
Fix check_copies: sync retrieve_timesteps and drop unsupported Copied…
akshan-main Apr 8, 2026
e5aeaf9
Address review: remove unused code, add LTXAutoBlocks, refactor I2V l…
akshan-main Apr 9, 2026
4ffeb86
removed LTXBlocks,LTXImage2VideoBlocks
akshan-main Apr 10, 2026
d44f24c
Update test to use LTXAutoBlocks
akshan-main Apr 10, 2026
4769f19
Merge branch 'main' into modular-ltx
yiyixuxu Apr 10, 2026
310ec7c
workflow map and auto docstring
akshan-main Apr 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/diffusers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@
"HeliosPyramidDistilledAutoBlocks",
"HeliosPyramidDistilledModularPipeline",
"HeliosPyramidModularPipeline",
"LTXAutoBlocks",
"LTXModularPipeline",
"QwenImageAutoBlocks",
"QwenImageEditAutoBlocks",
"QwenImageEditModularPipeline",
Expand Down Expand Up @@ -1234,6 +1236,8 @@
HeliosPyramidDistilledAutoBlocks,
HeliosPyramidDistilledModularPipeline,
HeliosPyramidModularPipeline,
LTXAutoBlocks,
LTXModularPipeline,
QwenImageAutoBlocks,
QwenImageEditAutoBlocks,
QwenImageEditModularPipeline,
Expand Down
5 changes: 5 additions & 0 deletions src/diffusers/modular_pipelines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@
"QwenImageLayeredModularPipeline",
"QwenImageLayeredAutoBlocks",
]
_import_structure["ltx"] = [
"LTXAutoBlocks",
"LTXModularPipeline",
]
_import_structure["z_image"] = [
"ZImageAutoBlocks",
"ZImageModularPipeline",
Expand Down Expand Up @@ -119,6 +123,7 @@
HeliosPyramidDistilledModularPipeline,
HeliosPyramidModularPipeline,
)
from .ltx import LTXAutoBlocks, LTXModularPipeline
from .modular_pipeline import (
AutoPipelineBlocks,
BlockState,
Expand Down
47 changes: 47 additions & 0 deletions src/diffusers/modular_pipelines/ltx/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
from typing import TYPE_CHECKING

from ...utils import (
DIFFUSERS_SLOW_IMPORT,
OptionalDependencyNotAvailable,
_LazyModule,
get_objects_from_module,
is_torch_available,
is_transformers_available,
)


_dummy_objects = {}
_import_structure = {}

try:
if not (is_transformers_available() and is_torch_available()):
raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
from ...utils import dummy_torch_and_transformers_objects # noqa F403

_dummy_objects.update(get_objects_from_module(dummy_torch_and_transformers_objects))
else:
_import_structure["modular_blocks_ltx"] = ["LTXAutoBlocks", "LTXBlocks", "LTXImage2VideoBlocks"]
_import_structure["modular_pipeline"] = ["LTXModularPipeline"]

if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
try:
if not (is_transformers_available() and is_torch_available()):
raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
from ...utils.dummy_torch_and_transformers_objects import * # noqa F403
else:
from .modular_blocks_ltx import LTXAutoBlocks, LTXBlocks, LTXImage2VideoBlocks
from .modular_pipeline import LTXModularPipeline
else:
import sys

sys.modules[__name__] = _LazyModule(
__name__,
globals()["__file__"],
_import_structure,
module_spec=__spec__,
)

for name, value in _dummy_objects.items():
setattr(sys.modules[__name__], name, value)
Loading
Loading