import{s as $t,n as yt,o as Dt}from"../chunks/scheduler.53228c21.js";import{S as Tt,i as It,e as i,s as n,c as p,h as Et,a as d,d as t,b as o,f as v,g as m,j as c,k as b,l as s,m as l,n as f,t as h,o as g,p as _}from"../chunks/index.100fac89.js";import{C as Mt}from"../chunks/CopyLLMTxtMenu.0ee1b69b.js";import{D as x}from"../chunks/Docstring.db856a1e.js";import{H as ze,E as wt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.136ef3fd.js";function Ct(nt){let S,pe,ue,me,L,fe,O,he,P,ot='Diffusion Exponential Integrator Sampler (DEIS) is proposed in <a href="https://huggingface.co/papers/2204.13902" rel="nofollow">Fast Sampling of Diffusion Models with Exponential Integrator</a> by Qinsheng Zhang and Yongxin Chen. <code>DEISMultistepScheduler</code> is a fast high order solver for diffusion ordinary differential equations (ODEs).',ge,k,it="This implementation modifies the polynomial fitting formula in log-rho space instead of the original linear <code>t</code> space in the DEIS paper. The modification enjoys closed-form coefficients for exponential multistep update instead of replying on the numerical solver.",_e,q,dt="The abstract from the paper is:",ve,F,at='<em>The past few years have witnessed the great success of Diffusion models~(DMs) in generating high-fidelity samples in generative modeling tasks. A major limitation of the DM is its notoriously slow sampling procedure which normally requires hundreds to thousands of time discretization steps of the learned diffusion process to reach the desired accuracy. Our goal is to develop a fast sampling method for DMs with a much less number of steps while retaining high sample quality. To this end, we systematically analyze the sampling procedure in DMs and identify key factors that affect the sample quality, among which the method of discretization is most crucial. By carefully examining the learned diffusion process, we propose Diffusion Exponential Integrator Sampler~(DEIS). It is based on the Exponential Integrator designed for discretizing ordinary differential equations (ODEs) and leverages a semilinear structure of the learned diffusion process to reduce the discretization error. The proposed method can be applied to any DMs and can generate high-fidelity samples in as few as 10 steps. In our experiments, it takes about 3 minutes on one A6000 GPU to generate 50k images from CIFAR10. Moreover, by directly using pre-trained DMs, we achieve the state-of-art sampling performance when the number of score function evaluation~(NFE) is limited, e.g., 4.17 FID with 10 NFEs, 3.37 FID, and 9.74 IS with only 15 NFEs on CIFAR10. Code is available at <a href="https://github.com/qsh-zh/deis" rel="nofollow">this https URL</a>.</em>',be,H,xe,z,lt='It is recommended to set <code>solver_order</code> to 2 or 3, while <code>solver_order=1</code> is equivalent to <a href="/docs/diffusers/main/en/api/schedulers/ddim#diffusers.DDIMScheduler">DDIMScheduler</a>.',Se,A,ut=`Dynamic thresholding from <a href="https://huggingface.co/papers/2205.11487" rel="nofollow">Imagen</a> is supported, and for pixel-space
diffusion models, you can set <code>thresholding=True</code> to use the dynamic thresholding.`,$e,N,ye,a,V,Ae,X,ct="<code>DEISMultistepScheduler</code> is a fast high order solver for diffusion ordinary differential equations (ODEs).",Ne,ee,pt=`This model inherits from <a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a> and <a href="/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin">ConfigMixin</a>. Check the superclass documentation for the generic
methods the library implements for all schedulers such as loading and saving.`,Ve,y,R,Re,te,mt="Convert the model output to the corresponding type the DEIS algorithm needs.",We,D,W,je,se,ft="One step for the first-order DEIS (equivalent to DDIM).",Ue,T,j,Be,re,ht="One step for the second-order multistep DEIS.",Ge,I,U,Ye,ne,gt="One step for the third-order multistep DEIS.",Ke,E,B,Qe,oe,_t=`Ensures interchangeability with schedulers that need to scale the denoising model input depending on the
current timestep.`,Ze,M,G,Je,ie,vt="Sets the begin index for the scheduler. This function should be run from pipeline before the inference.",Xe,w,Y,et,de,bt="Sets the discrete timesteps used for the diffusion chain (to be run before inference).",tt,C,K,st,ae,xt=`Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with
the multistep DEIS.`,De,Q,Te,$,Z,rt,le,St="Base class for the output of a scheduler’s <code>step</code> function.",Ie,J,Ee,ce,Me;return L=new Mt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),O=new ze({props:{title:"DEISMultistepScheduler",local:"deismultistepscheduler",headingTag:"h1"}}),H=new ze({props:{title:"Tips",local:"tips",headingTag:"h2"}}),N=new ze({props:{title:"DEISMultistepScheduler",local:"diffusers.DEISMultistepScheduler",headingTag:"h2"}}),V=new x({props:{name:"class diffusers.DEISMultistepScheduler",anchor:"diffusers.DEISMultistepScheduler",parameters:[{name:"num_train_timesteps",val:": int = 1000"},{name:"beta_start",val:": float = 0.0001"},{name:"beta_end",val:": float = 0.02"},{name:"beta_schedule",val:": str = 'linear'"},{name:"trained_betas",val:": typing.Optional[numpy.ndarray] = None"},{name:"solver_order",val:": int = 2"},{name:"prediction_type",val:": str = 'epsilon'"},{name:"thresholding",val:": bool = False"},{name:"dynamic_thresholding_ratio",val:": float = 0.995"},{name:"sample_max_value",val:": float = 1.0"},{name:"algorithm_type",val:": str = 'deis'"},{name:"solver_type",val:": str = 'logrho'"},{name:"lower_order_final",val:": bool = True"},{name:"use_karras_sigmas",val:": typing.Optional[bool] = False"},{name:"use_exponential_sigmas",val:": typing.Optional[bool] = False"},{name:"use_beta_sigmas",val:": typing.Optional[bool] = False"},{name:"use_flow_sigmas",val:": typing.Optional[bool] = False"},{name:"flow_shift",val:": typing.Optional[float] = 1.0"},{name:"timestep_spacing",val:": str = 'linspace'"},{name:"steps_offset",val:": int = 0"},{name:"use_dynamic_shifting",val:": bool = False"},{name:"time_shift_type",val:": str = 'exponential'"}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.num_train_timesteps",description:`<strong>num_train_timesteps</strong> (<code>int</code>, defaults to 1000) &#x2014;
The number of diffusion steps to train the model.`,name:"num_train_timesteps"},{anchor:"diffusers.DEISMultistepScheduler.beta_start",description:`<strong>beta_start</strong> (<code>float</code>, defaults to 0.0001) &#x2014;
The starting <code>beta</code> value of inference.`,name:"beta_start"},{anchor:"diffusers.DEISMultistepScheduler.beta_end",description:`<strong>beta_end</strong> (<code>float</code>, defaults to 0.02) &#x2014;
The final <code>beta</code> value.`,name:"beta_end"},{anchor:"diffusers.DEISMultistepScheduler.beta_schedule",description:`<strong>beta_schedule</strong> (<code>str</code>, defaults to <code>&quot;linear&quot;</code>) &#x2014;
The beta schedule, a mapping from a beta range to a sequence of betas for stepping the model. Choose from
<code>linear</code>, <code>scaled_linear</code>, or <code>squaredcos_cap_v2</code>.`,name:"beta_schedule"},{anchor:"diffusers.DEISMultistepScheduler.trained_betas",description:`<strong>trained_betas</strong> (<code>np.ndarray</code>, <em>optional</em>) &#x2014;
Pass an array of betas directly to the constructor to bypass <code>beta_start</code> and <code>beta_end</code>.`,name:"trained_betas"},{anchor:"diffusers.DEISMultistepScheduler.solver_order",description:`<strong>solver_order</strong> (<code>int</code>, defaults to 2) &#x2014;
The DEIS order which can be <code>1</code> or <code>2</code> or <code>3</code>. It is recommended to use <code>solver_order=2</code> for guided
sampling, and <code>solver_order=3</code> for unconditional sampling.`,name:"solver_order"},{anchor:"diffusers.DEISMultistepScheduler.prediction_type",description:`<strong>prediction_type</strong> (<code>str</code>, defaults to <code>epsilon</code>) &#x2014;
Prediction type of the scheduler function; can be <code>epsilon</code> (predicts the noise of the diffusion process),
<code>sample</code> (directly predicts the noisy sample<code>) or </code>v_prediction\` (see section 2.4 of <a href="https://imagen.research.google/video/paper.pdf" rel="nofollow">Imagen
Video</a> paper).`,name:"prediction_type"},{anchor:"diffusers.DEISMultistepScheduler.thresholding",description:`<strong>thresholding</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the &#x201C;dynamic thresholding&#x201D; method. This is unsuitable for latent-space diffusion models such
as Stable Diffusion.`,name:"thresholding"},{anchor:"diffusers.DEISMultistepScheduler.dynamic_thresholding_ratio",description:`<strong>dynamic_thresholding_ratio</strong> (<code>float</code>, defaults to 0.995) &#x2014;
The ratio for the dynamic thresholding method. Valid only when <code>thresholding=True</code>.`,name:"dynamic_thresholding_ratio"},{anchor:"diffusers.DEISMultistepScheduler.sample_max_value",description:`<strong>sample_max_value</strong> (<code>float</code>, defaults to 1.0) &#x2014;
The threshold value for dynamic thresholding. Valid only when <code>thresholding=True</code>.`,name:"sample_max_value"},{anchor:"diffusers.DEISMultistepScheduler.algorithm_type",description:`<strong>algorithm_type</strong> (<code>str</code>, defaults to <code>deis</code>) &#x2014;
The algorithm type for the solver.`,name:"algorithm_type"},{anchor:"diffusers.DEISMultistepScheduler.lower_order_final",description:`<strong>lower_order_final</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether to use lower-order solvers in the final steps. Only valid for &lt; 15 inference steps.`,name:"lower_order_final"},{anchor:"diffusers.DEISMultistepScheduler.use_karras_sigmas",description:`<strong>use_karras_sigmas</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to use Karras sigmas for step sizes in the noise schedule during the sampling process. If <code>True</code>,
the sigmas are determined according to a sequence of noise levels {&#x3C3;i}.`,name:"use_karras_sigmas"},{anchor:"diffusers.DEISMultistepScheduler.use_exponential_sigmas",description:`<strong>use_exponential_sigmas</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to use exponential sigmas for step sizes in the noise schedule during the sampling process.`,name:"use_exponential_sigmas"},{anchor:"diffusers.DEISMultistepScheduler.use_beta_sigmas",description:`<strong>use_beta_sigmas</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to use beta sigmas for step sizes in the noise schedule during the sampling process. Refer to <a href="https://huggingface.co/papers/2407.12173" rel="nofollow">Beta
Sampling is All You Need</a> for more information.`,name:"use_beta_sigmas"},{anchor:"diffusers.DEISMultistepScheduler.timestep_spacing",description:`<strong>timestep_spacing</strong> (<code>str</code>, defaults to <code>&quot;linspace&quot;</code>) &#x2014;
The way the timesteps should be scaled. Refer to Table 2 of the <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and
Sample Steps are Flawed</a> for more information.`,name:"timestep_spacing"},{anchor:"diffusers.DEISMultistepScheduler.steps_offset",description:`<strong>steps_offset</strong> (<code>int</code>, defaults to 0) &#x2014;
An offset added to the inference steps, as required by some model families.`,name:"steps_offset"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L78"}}),R=new x({props:{name:"convert_model_output",anchor:"diffusers.DEISMultistepScheduler.convert_model_output",parameters:[{name:"model_output",val:": Tensor"},{name:"*args",val:""},{name:"sample",val:": Tensor = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.convert_model_output.model_output",description:`<strong>model_output</strong> (<code>torch.Tensor</code>) &#x2014;
The direct output from the learned diffusion model.`,name:"model_output"},{anchor:"diffusers.DEISMultistepScheduler.convert_model_output.timestep",description:`<strong>timestep</strong> (<code>int</code>) &#x2014;
The current discrete timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.DEISMultistepScheduler.convert_model_output.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
A current instance of a sample created by the diffusion process.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L469",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The converted model output.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),W=new x({props:{name:"deis_first_order_update",anchor:"diffusers.DEISMultistepScheduler.deis_first_order_update",parameters:[{name:"model_output",val:": Tensor"},{name:"*args",val:""},{name:"sample",val:": Tensor = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.deis_first_order_update.model_output",description:`<strong>model_output</strong> (<code>torch.Tensor</code>) &#x2014;
The direct output from the learned diffusion model.`,name:"model_output"},{anchor:"diffusers.DEISMultistepScheduler.deis_first_order_update.timestep",description:`<strong>timestep</strong> (<code>int</code>) &#x2014;
The current discrete timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.DEISMultistepScheduler.deis_first_order_update.prev_timestep",description:`<strong>prev_timestep</strong> (<code>int</code>) &#x2014;
The previous discrete timestep in the diffusion chain.`,name:"prev_timestep"},{anchor:"diffusers.DEISMultistepScheduler.deis_first_order_update.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
A current instance of a sample created by the diffusion process.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L529",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The sample tensor at the previous timestep.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),j=new x({props:{name:"multistep_deis_second_order_update",anchor:"diffusers.DEISMultistepScheduler.multistep_deis_second_order_update",parameters:[{name:"model_output_list",val:": typing.List[torch.Tensor]"},{name:"*args",val:""},{name:"sample",val:": Tensor = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.multistep_deis_second_order_update.model_output_list",description:`<strong>model_output_list</strong> (<code>List[torch.Tensor]</code>) &#x2014;
The direct outputs from learned diffusion model at current and latter timesteps.`,name:"model_output_list"},{anchor:"diffusers.DEISMultistepScheduler.multistep_deis_second_order_update.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
A current instance of a sample created by the diffusion process.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L587",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The sample tensor at the previous timestep.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),U=new x({props:{name:"multistep_deis_third_order_update",anchor:"diffusers.DEISMultistepScheduler.multistep_deis_third_order_update",parameters:[{name:"model_output_list",val:": typing.List[torch.Tensor]"},{name:"*args",val:""},{name:"sample",val:": Tensor = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.multistep_deis_third_order_update.model_output_list",description:`<strong>model_output_list</strong> (<code>List[torch.Tensor]</code>) &#x2014;
The direct outputs from learned diffusion model at current and latter timesteps.`,name:"model_output_list"},{anchor:"diffusers.DEISMultistepScheduler.multistep_deis_third_order_update.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
A current instance of a sample created by diffusion process.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L656",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The sample tensor at the previous timestep.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),B=new x({props:{name:"scale_model_input",anchor:"diffusers.DEISMultistepScheduler.scale_model_input",parameters:[{name:"sample",val:": Tensor"},{name:"*args",val:""},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.scale_model_input.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
The input sample.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L842",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A scaled input sample.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),G=new x({props:{name:"set_begin_index",anchor:"diffusers.DEISMultistepScheduler.set_begin_index",parameters:[{name:"begin_index",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.set_begin_index.begin_index",description:`<strong>begin_index</strong> (<code>int</code>) &#x2014;
The begin index for the scheduler.`,name:"begin_index"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L227"}}),Y=new x({props:{name:"set_timesteps",anchor:"diffusers.DEISMultistepScheduler.set_timesteps",parameters:[{name:"num_inference_steps",val:": int"},{name:"device",val:": typing.Union[str, torch.device] = None"},{name:"mu",val:": typing.Optional[float] = None"}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.set_timesteps.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>) &#x2014;
The number of diffusion steps used when generating samples with a pre-trained model.`,name:"num_inference_steps"},{anchor:"diffusers.DEISMultistepScheduler.set_timesteps.device",description:`<strong>device</strong> (<code>str</code> or <code>torch.device</code>, <em>optional</em>) &#x2014;
The device to which the timesteps should be moved to. If <code>None</code>, the timesteps are not moved.`,name:"device"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L237"}}),K=new x({props:{name:"step",anchor:"diffusers.DEISMultistepScheduler.step",parameters:[{name:"model_output",val:": Tensor"},{name:"timestep",val:": typing.Union[int, torch.Tensor]"},{name:"sample",val:": Tensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.DEISMultistepScheduler.step.model_output",description:`<strong>model_output</strong> (<code>torch.Tensor</code>) &#x2014;
The direct output from learned diffusion model.`,name:"model_output"},{anchor:"diffusers.DEISMultistepScheduler.step.timestep",description:`<strong>timestep</strong> (<code>int</code>) &#x2014;
The current discrete timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.DEISMultistepScheduler.step.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
A current instance of a sample created by the diffusion process.`,name:"sample"},{anchor:"diffusers.DEISMultistepScheduler.step.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>) &#x2014;
Whether or not to return a <a href="/docs/diffusers/main/en/api/schedulers/edm_multistep_dpm_solver#diffusers.schedulers.scheduling_utils.SchedulerOutput">SchedulerOutput</a> or <code>tuple</code>.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_deis_multistep.py#L777",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is <code>True</code>, <a
  href="/docs/diffusers/main/en/api/schedulers/edm_multistep_dpm_solver#diffusers.schedulers.scheduling_utils.SchedulerOutput"
>SchedulerOutput</a> is returned, otherwise a
tuple is returned where the first element is the sample tensor.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/diffusers/main/en/api/schedulers/edm_multistep_dpm_solver#diffusers.schedulers.scheduling_utils.SchedulerOutput"
>SchedulerOutput</a> or <code>tuple</code></p>
`}}),Q=new ze({props:{title:"SchedulerOutput",local:"diffusers.schedulers.scheduling_utils.SchedulerOutput",headingTag:"h2"}}),Z=new x({props:{name:"class diffusers.schedulers.scheduling_utils.SchedulerOutput",anchor:"diffusers.schedulers.scheduling_utils.SchedulerOutput",parameters:[{name:"prev_sample",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.schedulers.scheduling_utils.SchedulerOutput.prev_sample",description:`<strong>prev_sample</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_channels, height, width)</code> for images) &#x2014;
Computed sample <code>(x_{t-1})</code> of previous timestep. <code>prev_sample</code> should be used as next model input in the
denoising loop.`,name:"prev_sample"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_utils.py#L62"}}),J=new wt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/schedulers/deis.md"}}),{c(){S=i("meta"),pe=n(),ue=i("p"),me=n(),p(L.$$.fragment),fe=n(),p(O.$$.fragment),he=n(),P=i("p"),P.innerHTML=ot,ge=n(),k=i("p"),k.innerHTML=it,_e=n(),q=i("p"),q.textContent=dt,ve=n(),F=i("p"),F.innerHTML=at,be=n(),p(H.$$.fragment),xe=n(),z=i("p"),z.innerHTML=lt,Se=n(),A=i("p"),A.innerHTML=ut,$e=n(),p(N.$$.fragment),ye=n(),a=i("div"),p(V.$$.fragment),Ae=n(),X=i("p"),X.innerHTML=ct,Ne=n(),ee=i("p"),ee.innerHTML=pt,Ve=n(),y=i("div"),p(R.$$.fragment),Re=n(),te=i("p"),te.textContent=mt,We=n(),D=i("div"),p(W.$$.fragment),je=n(),se=i("p"),se.textContent=ft,Ue=n(),T=i("div"),p(j.$$.fragment),Be=n(),re=i("p"),re.textContent=ht,Ge=n(),I=i("div"),p(U.$$.fragment),Ye=n(),ne=i("p"),ne.textContent=gt,Ke=n(),E=i("div"),p(B.$$.fragment),Qe=n(),oe=i("p"),oe.textContent=_t,Ze=n(),M=i("div"),p(G.$$.fragment),Je=n(),ie=i("p"),ie.textContent=vt,Xe=n(),w=i("div"),p(Y.$$.fragment),et=n(),de=i("p"),de.textContent=bt,tt=n(),C=i("div"),p(K.$$.fragment),st=n(),ae=i("p"),ae.textContent=xt,De=n(),p(Q.$$.fragment),Te=n(),$=i("div"),p(Z.$$.fragment),rt=n(),le=i("p"),le.innerHTML=St,Ie=n(),p(J.$$.fragment),Ee=n(),ce=i("p"),this.h()},l(e){const r=Et("svelte-u9bgzb",document.head);S=d(r,"META",{name:!0,content:!0}),r.forEach(t),pe=o(e),ue=d(e,"P",{}),v(ue).forEach(t),me=o(e),m(L.$$.fragment,e),fe=o(e),m(O.$$.fragment,e),he=o(e),P=d(e,"P",{"data-svelte-h":!0}),c(P)!=="svelte-dg2wky"&&(P.innerHTML=ot),ge=o(e),k=d(e,"P",{"data-svelte-h":!0}),c(k)!=="svelte-2kur53"&&(k.innerHTML=it),_e=o(e),q=d(e,"P",{"data-svelte-h":!0}),c(q)!=="svelte-1cwsb16"&&(q.textContent=dt),ve=o(e),F=d(e,"P",{"data-svelte-h":!0}),c(F)!=="svelte-1qgxh8f"&&(F.innerHTML=at),be=o(e),m(H.$$.fragment,e),xe=o(e),z=d(e,"P",{"data-svelte-h":!0}),c(z)!=="svelte-1wcaqyo"&&(z.innerHTML=lt),Se=o(e),A=d(e,"P",{"data-svelte-h":!0}),c(A)!=="svelte-jfe2b1"&&(A.innerHTML=ut),$e=o(e),m(N.$$.fragment,e),ye=o(e),a=d(e,"DIV",{class:!0});var u=v(a);m(V.$$.fragment,u),Ae=o(u),X=d(u,"P",{"data-svelte-h":!0}),c(X)!=="svelte-1maiz98"&&(X.innerHTML=ct),Ne=o(u),ee=d(u,"P",{"data-svelte-h":!0}),c(ee)!=="svelte-linuuh"&&(ee.innerHTML=pt),Ve=o(u),y=d(u,"DIV",{class:!0});var we=v(y);m(R.$$.fragment,we),Re=o(we),te=d(we,"P",{"data-svelte-h":!0}),c(te)!=="svelte-10z04zf"&&(te.textContent=mt),we.forEach(t),We=o(u),D=d(u,"DIV",{class:!0});var Ce=v(D);m(W.$$.fragment,Ce),je=o(Ce),se=d(Ce,"P",{"data-svelte-h":!0}),c(se)!=="svelte-9410ii"&&(se.textContent=ft),Ce.forEach(t),Ue=o(u),T=d(u,"DIV",{class:!0});var Le=v(T);m(j.$$.fragment,Le),Be=o(Le),re=d(Le,"P",{"data-svelte-h":!0}),c(re)!=="svelte-4wni6b"&&(re.textContent=ht),Le.forEach(t),Ge=o(u),I=d(u,"DIV",{class:!0});var Oe=v(I);m(U.$$.fragment,Oe),Ye=o(Oe),ne=d(Oe,"P",{"data-svelte-h":!0}),c(ne)!=="svelte-cktso6"&&(ne.textContent=gt),Oe.forEach(t),Ke=o(u),E=d(u,"DIV",{class:!0});var Pe=v(E);m(B.$$.fragment,Pe),Qe=o(Pe),oe=d(Pe,"P",{"data-svelte-h":!0}),c(oe)!=="svelte-1rkfgpx"&&(oe.textContent=_t),Pe.forEach(t),Ze=o(u),M=d(u,"DIV",{class:!0});var ke=v(M);m(G.$$.fragment,ke),Je=o(ke),ie=d(ke,"P",{"data-svelte-h":!0}),c(ie)!=="svelte-1k141rk"&&(ie.textContent=vt),ke.forEach(t),Xe=o(u),w=d(u,"DIV",{class:!0});var qe=v(w);m(Y.$$.fragment,qe),et=o(qe),de=d(qe,"P",{"data-svelte-h":!0}),c(de)!=="svelte-1vzm9q"&&(de.textContent=bt),qe.forEach(t),tt=o(u),C=d(u,"DIV",{class:!0});var Fe=v(C);m(K.$$.fragment,Fe),st=o(Fe),ae=d(Fe,"P",{"data-svelte-h":!0}),c(ae)!=="svelte-vbpl4u"&&(ae.textContent=xt),Fe.forEach(t),u.forEach(t),De=o(e),m(Q.$$.fragment,e),Te=o(e),$=d(e,"DIV",{class:!0});var He=v($);m(Z.$$.fragment,He),rt=o(He),le=d(He,"P",{"data-svelte-h":!0}),c(le)!=="svelte-6ojmkw"&&(le.innerHTML=St),He.forEach(t),Ie=o(e),m(J.$$.fragment,e),Ee=o(e),ce=d(e,"P",{}),v(ce).forEach(t),this.h()},h(){b(S,"name","hf:doc:metadata"),b(S,"content",Lt),b(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(a,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,r){s(document.head,S),l(e,pe,r),l(e,ue,r),l(e,me,r),f(L,e,r),l(e,fe,r),f(O,e,r),l(e,he,r),l(e,P,r),l(e,ge,r),l(e,k,r),l(e,_e,r),l(e,q,r),l(e,ve,r),l(e,F,r),l(e,be,r),f(H,e,r),l(e,xe,r),l(e,z,r),l(e,Se,r),l(e,A,r),l(e,$e,r),f(N,e,r),l(e,ye,r),l(e,a,r),f(V,a,null),s(a,Ae),s(a,X),s(a,Ne),s(a,ee),s(a,Ve),s(a,y),f(R,y,null),s(y,Re),s(y,te),s(a,We),s(a,D),f(W,D,null),s(D,je),s(D,se),s(a,Ue),s(a,T),f(j,T,null),s(T,Be),s(T,re),s(a,Ge),s(a,I),f(U,I,null),s(I,Ye),s(I,ne),s(a,Ke),s(a,E),f(B,E,null),s(E,Qe),s(E,oe),s(a,Ze),s(a,M),f(G,M,null),s(M,Je),s(M,ie),s(a,Xe),s(a,w),f(Y,w,null),s(w,et),s(w,de),s(a,tt),s(a,C),f(K,C,null),s(C,st),s(C,ae),l(e,De,r),f(Q,e,r),l(e,Te,r),l(e,$,r),f(Z,$,null),s($,rt),s($,le),l(e,Ie,r),f(J,e,r),l(e,Ee,r),l(e,ce,r),Me=!0},p:yt,i(e){Me||(h(L.$$.fragment,e),h(O.$$.fragment,e),h(H.$$.fragment,e),h(N.$$.fragment,e),h(V.$$.fragment,e),h(R.$$.fragment,e),h(W.$$.fragment,e),h(j.$$.fragment,e),h(U.$$.fragment,e),h(B.$$.fragment,e),h(G.$$.fragment,e),h(Y.$$.fragment,e),h(K.$$.fragment,e),h(Q.$$.fragment,e),h(Z.$$.fragment,e),h(J.$$.fragment,e),Me=!0)},o(e){g(L.$$.fragment,e),g(O.$$.fragment,e),g(H.$$.fragment,e),g(N.$$.fragment,e),g(V.$$.fragment,e),g(R.$$.fragment,e),g(W.$$.fragment,e),g(j.$$.fragment,e),g(U.$$.fragment,e),g(B.$$.fragment,e),g(G.$$.fragment,e),g(Y.$$.fragment,e),g(K.$$.fragment,e),g(Q.$$.fragment,e),g(Z.$$.fragment,e),g(J.$$.fragment,e),Me=!1},d(e){e&&(t(pe),t(ue),t(me),t(fe),t(he),t(P),t(ge),t(k),t(_e),t(q),t(ve),t(F),t(be),t(xe),t(z),t(Se),t(A),t($e),t(ye),t(a),t(De),t(Te),t($),t(Ie),t(Ee),t(ce)),t(S),_(L,e),_(O,e),_(H,e),_(N,e),_(V),_(R),_(W),_(j),_(U),_(B),_(G),_(Y),_(K),_(Q,e),_(Z),_(J,e)}}}const Lt='{"title":"DEISMultistepScheduler","local":"deismultistepscheduler","sections":[{"title":"Tips","local":"tips","sections":[],"depth":2},{"title":"DEISMultistepScheduler","local":"diffusers.DEISMultistepScheduler","sections":[],"depth":2},{"title":"SchedulerOutput","local":"diffusers.schedulers.scheduling_utils.SchedulerOutput","sections":[],"depth":2}],"depth":1}';function Ot(nt){return Dt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class zt extends Tt{constructor(S){super(),It(this,S,Ot,Ct,$t,{})}}export{zt as component};
