File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -349,13 +349,14 @@ def step(
349
349
generator (`torch.Generator`, *optional*):
350
350
A random number generator.
351
351
return_dict (`bool`):
352
- Whether or not to return a [`~schedulers.scheduling_euler_discrete.EulerDiscreteSchedulerOutput`] or
353
- tuple.
352
+ Whether or not to return a
353
+ [`~schedulers.scheduling_flow_match_euler_discrete.FlowMatchEulerDiscreteSchedulerOutput`] or tuple.
354
354
355
355
Returns:
356
- [`~schedulers.scheduling_euler_discrete.EulerDiscreteSchedulerOutput`] or `tuple`:
357
- If return_dict is `True`, [`~schedulers.scheduling_euler_discrete.EulerDiscreteSchedulerOutput`] is
358
- returned, otherwise a tuple is returned where the first element is the sample tensor.
356
+ [`~schedulers.scheduling_flow_match_euler_discrete.FlowMatchEulerDiscreteSchedulerOutput`] or `tuple`:
357
+ If return_dict is `True`,
358
+ [`~schedulers.scheduling_flow_match_euler_discrete.FlowMatchEulerDiscreteSchedulerOutput`] is returned,
359
+ otherwise a tuple is returned where the first element is the sample tensor.
359
360
"""
360
361
361
362
if (
@@ -366,7 +367,7 @@ def step(
366
367
raise ValueError (
367
368
(
368
369
"Passing integer indices (e.g. from `enumerate(timesteps)`) as timesteps to"
369
- " `EulerDiscreteScheduler .step()` is not supported. Make sure to pass"
370
+ " `FlowMatchEulerDiscreteScheduler .step()` is not supported. Make sure to pass"
370
371
" one of the `scheduler.timesteps` as a timestep."
371
372
),
372
373
)
Original file line number Diff line number Diff line change @@ -228,13 +228,14 @@ def step(
228
228
generator (`torch.Generator`, *optional*):
229
229
A random number generator.
230
230
return_dict (`bool`):
231
- Whether or not to return a [`~schedulers.scheduling_Heun_discrete.HeunDiscreteSchedulerOutput`] or
232
- tuple.
231
+ Whether or not to return a
232
+ [`~schedulers.scheduling_flow_match_heun_discrete.FlowMatchHeunDiscreteSchedulerOutput`] tuple.
233
233
234
234
Returns:
235
- [`~schedulers.scheduling_Heun_discrete.HeunDiscreteSchedulerOutput`] or `tuple`:
236
- If return_dict is `True`, [`~schedulers.scheduling_Heun_discrete.HeunDiscreteSchedulerOutput`] is
237
- returned, otherwise a tuple is returned where the first element is the sample tensor.
235
+ [`~schedulers.scheduling_flow_match_heun_discrete.FlowMatchHeunDiscreteSchedulerOutput`] or `tuple`:
236
+ If return_dict is `True`,
237
+ [`~schedulers.scheduling_flow_match_heun_discrete.FlowMatchHeunDiscreteSchedulerOutput`] is returned,
238
+ otherwise a tuple is returned where the first element is the sample tensor.
238
239
"""
239
240
240
241
if (
@@ -245,7 +246,7 @@ def step(
245
246
raise ValueError (
246
247
(
247
248
"Passing integer indices (e.g. from `enumerate(timesteps)`) as timesteps to"
248
- " `HeunDiscreteScheduler .step()` is not supported. Make sure to pass"
249
+ " `FlowMatchHeunDiscreteScheduler .step()` is not supported. Make sure to pass"
249
250
" one of the `scheduler.timesteps` as a timestep."
250
251
),
251
252
)
You can’t perform that action at this time.
0 commit comments