MCPcopy Create free account
hub / github.com/Lightricks/ComfyUI-LTXVideo / add_noise

Method add_noise

decoder_noise.py:49–57  ·  view source on GitHub ↗
(self, vae, timestep, scale, seed)

Source from the content-addressed store, hash-verified

47 CATEGORY = "lightricks/LTXV"
48
49 def add_noise(self, vae, timestep, scale, seed):
50 result = copy(vae)
51 if hasattr(result, "first_stage_model"):
52 result.first_stage_model.decode_timestep = timestep
53 result.first_stage_model.decode_noise_scale = scale
54 result._decode_timestep = timestep
55 result.decode_noise_scale = scale
56 result.seed = seed
57 return (result,)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected