try fix #1761 again (#1680)

This commit is contained in:
lllyasviel 2023-12-31 04:38:31 -08:00 committed by GitHub
parent 2521af308b
commit 0c4f20a0d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -108,8 +108,7 @@ class Resampler(nn.Module):
)
def forward(self, x):
latents = self.latents.repeat(x.size(0), 1, 1)
latents = self.latents.repeat(x.size(0), 1, 1).to(x)
x = self.proj_in(x)
@ -118,4 +117,4 @@ class Resampler(nn.Module):
latents = ff(latents) + latents
latents = self.proj_out(latents)
return self.norm_out(latents)
return self.norm_out(latents)

View File

@ -1 +1 @@
version = '2.1.858'
version = '2.1.859'