Skip to content

Commit

Permalink
try fix #1761 again (#1680)
Browse files Browse the repository at this point in the history
  • Loading branch information
lllyasviel committed Dec 31, 2023
1 parent 2521af3 commit 0c4f20a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions extras/resampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ def __init__(
)

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)

Expand All @@ -118,4 +117,4 @@ def forward(self, x):
latents = ff(latents) + latents

latents = self.proj_out(latents)
return self.norm_out(latents)
return self.norm_out(latents)
2 changes: 1 addition & 1 deletion fooocus_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '2.1.858'
version = '2.1.859'

0 comments on commit 0c4f20a

Please sign in to comment.