MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / before_control

Method before_control

lightx2v/utils/va_controller.py:169–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

167 )
168
169 def start(self):
170 self.reader.start()
171 if self.rank == self.target_recorder_rank:
172 assert self.recorder is not None, f"recorder is required for stream audio input for rank {self.rank}"
173 self.recorder.start(self.record_w, self.record_h)
174 if self.world_size > 1:
175 dist.barrier()
176
177 def next_control(self):
178 from lightx2v.utils.va_reader_omni import OmniVAReader

Callers 1

run_mainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected