Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lightx2v/models/runners/wan/wan_distill_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, model_list, config, boundary_step_index=2):
self.cur_model_index = -1
logger.info(f"boundary step index: {self.boundary_step_index}")

@ProfilingContext4DebugL2("Swtich models in infer_main costs")
@ProfilingContext4DebugL2("Switch models in infer_main costs")
def get_current_model_index(self):
if self.scheduler.step_index < self.boundary_step_index:
logger.info(f"using - HIGH - noise model at step_index {self.scheduler.step_index + 1}")
Expand Down
2 changes: 1 addition & 1 deletion lightx2v/models/runners/wan/wan_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def infer(self, inputs):
self.model[1] = low_noise_model
self.model[1].infer(inputs)

@ProfilingContext4DebugL2("Swtich models in infer_main costs")
@ProfilingContext4DebugL2("Switch models in infer_main costs")
def get_current_model_index(self):
if self.scheduler.timesteps[self.scheduler.step_index] >= self.boundary_timestep:
logger.info(f"using - HIGH - noise model at step_index {self.scheduler.step_index + 1}")
Expand Down