Merge branch 'comfyanonymous:master' into socketrework

This commit is contained in:
pythongosssss
2023-02-25 18:15:35 +00:00
committed by GitHub

View File

@@ -535,6 +535,7 @@ class T2IAdapter:
output_dtype = x_noisy.dtype
out = {'input':[]}
autocast_enabled = torch.is_autocast_enabled()
for i in range(len(self.control_input)):
key = 'input'
x = self.control_input[i] * self.strength