Diffusers documentation
HeliosDMDScheduler
HeliosDMDScheduler
HeliosDMDScheduler مبني على أخذ العينات المطابق للتدفق الهرمي الذي تم تقديمه في Helios.
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' )
تهيئة الخطوات الزمنية العالمية والقيم السيجما
تهيئة خطوات الزمن لكل مرحلة
set_begin_index
< source >( begin_index: int = 0 )
يحدد الفهرس الابتدائي للمجدول. يجب تشغيل هذه الدالة من خط الأنابيب قبل الاستدلال.
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 )
ضبط خطوات الزمن والقيم السيجما لكل مرحلة
time_shift
< source >( mu: floatsigma: floatt: Tensor ) → torch.Tensor
طبّق إزاحةً زمنية على قيم sigmas.
scheduling_helios_dmd
Update on GitHub