Skip to content

Commit 84d0288

Browse files
committed
Revert wrong comment copy
1 parent ed0174f commit 84d0288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/backend/stable_diffusion/extensions/inpaint_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def init_tensors(self, ctx: DenoiseContext):
6868
self._masked_latents = torch.zeros_like(ctx.latents[:1])
6969
self._masked_latents = self._masked_latents.to(device=ctx.latents.device, dtype=ctx.latents.dtype)
7070

71-
# Use negative order to make extensions with default order work with patched latents
71+
# Do last so that other extensions works with normal latents
7272
@callback(ExtensionCallbackType.PRE_UNET, order=1000)
7373
def append_inpaint_layers(self, ctx: DenoiseContext):
7474
batch_size = ctx.unet_kwargs.sample.shape[0]

0 commit comments

Comments
 (0)