Skip to content

Commit 9a77820

Browse files
committed
perturbed attn = true in transformer
1 parent 5c92e70 commit 9a77820

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/maxdiffusion/pipelines/ltx2/ltx2_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def create_model(rngs: nnx.Rngs, ltx2_config: dict):
111111
transformer = LTX2VideoTransformer3DModel(
112112
**ltx2_config,
113113
spatio_temporal_guidance_blocks=tuple(getattr(config, "spatio_temporal_guidance_blocks", ())),
114+
perturbed_attn=getattr(config, "model_name", "") == "ltx2.3",
114115
rngs=rngs
115116
)
116117
return transformer

0 commit comments

Comments
 (0)