hunyuanvideo step_processor

This commit is contained in:
Artiprocher
2024-12-26 10:20:59 +08:00
parent 6a999e1127
commit 4f6d5e7074

View File

@@ -46,7 +46,6 @@ class FlowMatchScheduler():
def return_to_timestep(self, timestep, sample, sample_stablized):
# This scheduler doesn't support this function.
if isinstance(timestep, torch.Tensor):
timestep = timestep.cpu()
timestep_id = torch.argmin((self.timesteps - timestep).abs())