mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
* Make warmup feature less aggressive to support higher thresholding values properly.
This commit is contained in:
parent
a48c03e0f4
commit
dc500946ad
@ -25,7 +25,7 @@ class CFGDenoiser(nn.Module):
|
||||
self.inner_model = model
|
||||
self.threshold = threshold
|
||||
self.warmup_max = warmup
|
||||
self.warmup = 0
|
||||
self.warmup = max(warmup / 10, 1)
|
||||
|
||||
def forward(self, x, sigma, uncond, cond, cond_scale):
|
||||
x_in = torch.cat([x] * 2)
|
||||
|
Loading…
Reference in New Issue
Block a user