import{s as Ue,n as je,o as Je}from"../chunks/scheduler.53228c21.js";import{S as Ye,i as Ze,e as a,s,c as l,h as Be,a as d,d as o,b as r,f as _,g as p,j as b,k as v,l as t,m,n as u,t as f,o as h,p as g}from"../chunks/index.100fac89.js";import{C as Ke}from"../chunks/CopyLLMTxtMenu.494046bd.js";import{D as w}from"../chunks/Docstring.9bbf7d33.js";import{H as Ne,E as Qe}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8999c127.js";function Xe(qe){let x,ee,Q,te,D,ne,I,se,P,oe,E,ke=`Multistep and onestep scheduler (Algorithm 3) introduced alongside latent consistency models in the paper <a href="https://huggingface.co/papers/2310.04378" rel="nofollow">Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inference</a> by Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, and Hang Zhao.
This scheduler should be able to generate good samples from <a href="/docs/diffusers/main/en/api/pipelines/latent_consistency_models#diffusers.LatentConsistencyModelPipeline">LatentConsistencyModelPipeline</a> in 1-8 steps.`,re,N,ie,n,q,_e,R,Ve=`<code>LCMScheduler</code> extends the denoising procedure introduced in denoising diffusion probabilistic models (DDPMs) with
non-Markovian guidance.`,be,G,He=`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>. <a href="/docs/diffusers/main/en/api/configuration#diffusers.ConfigMixin">~ConfigMixin</a> takes care of storing all config
attributes that are passed in the scheduler’s <code>__init__</code> function, such as <code>num_train_timesteps</code>. They can be
accessed via <code>scheduler.config.num_train_timesteps</code>. <a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a> provides general loading and saving
functionality via the <a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin.save_pretrained">SchedulerMixin.save_pretrained()</a> and <a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.SchedulerMixin.from_pretrained">from_pretrained()</a> functions.`,ve,y,k,xe,U,Oe=`Add noise to the original samples according to the noise magnitude at each timestep (this is the forward
diffusion process).`,ye,$,V,$e,j,ze="Compute the velocity prediction from the sample and noise according to the velocity formula.",Ce,C,H,Te,J,Fe="Compute the previous timestep in the diffusion chain.",Me,T,O,Le,Y,Ae=`Ensures interchangeability with schedulers that need to scale the denoising model input depending on the
current timestep.`,Se,M,z,we,Z,We="Sets the begin index for the scheduler. This function should be run from pipeline before the inference.",De,L,F,Ie,B,Re="Sets the discrete timesteps used for the diffusion chain (to be run before inference).",Pe,S,A,Ee,K,Ge=`Predict the sample from the previous timestep by reversing the SDE. This function propagates the diffusion
process from the learned model outputs (most often the predicted noise).`,ae,W,de,X,ce;return D=new Ke({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),I=new Ne({props:{title:"Latent Consistency Model Multistep Scheduler",local:"latent-consistency-model-multistep-scheduler",headingTag:"h1"}}),P=new Ne({props:{title:"Overview",local:"overview",headingTag:"h2"}}),N=new Ne({props:{title:"LCMScheduler",local:"diffusers.LCMScheduler",headingTag:"h2"}}),q=new w({props:{name:"class diffusers.LCMScheduler",anchor:"diffusers.LCMScheduler",parameters:[{name:"num_train_timesteps",val:": int = 1000"},{name:"beta_start",val:": float = 0.00085"},{name:"beta_end",val:": float = 0.012"},{name:"beta_schedule",val:": str = 'scaled_linear'"},{name:"trained_betas",val:": typing.Union[numpy.ndarray, typing.List[float], NoneType] = None"},{name:"original_inference_steps",val:": int = 50"},{name:"clip_sample",val:": bool = False"},{name:"clip_sample_range",val:": float = 1.0"},{name:"set_alpha_to_one",val:": bool = True"},{name:"steps_offset",val:": int = 0"},{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:"timestep_spacing",val:": str = 'leading'"},{name:"timestep_scaling",val:": float = 10.0"},{name:"rescale_betas_zero_snr",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.LCMScheduler.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.LCMScheduler.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.LCMScheduler.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.LCMScheduler.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.LCMScheduler.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.LCMScheduler.original_inference_steps",description:`<strong>original_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 50) &#x2014;
The default number of inference steps used to generate a linearly-spaced timestep schedule, from which we
will ultimately take <code>num_inference_steps</code> evenly spaced timesteps to form the final timestep schedule.`,name:"original_inference_steps"},{anchor:"diffusers.LCMScheduler.clip_sample",description:`<strong>clip_sample</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Clip the predicted sample for numerical stability.`,name:"clip_sample"},{anchor:"diffusers.LCMScheduler.clip_sample_range",description:`<strong>clip_sample_range</strong> (<code>float</code>, defaults to 1.0) &#x2014;
The maximum magnitude for sample clipping. Valid only when <code>clip_sample=True</code>.`,name:"clip_sample_range"},{anchor:"diffusers.LCMScheduler.set_alpha_to_one",description:`<strong>set_alpha_to_one</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Each diffusion step uses the alphas product value at that step and at the previous one. For the final step
there is no previous alpha. When this option is <code>True</code> the previous alpha product is fixed to <code>1</code>,
otherwise it uses the alpha value at step 0.`,name:"set_alpha_to_one"},{anchor:"diffusers.LCMScheduler.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"},{anchor:"diffusers.LCMScheduler.prediction_type",description:`<strong>prediction_type</strong> (<code>str</code>, defaults to <code>epsilon</code>, <em>optional</em>) &#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.LCMScheduler.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.LCMScheduler.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.LCMScheduler.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.LCMScheduler.timestep_spacing",description:`<strong>timestep_spacing</strong> (<code>str</code>, defaults to <code>&quot;leading&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.LCMScheduler.timestep_scaling",description:`<strong>timestep_scaling</strong> (<code>float</code>, defaults to 10.0) &#x2014;
The factor the timesteps will be multiplied by when calculating the consistency model boundary conditions
<code>c_skip</code> and <code>c_out</code>. Increasing this will decrease the approximation error (although the approximation
error at the default of <code>10.0</code> is already pretty small).`,name:"timestep_scaling"},{anchor:"diffusers.LCMScheduler.rescale_betas_zero_snr",description:`<strong>rescale_betas_zero_snr</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to rescale the betas to have zero terminal SNR. This enables the model to generate very bright and
dark samples instead of limiting it to samples with medium brightness. Loosely related to
<a href="https://github.com/huggingface/diffusers/blob/74fd735eb073eb1d774b1ab4154a0876eb82f055/examples/dreambooth/train_dreambooth.py#L506" rel="nofollow"><code>--offset_noise</code></a>.`,name:"rescale_betas_zero_snr"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_lcm.py#L134"}}),k=new w({props:{name:"add_noise",anchor:"diffusers.LCMScheduler.add_noise",parameters:[{name:"original_samples",val:": Tensor"},{name:"noise",val:": Tensor"},{name:"timesteps",val:": IntTensor"}],parametersDescription:[{anchor:"diffusers.LCMScheduler.add_noise.original_samples",description:`<strong>original_samples</strong> (<code>torch.Tensor</code>) &#x2014;
The original samples to which noise will be added.`,name:"original_samples"},{anchor:"diffusers.LCMScheduler.add_noise.noise",description:`<strong>noise</strong> (<code>torch.Tensor</code>) &#x2014;
The noise to add to the samples.`,name:"noise"},{anchor:"diffusers.LCMScheduler.add_noise.timesteps",description:`<strong>timesteps</strong> (<code>torch.IntTensor</code>) &#x2014;
The timesteps indicating the noise level for each sample.`,name:"timesteps"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_lcm.py#L604",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>torch.Tensor</code></p>
`}}),V=new w({props:{name:"get_velocity",anchor:"diffusers.LCMScheduler.get_velocity",parameters:[{name:"sample",val:": Tensor"},{name:"noise",val:": Tensor"},{name:"timesteps",val:": IntTensor"}],parametersDescription:[{anchor:"diffusers.LCMScheduler.get_velocity.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
The input sample.`,name:"sample"},{anchor:"diffusers.LCMScheduler.get_velocity.noise",description:`<strong>noise</strong> (<code>torch.Tensor</code>) &#x2014;
The noise tensor.`,name:"noise"},{anchor:"diffusers.LCMScheduler.get_velocity.timesteps",description:`<strong>timesteps</strong> (<code>torch.IntTensor</code>) &#x2014;
The timesteps for velocity computation.`,name:"timesteps"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_lcm.py#L647",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>torch.Tensor</code></p>
`}}),H=new w({props:{name:"previous_timestep",anchor:"diffusers.LCMScheduler.previous_timestep",parameters:[{name:"timestep",val:""}],parametersDescription:[{anchor:"diffusers.LCMScheduler.previous_timestep.timestep",description:`<strong>timestep</strong> (<code>int</code>) &#x2014;
The current timestep.`,name:"timestep"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_lcm.py#L685",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>int</code></p>
`}}),O=new w({props:{name:"scale_model_input",anchor:"diffusers.LCMScheduler.scale_model_input",parameters:[{name:"sample",val:": Tensor"},{name:"timestep",val:": typing.Optional[int] = None"}],parametersDescription:[{anchor:"diffusers.LCMScheduler.scale_model_input.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
The input sample.`,name:"sample"},{anchor:"diffusers.LCMScheduler.scale_model_input.timestep",description:`<strong>timestep</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The current timestep in the diffusion chain.`,name:"timestep"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_lcm.py#L299",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>
`}}),z=new w({props:{name:"set_begin_index",anchor:"diffusers.LCMScheduler.set_begin_index",parameters:[{name:"begin_index",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.LCMScheduler.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_lcm.py#L289"}}),F=new w({props:{name:"set_timesteps",anchor:"diffusers.LCMScheduler.set_timesteps",parameters:[{name:"num_inference_steps",val:": typing.Optional[int] = None"},{name:"device",val:": typing.Union[str, torch.device] = None"},{name:"original_inference_steps",val:": typing.Optional[int] = None"},{name:"timesteps",val:": typing.Optional[typing.List[int]] = None"},{name:"strength",val:": int = 1.0"}],parametersDescription:[{anchor:"diffusers.LCMScheduler.set_timesteps.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The number of diffusion steps used when generating samples with a pre-trained model. If used,
<code>timesteps</code> must be <code>None</code>.`,name:"num_inference_steps"},{anchor:"diffusers.LCMScheduler.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"},{anchor:"diffusers.LCMScheduler.set_timesteps.original_inference_steps",description:`<strong>original_inference_steps</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The original number of inference steps, which will be used to generate a linearly-spaced timestep
schedule (which is different from the standard <code>diffusers</code> implementation). We will then take
<code>num_inference_steps</code> timesteps from this schedule, evenly spaced in terms of indices, and use that as
our final timestep schedule. If not set, this will default to the <code>original_inference_steps</code> attribute.`,name:"original_inference_steps"},{anchor:"diffusers.LCMScheduler.set_timesteps.timesteps",description:`<strong>timesteps</strong> (<code>List[int]</code>, <em>optional</em>) &#x2014;
Custom timesteps used to support arbitrary spacing between timesteps. If <code>None</code>, then the default
timestep spacing strategy of equal spacing between timesteps on the training/distillation timestep
schedule is used. If <code>timesteps</code> is passed, <code>num_inference_steps</code> must be <code>None</code>.`,name:"timesteps"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_lcm.py#L359"}}),A=new w({props:{name:"step",anchor:"diffusers.LCMScheduler.step",parameters:[{name:"model_output",val:": Tensor"},{name:"timestep",val:": int"},{name:"sample",val:": Tensor"},{name:"generator",val:": typing.Optional[torch._C.Generator] = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.LCMScheduler.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.LCMScheduler.step.timestep",description:`<strong>timestep</strong> (<code>float</code>) &#x2014;
The current discrete timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.LCMScheduler.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.LCMScheduler.step.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) &#x2014;
A random number generator.`,name:"generator"},{anchor:"diffusers.LCMScheduler.step.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>LCMSchedulerOutput</code> or <code>tuple</code>.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_lcm.py#L507",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is <code>True</code>, <code>LCMSchedulerOutput</code> 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><code>~schedulers.scheduling_utils.LCMSchedulerOutput</code> or <code>tuple</code></p>
`}}),W=new Qe({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/schedulers/lcm.md"}}),{c(){x=a("meta"),ee=s(),Q=a("p"),te=s(),l(D.$$.fragment),ne=s(),l(I.$$.fragment),se=s(),l(P.$$.fragment),oe=s(),E=a("p"),E.innerHTML=ke,re=s(),l(N.$$.fragment),ie=s(),n=a("div"),l(q.$$.fragment),_e=s(),R=a("p"),R.innerHTML=Ve,be=s(),G=a("p"),G.innerHTML=He,ve=s(),y=a("div"),l(k.$$.fragment),xe=s(),U=a("p"),U.textContent=Oe,ye=s(),$=a("div"),l(V.$$.fragment),$e=s(),j=a("p"),j.textContent=ze,Ce=s(),C=a("div"),l(H.$$.fragment),Te=s(),J=a("p"),J.textContent=Fe,Me=s(),T=a("div"),l(O.$$.fragment),Le=s(),Y=a("p"),Y.textContent=Ae,Se=s(),M=a("div"),l(z.$$.fragment),we=s(),Z=a("p"),Z.textContent=We,De=s(),L=a("div"),l(F.$$.fragment),Ie=s(),B=a("p"),B.textContent=Re,Pe=s(),S=a("div"),l(A.$$.fragment),Ee=s(),K=a("p"),K.textContent=Ge,ae=s(),l(W.$$.fragment),de=s(),X=a("p"),this.h()},l(e){const i=Be("svelte-u9bgzb",document.head);x=d(i,"META",{name:!0,content:!0}),i.forEach(o),ee=r(e),Q=d(e,"P",{}),_(Q).forEach(o),te=r(e),p(D.$$.fragment,e),ne=r(e),p(I.$$.fragment,e),se=r(e),p(P.$$.fragment,e),oe=r(e),E=d(e,"P",{"data-svelte-h":!0}),b(E)!=="svelte-1c2gm0f"&&(E.innerHTML=ke),re=r(e),p(N.$$.fragment,e),ie=r(e),n=d(e,"DIV",{class:!0});var c=_(n);p(q.$$.fragment,c),_e=r(c),R=d(c,"P",{"data-svelte-h":!0}),b(R)!=="svelte-1cn3gww"&&(R.innerHTML=Ve),be=r(c),G=d(c,"P",{"data-svelte-h":!0}),b(G)!=="svelte-1wfw14k"&&(G.innerHTML=He),ve=r(c),y=d(c,"DIV",{class:!0});var le=_(y);p(k.$$.fragment,le),xe=r(le),U=d(le,"P",{"data-svelte-h":!0}),b(U)!=="svelte-hqmiev"&&(U.textContent=Oe),le.forEach(o),ye=r(c),$=d(c,"DIV",{class:!0});var pe=_($);p(V.$$.fragment,pe),$e=r(pe),j=d(pe,"P",{"data-svelte-h":!0}),b(j)!=="svelte-1aqw5k3"&&(j.textContent=ze),pe.forEach(o),Ce=r(c),C=d(c,"DIV",{class:!0});var me=_(C);p(H.$$.fragment,me),Te=r(me),J=d(me,"P",{"data-svelte-h":!0}),b(J)!=="svelte-jss25y"&&(J.textContent=Fe),me.forEach(o),Me=r(c),T=d(c,"DIV",{class:!0});var ue=_(T);p(O.$$.fragment,ue),Le=r(ue),Y=d(ue,"P",{"data-svelte-h":!0}),b(Y)!=="svelte-1rkfgpx"&&(Y.textContent=Ae),ue.forEach(o),Se=r(c),M=d(c,"DIV",{class:!0});var fe=_(M);p(z.$$.fragment,fe),we=r(fe),Z=d(fe,"P",{"data-svelte-h":!0}),b(Z)!=="svelte-1k141rk"&&(Z.textContent=We),fe.forEach(o),De=r(c),L=d(c,"DIV",{class:!0});var he=_(L);p(F.$$.fragment,he),Ie=r(he),B=d(he,"P",{"data-svelte-h":!0}),b(B)!=="svelte-1vzm9q"&&(B.textContent=Re),he.forEach(o),Pe=r(c),S=d(c,"DIV",{class:!0});var ge=_(S);p(A.$$.fragment,ge),Ee=r(ge),K=d(ge,"P",{"data-svelte-h":!0}),b(K)!=="svelte-hi84tp"&&(K.textContent=Ge),ge.forEach(o),c.forEach(o),ae=r(e),p(W.$$.fragment,e),de=r(e),X=d(e,"P",{}),_(X).forEach(o),this.h()},h(){v(x,"name","hf:doc:metadata"),v(x,"content",et),v(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(n,"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,i){t(document.head,x),m(e,ee,i),m(e,Q,i),m(e,te,i),u(D,e,i),m(e,ne,i),u(I,e,i),m(e,se,i),u(P,e,i),m(e,oe,i),m(e,E,i),m(e,re,i),u(N,e,i),m(e,ie,i),m(e,n,i),u(q,n,null),t(n,_e),t(n,R),t(n,be),t(n,G),t(n,ve),t(n,y),u(k,y,null),t(y,xe),t(y,U),t(n,ye),t(n,$),u(V,$,null),t($,$e),t($,j),t(n,Ce),t(n,C),u(H,C,null),t(C,Te),t(C,J),t(n,Me),t(n,T),u(O,T,null),t(T,Le),t(T,Y),t(n,Se),t(n,M),u(z,M,null),t(M,we),t(M,Z),t(n,De),t(n,L),u(F,L,null),t(L,Ie),t(L,B),t(n,Pe),t(n,S),u(A,S,null),t(S,Ee),t(S,K),m(e,ae,i),u(W,e,i),m(e,de,i),m(e,X,i),ce=!0},p:je,i(e){ce||(f(D.$$.fragment,e),f(I.$$.fragment,e),f(P.$$.fragment,e),f(N.$$.fragment,e),f(q.$$.fragment,e),f(k.$$.fragment,e),f(V.$$.fragment,e),f(H.$$.fragment,e),f(O.$$.fragment,e),f(z.$$.fragment,e),f(F.$$.fragment,e),f(A.$$.fragment,e),f(W.$$.fragment,e),ce=!0)},o(e){h(D.$$.fragment,e),h(I.$$.fragment,e),h(P.$$.fragment,e),h(N.$$.fragment,e),h(q.$$.fragment,e),h(k.$$.fragment,e),h(V.$$.fragment,e),h(H.$$.fragment,e),h(O.$$.fragment,e),h(z.$$.fragment,e),h(F.$$.fragment,e),h(A.$$.fragment,e),h(W.$$.fragment,e),ce=!1},d(e){e&&(o(ee),o(Q),o(te),o(ne),o(se),o(oe),o(E),o(re),o(ie),o(n),o(ae),o(de),o(X)),o(x),g(D,e),g(I,e),g(P,e),g(N,e),g(q),g(k),g(V),g(H),g(O),g(z),g(F),g(A),g(W,e)}}}const et='{"title":"Latent Consistency Model Multistep Scheduler","local":"latent-consistency-model-multistep-scheduler","sections":[{"title":"Overview","local":"overview","sections":[],"depth":2},{"title":"LCMScheduler","local":"diffusers.LCMScheduler","sections":[],"depth":2}],"depth":1}';function tt(qe){return Je(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class at extends Ye{constructor(x){super(),Ze(this,x,tt,Xe,Ue,{})}}export{at as component};
