Skip to content

Commit 6858a71

Browse files
Merge branch 'ltx2_svg_model' into ltx2_svg_pipeline
2 parents b8acc0f + 1879bc4 commit 6858a71

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎src/maxdiffusion/models/ltx2/attention_ltx2.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,6 @@ def __init__(
355355
enable_jax_named_scopes: bool = False,
356356
attention_config: Optional[dict] = None,
357357
):
358-
for name in ("svg_high_noise_density", "svg_low_noise_density"):
359-
if float((attention_config or {}).get(name, -1.0)) >= 0:
360-
raise ValueError(f"{name} is not supported for LTX-2 (single transformer); use svg_spatial_density.")
361358
svg_config = svg_attention.init_svg_config(attention_config, default_num_layers=48)
362359
for name, value in svg_config.items():
363360
setattr(self, name, value)

0 commit comments

Comments
 (0)