Remove current_device from ModelPatcher init to match latest ComfyUI, fix pyproject.tomp license field
This commit is contained in:
@@ -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
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user