Open-Sora: Democratizing Efficient Video Production for All
Python
debug
Shen-Chenhuib185c5416090
diff --git a/opensora/models/vae/vae_3d.py b/opensora/models/vae/vae_3d.pyindex 617cb21..3580286 100644--- a/opensora/models/vae/vae_3d.py+++ b/opensora/models/vae/vae_3d.py@@ -51,7 +51,7 @@ class ResBlock(nn.Module):def forward(self, x):- device, dtype = x.dtype+ device, dtype = x.device, x.dtypeinput_dim = x.shape[1]residual = xx = self.norm1(x).to(dtype)