Diffusers documentation
HeliosDMDScheduler
HeliosDMDScheduler
HeliosDMDScheduler은 Helios에서 소개된 피라미드형 flow-matching 샘플링을 기반으로 합니다.
HeliosDMDScheduler
클래스 diffusers.HeliosDMDScheduler
< source >( num_train_timesteps: int = 1000shift: float = 1.0stages: int = 3stage_range: list = [0, 0.3333333333333333, 0.6666666666666666, 1]gamma: float = 0.3333333333333333prediction_type: str = 'flow_prediction'use_flow_sigmas: bool = Trueuse_dynamic_shifting: bool = Falsetime_shift_type: typing.Literal['exponential', 'linear'] = 'linear' )
전역 timesteps와 sigmas를 초기화합니다
각 단계의 timesteps를 초기화합니다
… 스케줄러의 시작 인덱스를 설정합니다. 이 함수는 추론 전에 파이프라인에서 실행해야 합니다.
set_timesteps
< source >( num_inference_steps: intstage_index: int | None = Nonedevice: typing.Union[str, torch.device] = Nonesigmas: bool | None = Nonemu: bool | None = Noneis_amplify_first_chunk: bool = False )
각 단계의 timesteps와 sigmas 설정
time_shift
< source >( mu: floatsigma: floatt: Tensor ) → torch.Tensor
sigmas에 시간 시프트를 적용합니다.
scheduling_helios_dmd
Update on GitHub