combo patch

This commit is contained in:
Vladimir Mandic
2023-04-24 10:30:23 -04:00
parent 98adfb3151
commit 5b9187d38b
12 changed files with 43 additions and 64 deletions
+1 -2
View File
@@ -442,9 +442,8 @@ def create_random_tensors(shape, seeds, subseeds=None, subseed_strength=0.0, see
def decode_first_stage(model, x):
with devices.autocast(disable=x.dtype == devices.dtype_vae):
with devices.autocast(disable = x.dtype==devices.dtype_vae):
x = model.decode_first_stage(x)
return x