Remove current_device from ModelPatcher init to match latest ComfyUI, fix pyproject.tomp license field

This commit is contained in:
Jedrzej Kosinski
2024-08-06 17:28:56 -05:00
parent f6d622a80b
commit 47d0115912
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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][:]
+2 -2
View File
@@ -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]