Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71f2ef42fd | ||
|
|
d4d3fd0ff3 |
+2
-3
@@ -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
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user