Open-Sora: Democratizing Efficient Video Production for All
Python
[hotfix] update latte_t2v.py (#44)
Ikko Eltociear Ashiminefa5b8d2a22f9
diff --git a/open_sora/modeling/latte/latte_t2v.py b/open_sora/modeling/latte/latte_t2v.pyindex 5c1360b..7c4de50 100644--- a/open_sora/modeling/latte/latte_t2v.py+++ b/open_sora/modeling/latte/latte_t2v.py@@ -775,7 +775,7 @@ class LatteT2V(ModelMixin, ConfigMixin):height, width = hidden_states.shape[-2] // self.patch_size, hidden_states.shape[-1] // self.patch_sizenum_patches = height * width- hidden_states = self.pos_embed(hidden_states) # alrady add positional embeddings+ hidden_states = self.pos_embed(hidden_states) # already add positional embeddingsif self.adaln_single is not None:if self.use_additional_conditions and added_cond_kwargs is None: