Added additional config options for custom plugins I needed

This commit is contained in:
Jaret Burkett committed 2024-01-15 08:31:09 -07:00
1 parent e190fbaeb8
commit 5276975fb0
7 files changed
+37 -31

No files matched your search

+1
View File
@@ -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()