Lowvram mode for gligen and fix some lowvram issues.

This commit is contained in:
comfyanonymous
2023-05-05 18:01:21 -04:00
parent 9bd33b6bd4
commit cb1551b819
4 changed files with 41 additions and 11 deletions

View File

@@ -572,9 +572,6 @@ class BasicTransformerBlock(nn.Module):
x += n
x = self.ff(self.norm3(x)) + x
if current_index is not None:
transformer_options["current_index"] += 1
return x