From 6d72960989dc976a11118f3067712dbfe303c87a Mon Sep 17 00:00:00 2001 From: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com> Date: Thu, 2 Jul 2026 23:04:52 -0400 Subject: [PATCH] Fix ruff. --- comfy/ldm/seedvr/model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/comfy/ldm/seedvr/model.py b/comfy/ldm/seedvr/model.py index 872140558..772ec91c5 100644 --- a/comfy/ldm/seedvr/model.py +++ b/comfy/ldm/seedvr/model.py @@ -674,7 +674,6 @@ class NaSwinAttention(NaMMAttention): else: vid_q, vid_k = self.rope(vid_q, vid_k, window_shape, cache_win) - txt_len_win = cache_win("txt_len", lambda: txt_len.repeat_interleave(window_count)) txt_len_win_list = cache_win( "txt_len_list", lambda: [txt_len for txt_len, window_count in zip(txt_len.tolist(), window_count_list) for _ in range(window_count)],