Open-Sora: Democratizing Efficient Video Production for All
Python
debug
shenchenhuibdf8a1d1443b
diff --git a/opensora/models/vae/vae_3d.py b/opensora/models/vae/vae_3d.pyindex 50eac96..e7f81c9 100644--- a/opensora/models/vae/vae_3d.py+++ b/opensora/models/vae/vae_3d.py@@ -214,7 +214,7 @@ class Decoder(nn.Module):activation_fn = 'swish',dtype=torch.bfloat16,):-+ super().__init__()self.output_dim = in_out_channelsself.embedding_dim = latent_embed_dimself.filters = filters@@ -363,7 +363,7 @@ class VAE_3D(nn.Module):dtype=torch.bfloat16,# precision: Any = jax.lax.Precision.DEFAULT):-+ super().__init__()if type(dtype) == str:if dtype == "bf16":dtype = torch.bfloat16