diff --git a/mlx_video/models/ltx_2/ltx_2.py b/mlx_video/models/ltx_2/ltx_2.py index ec21a6e..0920f8f 100644 --- a/mlx_video/models/ltx_2/ltx_2.py +++ b/mlx_video/models/ltx_2/ltx_2.py @@ -670,7 +670,7 @@ def from_pretrained(cls, model_path: Path, strict: bool = True) -> "LTXModel": config_dict = {} with open(model_path / "config.json", "r") as f: config_dict = json.load(f) - config = LTXModelConfig(**config_dict) + config = LTXModelConfig.from_dict(config_dict) model = cls(config) weights = {}