fix: Cover semantic hint - tensor -> bool

This commit is contained in:
RyanOnTheInside
2026-02-06 18:12:27 -05:00
parent 0aeba3dc8e
commit dfb20755f8
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -143,6 +143,13 @@ def _create_patched_ace_step15_forward(original_forward):
if chunk_masks is None:
chunk_masks = torch.ones_like(x)
# Stock prepare_condition uses identity checks (is_covers is True / is False)
# which fail for tensors. Convert to Python bool so the lm_hints branch triggers.
# Only convert truthy tensors — falsy (extend/repaint) must stay as tensor so
# neither branch triggers and src_latents is left unchanged.
if isinstance(is_covers, torch.Tensor) and is_covers.any().item():
is_covers = True
enc_hidden, enc_mask, context_latents = self.prepare_condition(
text_hidden_states, text_attention_mask,
lyric_hidden_states, lyric_attention_mask,
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_ryanonyheinside"
description = "Custom nodes introducing everything-reactivity and timelines to ComfyUI"
version = "2.1.1"
version = "2.1.2"
license = {file = "LICENSE"}
dependencies = ["pygame", "opencv-python>=4.5.0", "scipy", "torchaudio", "pillow", "librosa>=0.10.1", "pymunk>=6.8.0,<7.0.0", "matplotlib", "openunmix", "mido", "scikit-image"]