Added additional config options for custom plugins I needed
This commit is contained in:
1 parent
e190fbaeb8
commit
5276975fb0
7 files changed
+37
-31
No files matched your search
@@ -413,6 +413,7 @@ def get_guided_loss_polarity(
|
||||
device = sd.device_torch
|
||||
with torch.no_grad():
|
||||
dtype = get_torch_dtype(dtype)
|
||||
noise = noise.to(device, dtype=dtype).detach()
|
||||
|
||||
conditional_latents = batch.latents.to(device, dtype=dtype).detach()
|
||||
unconditional_latents = batch.unconditional_latents.to(device, dtype=dtype).detach()
|
||||
|
||||
Reference in new issue
Block a user