Commit d2da346b authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix missing variable.

parent 1144ed57
...@@ -535,6 +535,7 @@ class T2IAdapter: ...@@ -535,6 +535,7 @@ class T2IAdapter:
output_dtype = x_noisy.dtype output_dtype = x_noisy.dtype
out = {'input':[]} out = {'input':[]}
autocast_enabled = torch.is_autocast_enabled()
for i in range(len(self.control_input)): for i in range(len(self.control_input)):
key = 'input' key = 'input'
x = self.control_input[i] * self.strength x = self.control_input[i] * self.strength
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment