From 5c040ebe8d73e417b049c5d88267b0c8c64007c2 Mon Sep 17 00:00:00 2001 From: drozbay <17261091+drozbay@users.noreply.github.com> Date: Mon, 10 Aug 2026 20:05:19 -0600 Subject: [PATCH] Copy the cropped guide audio latent instead of keeping a view --- comfy_extras/nodes_minimax_h3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy_extras/nodes_minimax_h3.py b/comfy_extras/nodes_minimax_h3.py index 2999cefbf..0a08f185f 100644 --- a/comfy_extras/nodes_minimax_h3.py +++ b/comfy_extras/nodes_minimax_h3.py @@ -227,7 +227,7 @@ class MiniMaxH3AddGuide(io.ComfyNode): if max_rt < 1: raise ValueError("frame_idx {} is past the end of the video's audio track".format(frame_idx)) if audio_rt > max_rt: - audio_latent = audio_latent[..., :max_rt] + audio_latent = audio_latent[..., :max_rt].clone() keyframe["audio_latent"] = audio_latent keyframes = list(positive[0][1].get("minimax_keyframes", []))