← back to Exo

.typings/mflux/models/common/schedulers/base_scheduler.pyi

17 lines

"""
This type stub file was generated by pyright.
"""

import mlx.core as mx
from abc import ABC, abstractmethod

class BaseScheduler(ABC):
    @property
    @abstractmethod
    def sigmas(self) -> mx.array: ...
    @abstractmethod
    def step(
        self, noise: mx.array, timestep: int, latents: mx.array, **kwargs
    ) -> mx.array: ...
    def scale_model_input(self, latents: mx.array, t: int) -> mx.array: ...