MCPcopy
hub / github.com/Lightricks/ComfyUI-LTXVideo / apply

Method apply

dynamic_conditioning.py:23–28  ·  view source on GitHub ↗
(self, model, power, only_first_frame)

Source from the content-addressed store, hash-verified

21 INIT = False
22
23 def apply(self, model, power, only_first_frame):
24 self.only_first_frame = only_first_frame
25 self.power = power
26 model = model.clone()
27 model.set_model_denoise_mask_function(self.forward)
28 return (model,)
29
30 def find_step(self, sigma: torch.Tensor, step_sigmas: torch.Tensor):
31 for i, step_sigma in enumerate(step_sigmas):

Callers 3

nodeCreatedFunction · 0.45
beforeRegisterNodeDefFunction · 0.45
beforeRegisterNodeDefFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected