From 6eb3f2ccb9a4b3b6a6b064e577c454cd7ae2a64f Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Sun, 18 Aug 2024 23:03:57 -0500 Subject: [PATCH 1/2] Fix regression after latest ADE update with float list/tensor scale multival due to forgetting to replace self.sub_idxs = subidxs when exploring if scale_mask creation should be moved down a layer --- animatediff/motion_module_ad.py | 1 + 1 file changed, 1 insertion(+) diff --git a/animatediff/motion_module_ad.py b/animatediff/motion_module_ad.py index 1830266..b66538e 100644 --- a/animatediff/motion_module_ad.py +++ b/animatediff/motion_module_ad.py @@ -920,6 +920,7 @@ def set_cameractrl_effect(self, multival: Union[float, Tensor]): self.temp_cameractrl_effect = None def set_sub_idxs(self, sub_idxs: list[int]): + self.sub_idxs = sub_idxs for block in self.transformer_blocks: block.set_sub_idxs(sub_idxs) From 433339a776abebf7240bb39c48ed4aa0968c861c Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Sun, 18 Aug 2024 23:04:30 -0500 Subject: [PATCH 2/2] version bump --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 35964e5..ce99f35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-animatediff-evolved" description = "Improved AnimateDiff integration for ComfyUI." -version = "1.1.3" +version = "1.1.4" license = { file = "LICENSE" } dependencies = []