mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-05-12 00:42:07 +00:00
fix custom_flowmatch_sampler (#783)
This commit is contained in:
@@ -68,7 +68,7 @@ class CustomFlowMatchEulerDiscreteScheduler(FlowMatchEulerDiscreteScheduler):
|
||||
device=timesteps.device,
|
||||
dtype=timesteps.dtype
|
||||
)
|
||||
if v2:
|
||||
elif v2:
|
||||
weights = self.linear_timesteps_weights2[step_indices].flatten()
|
||||
else:
|
||||
weights = self.linear_timesteps_weights[step_indices].flatten()
|
||||
|
||||
Reference in New Issue
Block a user