2 Commits
Author SHA1 Message Date
blepping 71f2ef42fd Bump version 2024-08-17 22:13:03 -06:00
blepping d4d3fd0ff3 Fix issue with controlnet workaround 2024-08-17 01:34:02 -06:00
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -61,9 +61,8 @@ class HDState:
self.orig_apply_control = openaimodel.apply_control
self.orig_fua_apply_control = None
@classmethod
def hd_apply_control(
cls,
self,
h: torch.Tensor,
control: None | dict,
name: str,
@@ -78,7 +77,7 @@ class HDState:
logging.info(
f"* jankhidiffusion: Scaling controlnet conditioning: {ctrl.shape[-2:]} -> {h.shape[-2:]}",
)
ctrl = F.interpolate(ctrl, size=h.shape[-2:], **cls.controlnet_scale_args)
ctrl = F.interpolate(ctrl, size=h.shape[-2:], **self.controlnet_scale_args)
h += ctrl
return h
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_jankhidiffusion"
description = "Janky implementation of HiDiffusion for ComfyUI. Enables generating at resolutions higher than what the model was trained for. Only supports SD 1.x (maybe 2.x) and SDXL."
version = "0.8.1"
version = "0.8.2"
license = { file = "LICENSE" }
[project.urls]