From 47d011591218126b117d82592a8900169958024d Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Tue, 6 Aug 2024 17:28:56 -0500 Subject: [PATCH] Remove current_device from ModelPatcher init to match latest ComfyUI, fix pyproject.tomp license field --- adv_control/control_sparsectrl.py | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adv_control/control_sparsectrl.py b/adv_control/control_sparsectrl.py index c6e3e98..1a1163f 100644 --- a/adv_control/control_sparsectrl.py +++ b/adv_control/control_sparsectrl.py @@ -138,7 +138,7 @@ class SparseModelPatcher(ModelPatcher): def clone(self): # normal ModelPatcher clone actions - n = SparseModelPatcher(self.model, self.load_device, self.offload_device, self.size, self.current_device, weight_inplace_update=self.weight_inplace_update) + n = SparseModelPatcher(self.model, self.load_device, self.offload_device, self.size, weight_inplace_update=self.weight_inplace_update) n.patches = {} for k in self.patches: n.patches[k] = self.patches[k][:] diff --git a/pyproject.toml b/pyproject.toml index 28657f6..e5484f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [project] name = "comfyui-advanced-controlnet" description = "Nodes for scheduling ControlNet strength across timesteps and batched latents, as well as applying custom weights and attention masks." -version = "1.1.4" -license = "LICENSE" +version = "1.1.5" +license = { file = "LICENSE" } dependencies = [] [project.urls]