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

Method __init__

stg.py:172–175  ·  view source on GitHub ↗
(self, block, stg_flag: STGFlag, idx: int)

Source from the content-addressed store, hash-verified

170 """Wraps transformer blocks to be able to skip attention layers."""
171
172 def __init__(self, block, stg_flag: STGFlag, idx: int):
173 self.flag = stg_flag
174 self.idx = idx
175 self.block = block
176
177 def __call__(self, args, extra_args):
178 context_manager = contextlib.nullcontext()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected