Skip to content

Commit

Permalink
make slicing vae compatible with latest diffusers
Browse files Browse the repository at this point in the history
  • Loading branch information
kohya-ss committed Nov 26, 2023
1 parent c61e3bf commit 764e333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/slicing_vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def cat_h(sliced):
return x


def resblock_forward(_self, num_slices, input_tensor, temb):
def resblock_forward(_self, num_slices, input_tensor, temb, **kwargs):
assert _self.upsample is None and _self.downsample is None
assert _self.norm1.num_groups == _self.norm2.num_groups
assert temb is None
Expand Down

0 comments on commit 764e333

Please sign in to comment.