Compare commits

...

3 Commits

Author SHA1 Message Date
sayakpaul
9b92241cbe Merge branch 'main' into qwenimage-lru-cache-bypass 2025-08-23 08:34:44 +05:30
Charles
a0a4127905 Bound 2025-08-21 16:21:02 +02:00
Charles
603172465f [QwenImage] Do not use lru_cache when compiling 2025-08-21 15:30:46 +02:00

View File

@@ -219,7 +219,7 @@ class QwenEmbedRope(nn.Module):
self.rope_cache[rope_key] = self._compute_video_freqs(frame, height, width, idx)
video_freq = self.rope_cache[rope_key]
else:
video_freq = self._compute_video_freqs(frame, height, width, idx)
video_freq = self._compute_video_freqs.__wrapped__(self, frame, height, width, idx)
video_freq = video_freq.to(device)
vid_freqs.append(video_freq)