Skip to content

Commit 6ce07a8

Browse files
committed
Trying fix for vid distortion
1 parent bef52f5 commit 6ce07a8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/maxdiffusion/models/wan/autoencoder_kl_wan.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,6 @@ def __call__(self, x: jax.Array, feat_cache=None, feat_idx=0):
375375
else:
376376
cache_x = jnp.copy(x[:, -1:, :, :, :])
377377
x = self.time_conv(jnp.concatenate([feat_cache[idx][:, -1:, :, :, :], x], axis=1))
378-
# Discard the first frame of output as it corresponds to the cached frame (already processed)
379-
x = x[:, 1:, ...]
380378
feat_cache = _update_cache(feat_cache, idx, cache_x)
381379
feat_idx += 1
382380
else:

0 commit comments

Comments
 (0)