We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed0174f commit 84d0288Copy full SHA for 84d0288
invokeai/backend/stable_diffusion/extensions/inpaint_model.py
@@ -68,7 +68,7 @@ def init_tensors(self, ctx: DenoiseContext):
68
self._masked_latents = torch.zeros_like(ctx.latents[:1])
69
self._masked_latents = self._masked_latents.to(device=ctx.latents.device, dtype=ctx.latents.dtype)
70
71
- # Use negative order to make extensions with default order work with patched latents
+ # Do last so that other extensions works with normal latents
72
@callback(ExtensionCallbackType.PRE_UNET, order=1000)
73
def append_inpaint_layers(self, ctx: DenoiseContext):
74
batch_size = ctx.unet_kwargs.sample.shape[0]
0 commit comments