(self)
| 337 | x_noisy = torch.cat([x_noisy] + [cond['c_concat']], dim=1) |
| 338 | |
| 339 | control = self.control_model(x=x_noisy.to(dtype), hint=self.cond_hint, timesteps=timestep.float(), context=comfy.model_management.cast_to_device(context, x_noisy.device, dtype), y=y, cond=cond) |
| 340 | return self.control_merge(control, control_prev, output_dtype) |
| 341 | |
| 342 | def copy(self): |
| 343 | c = SVDControlNetAdvanced(self.control_model, self.timestep_keyframes, global_average_pooling=self.global_average_pooling, load_device=self.load_device, manual_cast_dtype=self.manual_cast_dtype) |
| 344 | self.copy_to(c) |
| 345 | self.copy_to_advanced(c) |
| 346 | return c |
nothing calls this directly
no test coverage detected