import{s as nt,n as it,o as rt}from"../chunks/scheduler.53228c21.js";import{S as ot,i as at,e as o,s as i,c as u,h as ct,a,d as t,b as r,f as x,g as p,j as m,k as v,l as s,m as d,n as h,t as f,o as g,p as _}from"../chunks/index.100fac89.js";import{C as dt}from"../chunks/CopyLLMTxtMenu.b0ff86f3.js";import{D as w}from"../chunks/Docstring.db856a1e.js";import{H as Ue,E as lt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.136ef3fd.js";function mt(Ke){let S,re,ne,oe,D,ae,L,ce,P,je='<a href="https://huggingface.co/papers/2303.01469" rel="nofollow">Consistency Models</a> by Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever introduced a multistep and onestep scheduler (Algorithm 1) that is capable of generating good samples in one or a small number of steps.',de,O,Ge="The abstract from the paper is:",le,E,Fe="<em>Diffusion models have significantly advanced the fields of image, audio, and video generation, but they depend on an iterative sampling process that causes slow generation. To overcome this limitation, we propose consistency models, a new family of models that generate high quality samples by directly mapping noise to data. They support fast one-step generation by design, while still allowing multistep sampling to trade compute for sample quality. They also support zero-shot data editing, such as image inpainting, colorization, and super-resolution, without requiring explicit training on these tasks. Consistency models can be trained either by distilling pre-trained diffusion models, or as standalone generative models altogether. Through extensive experiments, we demonstrate that they outperform existing distillation techniques for diffusion models in one- and few-step sampling, achieving the new state-of-the-art FID of 3.55 on CIFAR-10 and 6.20 on ImageNet 64x64 for one-step generation. When trained in isolation, consistency models become a new family of generative models that can outperform existing one-step, non-adversarial generative models on standard benchmarks such as CIFAR-10, ImageNet 64x64 and LSUN 256x256.</em>",me,H,Re='The original codebase can be found at <a href="https://github.com/openai/consistency_models" rel="nofollow">openai/consistency_models</a>.',ue,k,pe,c,A,Me,W,We="Multistep and onestep sampling for consistency models.",Te,B,Be=`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.`,Ie,b,q,we,Q,Qe=`Gets the scalings used in the consistency model parameterization (from Appendix C of the
<a href="https://huggingface.co/papers/2303.01469" rel="nofollow">paper</a>) to enforce boundary condition.`,De,N,Ye="<p>&gt; <code>epsilon</code> in the equations for <code>c_skip</code> and <code>c_out</code> is set to <code>sigma_min</code>.</p>",Le,y,V,Pe,Y,Je="Scales the consistency model input by <code>(sigma**2 + sigma_data**2) ** 0.5</code>.",Oe,C,z,Ee,J,Xe="Sets the begin index for the scheduler. This function should be run from pipeline before the inference.",He,M,U,ke,X,Ze="Sets the timesteps used for the diffusion chain (to be run before inference).",Ae,T,K,qe,Z,et="Gets scaled timesteps from the Karras sigmas for input to the consistency model.",Ne,I,j,Ve,ee,tt=`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).`,he,G,fe,$,F,ze,te,st="Output class for the scheduler’s <code>step</code> function.",ge,R,_e,ie,ve;return D=new dt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),L=new Ue({props:{title:"CMStochasticIterativeScheduler",local:"cmstochasticiterativescheduler",headingTag:"h1"}}),k=new Ue({props:{title:"CMStochasticIterativeScheduler",local:"diffusers.CMStochasticIterativeScheduler",headingTag:"h2"}}),A=new w({props:{name:"class diffusers.CMStochasticIterativeScheduler",anchor:"diffusers.CMStochasticIterativeScheduler",parameters:[{name:"num_train_timesteps",val:": int = 40"},{name:"sigma_min",val:": float = 0.002"},{name:"sigma_max",val:": float = 80.0"},{name:"sigma_data",val:": float = 0.5"},{name:"s_noise",val:": float = 1.0"},{name:"rho",val:": float = 7.0"},{name:"clip_denoised",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.CMStochasticIterativeScheduler.num_train_timesteps",description:`<strong>num_train_timesteps</strong> (<code>int</code>, defaults to 40) &#x2014;
The number of diffusion steps to train the model.`,name:"num_train_timesteps"},{anchor:"diffusers.CMStochasticIterativeScheduler.sigma_min",description:`<strong>sigma_min</strong> (<code>float</code>, defaults to 0.002) &#x2014;
Minimum noise magnitude in the sigma schedule. Defaults to 0.002 from the original implementation.`,name:"sigma_min"},{anchor:"diffusers.CMStochasticIterativeScheduler.sigma_max",description:`<strong>sigma_max</strong> (<code>float</code>, defaults to 80.0) &#x2014;
Maximum noise magnitude in the sigma schedule. Defaults to 80.0 from the original implementation.`,name:"sigma_max"},{anchor:"diffusers.CMStochasticIterativeScheduler.sigma_data",description:`<strong>sigma_data</strong> (<code>float</code>, defaults to 0.5) &#x2014;
The standard deviation of the data distribution from the EDM
<a href="https://huggingface.co/papers/2206.00364" rel="nofollow">paper</a>. Defaults to 0.5 from the original implementation.`,name:"sigma_data"},{anchor:"diffusers.CMStochasticIterativeScheduler.s_noise",description:`<strong>s_noise</strong> (<code>float</code>, defaults to 1.0) &#x2014;
The amount of additional noise to counteract loss of detail during sampling. A reasonable range is [1.000,
1.011]. Defaults to 1.0 from the original implementation.`,name:"s_noise"},{anchor:"diffusers.CMStochasticIterativeScheduler.rho",description:`<strong>rho</strong> (<code>float</code>, defaults to 7.0) &#x2014;
The parameter for calculating the Karras sigma schedule from the EDM
<a href="https://huggingface.co/papers/2206.00364" rel="nofollow">paper</a>. Defaults to 7.0 from the original implementation.`,name:"rho"},{anchor:"diffusers.CMStochasticIterativeScheduler.clip_denoised",description:`<strong>clip_denoised</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether to clip the denoised outputs to <code>(-1, 1)</code>.`,name:"clip_denoised"},{anchor:"diffusers.CMStochasticIterativeScheduler.timesteps",description:`<strong>timesteps</strong> (<code>List</code> or <code>np.ndarray</code> or <code>torch.Tensor</code>, <em>optional</em>) &#x2014;
An explicit timestep schedule that can be optionally specified. The timesteps are expected to be in
increasing order.`,name:"timesteps"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_consistency_models.py#L44"}}),q=new w({props:{name:"get_scalings_for_boundary_condition",anchor:"diffusers.CMStochasticIterativeScheduler.get_scalings_for_boundary_condition",parameters:[{name:"sigma",val:""}],parametersDescription:[{anchor:"diffusers.CMStochasticIterativeScheduler.get_scalings_for_boundary_condition.sigma",description:`<strong>sigma</strong> (<code>torch.Tensor</code>) &#x2014;
The current sigma in the Karras sigma schedule.`,name:"sigma"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_consistency_models.py#L266",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A two-element tuple where <code>c_skip</code> (which weights the current sample) is the first element and <code>c_out</code>
(which weights the consistency model output) is the second element.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>tuple</code></p>
`}}),V=new w({props:{name:"scale_model_input",anchor:"diffusers.CMStochasticIterativeScheduler.scale_model_input",parameters:[{name:"sample",val:": Tensor"},{name:"timestep",val:": typing.Union[float, torch.Tensor]"}],parametersDescription:[{anchor:"diffusers.CMStochasticIterativeScheduler.scale_model_input.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
The input sample.`,name:"sample"},{anchor:"diffusers.CMStochasticIterativeScheduler.scale_model_input.timestep",description:`<strong>timestep</strong> (<code>float</code> or <code>torch.Tensor</code>) &#x2014;
The current timestep in the diffusion chain.`,name:"timestep"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_consistency_models.py#L129",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.CMStochasticIterativeScheduler.set_begin_index",parameters:[{name:"begin_index",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.CMStochasticIterativeScheduler.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_consistency_models.py#L119"}}),U=new w({props:{name:"set_timesteps",anchor:"diffusers.CMStochasticIterativeScheduler.set_timesteps",parameters:[{name:"num_inference_steps",val:": typing.Optional[int] = None"},{name:"device",val:": typing.Union[str, torch.device] = None"},{name:"timesteps",val:": typing.Optional[typing.List[int]] = None"}],parametersDescription:[{anchor:"diffusers.CMStochasticIterativeScheduler.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.CMStochasticIterativeScheduler.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.CMStochasticIterativeScheduler.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 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_consistency_models.py#L173"}}),K=new w({props:{name:"sigma_to_t",anchor:"diffusers.CMStochasticIterativeScheduler.sigma_to_t",parameters:[{name:"sigmas",val:": typing.Union[float, numpy.ndarray]"}],parametersDescription:[{anchor:"diffusers.CMStochasticIterativeScheduler.sigma_to_t.sigmas",description:`<strong>sigmas</strong> (<code>float</code> or <code>np.ndarray</code>) &#x2014;
A single Karras sigma or an array of Karras sigmas.`,name:"sigmas"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_consistency_models.py#L154",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>float</code> or <code>np.ndarray</code></p>
`}}),j=new w({props:{name:"step",anchor:"diffusers.CMStochasticIterativeScheduler.step",parameters:[{name:"model_output",val:": Tensor"},{name:"timestep",val:": typing.Union[float, torch.Tensor]"},{name:"sample",val:": Tensor"},{name:"generator",val:": typing.Optional[torch._C.Generator] = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.CMStochasticIterativeScheduler.step.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.CMStochasticIterativeScheduler.step.timestep",description:`<strong>timestep</strong> (<code>float</code>) &#x2014;
The current timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.CMStochasticIterativeScheduler.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.CMStochasticIterativeScheduler.step.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) &#x2014;
A random number generator.`,name:"generator"},{anchor:"diffusers.CMStochasticIterativeScheduler.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
<a href="/docs/diffusers/main/en/api/schedulers/cm_stochastic_iterative#diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput">CMStochasticIterativeSchedulerOutput</a> or <code>tuple</code>.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_consistency_models.py#L313",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/cm_stochastic_iterative#diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput"
>CMStochasticIterativeSchedulerOutput</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/cm_stochastic_iterative#diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput"
>CMStochasticIterativeSchedulerOutput</a> or <code>tuple</code></p>
`}}),G=new Ue({props:{title:"CMStochasticIterativeSchedulerOutput",local:"diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput",headingTag:"h2"}}),F=new w({props:{name:"class diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput",anchor:"diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput",parameters:[{name:"prev_sample",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput.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_consistency_models.py#L31"}}),R=new lt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/schedulers/cm_stochastic_iterative.md"}}),{c(){S=o("meta"),re=i(),ne=o("p"),oe=i(),u(D.$$.fragment),ae=i(),u(L.$$.fragment),ce=i(),P=o("p"),P.innerHTML=je,de=i(),O=o("p"),O.textContent=Ge,le=i(),E=o("p"),E.innerHTML=Fe,me=i(),H=o("p"),H.innerHTML=Re,ue=i(),u(k.$$.fragment),pe=i(),c=o("div"),u(A.$$.fragment),Me=i(),W=o("p"),W.textContent=We,Te=i(),B=o("p"),B.innerHTML=Be,Ie=i(),b=o("div"),u(q.$$.fragment),we=i(),Q=o("p"),Q.innerHTML=Qe,De=i(),N=o("blockquote"),N.innerHTML=Ye,Le=i(),y=o("div"),u(V.$$.fragment),Pe=i(),Y=o("p"),Y.innerHTML=Je,Oe=i(),C=o("div"),u(z.$$.fragment),Ee=i(),J=o("p"),J.textContent=Xe,He=i(),M=o("div"),u(U.$$.fragment),ke=i(),X=o("p"),X.textContent=Ze,Ae=i(),T=o("div"),u(K.$$.fragment),qe=i(),Z=o("p"),Z.textContent=et,Ne=i(),I=o("div"),u(j.$$.fragment),Ve=i(),ee=o("p"),ee.textContent=tt,he=i(),u(G.$$.fragment),fe=i(),$=o("div"),u(F.$$.fragment),ze=i(),te=o("p"),te.innerHTML=st,ge=i(),u(R.$$.fragment),_e=i(),ie=o("p"),this.h()},l(e){const n=ct("svelte-u9bgzb",document.head);S=a(n,"META",{name:!0,content:!0}),n.forEach(t),re=r(e),ne=a(e,"P",{}),x(ne).forEach(t),oe=r(e),p(D.$$.fragment,e),ae=r(e),p(L.$$.fragment,e),ce=r(e),P=a(e,"P",{"data-svelte-h":!0}),m(P)!=="svelte-je4cvt"&&(P.innerHTML=je),de=r(e),O=a(e,"P",{"data-svelte-h":!0}),m(O)!=="svelte-1cwsb16"&&(O.textContent=Ge),le=r(e),E=a(e,"P",{"data-svelte-h":!0}),m(E)!=="svelte-1s9qdye"&&(E.innerHTML=Fe),me=r(e),H=a(e,"P",{"data-svelte-h":!0}),m(H)!=="svelte-1ci2nab"&&(H.innerHTML=Re),ue=r(e),p(k.$$.fragment,e),pe=r(e),c=a(e,"DIV",{class:!0});var l=x(c);p(A.$$.fragment,l),Me=r(l),W=a(l,"P",{"data-svelte-h":!0}),m(W)!=="svelte-252n82"&&(W.textContent=We),Te=r(l),B=a(l,"P",{"data-svelte-h":!0}),m(B)!=="svelte-linuuh"&&(B.innerHTML=Be),Ie=r(l),b=a(l,"DIV",{class:!0});var se=x(b);p(q.$$.fragment,se),we=r(se),Q=a(se,"P",{"data-svelte-h":!0}),m(Q)!=="svelte-1t9pjgt"&&(Q.innerHTML=Qe),De=r(se),N=a(se,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),m(N)!=="svelte-9cx3k4"&&(N.innerHTML=Ye),se.forEach(t),Le=r(l),y=a(l,"DIV",{class:!0});var be=x(y);p(V.$$.fragment,be),Pe=r(be),Y=a(be,"P",{"data-svelte-h":!0}),m(Y)!=="svelte-hzru6p"&&(Y.innerHTML=Je),be.forEach(t),Oe=r(l),C=a(l,"DIV",{class:!0});var xe=x(C);p(z.$$.fragment,xe),Ee=r(xe),J=a(xe,"P",{"data-svelte-h":!0}),m(J)!=="svelte-1k141rk"&&(J.textContent=Xe),xe.forEach(t),He=r(l),M=a(l,"DIV",{class:!0});var Se=x(M);p(U.$$.fragment,Se),ke=r(Se),X=a(Se,"P",{"data-svelte-h":!0}),m(X)!=="svelte-qri72b"&&(X.textContent=Ze),Se.forEach(t),Ae=r(l),T=a(l,"DIV",{class:!0});var $e=x(T);p(K.$$.fragment,$e),qe=r($e),Z=a($e,"P",{"data-svelte-h":!0}),m(Z)!=="svelte-1yxdts4"&&(Z.textContent=et),$e.forEach(t),Ne=r(l),I=a(l,"DIV",{class:!0});var ye=x(I);p(j.$$.fragment,ye),Ve=r(ye),ee=a(ye,"P",{"data-svelte-h":!0}),m(ee)!=="svelte-hi84tp"&&(ee.textContent=tt),ye.forEach(t),l.forEach(t),he=r(e),p(G.$$.fragment,e),fe=r(e),$=a(e,"DIV",{class:!0});var Ce=x($);p(F.$$.fragment,Ce),ze=r(Ce),te=a(Ce,"P",{"data-svelte-h":!0}),m(te)!=="svelte-xucjnj"&&(te.innerHTML=st),Ce.forEach(t),ge=r(e),p(R.$$.fragment,e),_e=r(e),ie=a(e,"P",{}),x(ie).forEach(t),this.h()},h(){v(S,"name","hf:doc:metadata"),v(S,"content",ut),v(N,"class","tip"),v(b,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),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(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(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(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(I,"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($,"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,n){s(document.head,S),d(e,re,n),d(e,ne,n),d(e,oe,n),h(D,e,n),d(e,ae,n),h(L,e,n),d(e,ce,n),d(e,P,n),d(e,de,n),d(e,O,n),d(e,le,n),d(e,E,n),d(e,me,n),d(e,H,n),d(e,ue,n),h(k,e,n),d(e,pe,n),d(e,c,n),h(A,c,null),s(c,Me),s(c,W),s(c,Te),s(c,B),s(c,Ie),s(c,b),h(q,b,null),s(b,we),s(b,Q),s(b,De),s(b,N),s(c,Le),s(c,y),h(V,y,null),s(y,Pe),s(y,Y),s(c,Oe),s(c,C),h(z,C,null),s(C,Ee),s(C,J),s(c,He),s(c,M),h(U,M,null),s(M,ke),s(M,X),s(c,Ae),s(c,T),h(K,T,null),s(T,qe),s(T,Z),s(c,Ne),s(c,I),h(j,I,null),s(I,Ve),s(I,ee),d(e,he,n),h(G,e,n),d(e,fe,n),d(e,$,n),h(F,$,null),s($,ze),s($,te),d(e,ge,n),h(R,e,n),d(e,_e,n),d(e,ie,n),ve=!0},p:it,i(e){ve||(f(D.$$.fragment,e),f(L.$$.fragment,e),f(k.$$.fragment,e),f(A.$$.fragment,e),f(q.$$.fragment,e),f(V.$$.fragment,e),f(z.$$.fragment,e),f(U.$$.fragment,e),f(K.$$.fragment,e),f(j.$$.fragment,e),f(G.$$.fragment,e),f(F.$$.fragment,e),f(R.$$.fragment,e),ve=!0)},o(e){g(D.$$.fragment,e),g(L.$$.fragment,e),g(k.$$.fragment,e),g(A.$$.fragment,e),g(q.$$.fragment,e),g(V.$$.fragment,e),g(z.$$.fragment,e),g(U.$$.fragment,e),g(K.$$.fragment,e),g(j.$$.fragment,e),g(G.$$.fragment,e),g(F.$$.fragment,e),g(R.$$.fragment,e),ve=!1},d(e){e&&(t(re),t(ne),t(oe),t(ae),t(ce),t(P),t(de),t(O),t(le),t(E),t(me),t(H),t(ue),t(pe),t(c),t(he),t(fe),t($),t(ge),t(_e),t(ie)),t(S),_(D,e),_(L,e),_(k,e),_(A),_(q),_(V),_(z),_(U),_(K),_(j),_(G,e),_(F),_(R,e)}}}const ut='{"title":"CMStochasticIterativeScheduler","local":"cmstochasticiterativescheduler","sections":[{"title":"CMStochasticIterativeScheduler","local":"diffusers.CMStochasticIterativeScheduler","sections":[],"depth":2},{"title":"CMStochasticIterativeSchedulerOutput","local":"diffusers.schedulers.scheduling_consistency_models.CMStochasticIterativeSchedulerOutput","sections":[],"depth":2}],"depth":1}';function pt(Ke){return rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class bt extends ot{constructor(S){super(),at(this,S,pt,mt,nt,{})}}export{bt as component};
