import{s as lt,n as dt,o as at}from"../chunks/scheduler.53228c21.js";import{S as ct,i as ut,e as i,s,c as u,h as pt,a as l,d as r,b as n,f as b,g as p,j as m,k as v,l as t,m as c,n as f,t as h,o as g,p as _}from"../chunks/index.100fac89.js";import{C as mt}from"../chunks/CopyLLMTxtMenu.2cdbb51f.js";import{D as $}from"../chunks/Docstring.d46840f1.js";import{H as Fe,E as ft}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.3fcbbc76.js";function ht(Ge){let M,le,oe,de,L,ae,O,ce,E,Ye=`The <a href="/docs/diffusers/main/en/api/schedulers/cosine_dpm#diffusers.CosineDPMSolverMultistepScheduler">CosineDPMSolverMultistepScheduler</a> is a variant of <a href="/docs/diffusers/main/en/api/schedulers/multistep_dpm_solver#diffusers.DPMSolverMultistepScheduler">DPMSolverMultistepScheduler</a> with cosine schedule, proposed by Nichol and Dhariwal (2021).
It is being used in the <a href="https://huggingface.co/papers/2407.14358" rel="nofollow">Stable Audio Open</a> paper and the <a href="https://github.com/Stability-AI/stable-audio-tools" rel="nofollow">Stability-AI/stable-audio-tool</a> codebase.`,ue,I,Ke='This scheduler was contributed by <a href="https://huggingface.co/ylacombe" rel="nofollow">Yoach Lacombe</a>.',pe,H,me,o,A,Pe,Y,Qe=`Implements a variant of <code>DPMSolverMultistepScheduler</code> with cosine schedule, proposed by Nichol and Dhariwal (2021).
This scheduler was used in Stable Audio Open [1].`,ye,K,Re='[1] Evans, Parker, et al. “Stable Audio Open” <a href="https://huggingface.co/papers/2407.14358" rel="nofollow">https://huggingface.co/papers/2407.14358</a>',Ce,Q,Je=`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.`,we,S,q,Le,R,Xe=`Convert the model output to the corresponding type the DPMSolver/DPMSolver++ algorithm needs. DPM-Solver is
designed to discretize an integral of the noise prediction model, and DPM-Solver++ is designed to discretize an
integral of the data prediction model.`,Oe,z,Ze=`<p>&gt; The algorithm and model type are decoupled. You can use either DPMSolver or DPMSolver++ for both
noise &gt; prediction and data prediction models.</p>`,Ee,D,N,Ie,J,et="One step for the first-order DPMSolver (equivalent to DDIM).",He,T,V,Ae,X,tt="One step for the second-order multistep DPMSolver.",qe,P,k,ze,Z,st=`Ensures interchangeability with schedulers that need to scale the denoising model input depending on the
current timestep. Scales the denoising model input by <code>(sigma**2 + 1) ** 0.5</code> to match the Euler algorithm.`,Ne,y,j,Ve,ee,rt="Sets the begin index for the scheduler. This function should be run from pipeline before the inference.",ke,C,U,je,te,nt="Sets the discrete timesteps used for the diffusion chain (to be run before inference).",Ue,w,B,Be,se,ot=`Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with
the multistep DPMSolver.`,fe,W,he,x,F,We,re,it="Base class for the output of a scheduler’s <code>step</code> function.",ge,G,_e,ie,ve;return L=new mt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),O=new Fe({props:{title:"CosineDPMSolverMultistepScheduler",local:"cosinedpmsolvermultistepscheduler",headingTag:"h1"}}),H=new Fe({props:{title:"CosineDPMSolverMultistepScheduler",local:"diffusers.CosineDPMSolverMultistepScheduler",headingTag:"h2"}}),A=new $({props:{name:"class diffusers.CosineDPMSolverMultistepScheduler",anchor:"diffusers.CosineDPMSolverMultistepScheduler",parameters:[{name:"sigma_min",val:": float = 0.3"},{name:"sigma_max",val:": float = 500"},{name:"sigma_data",val:": float = 1.0"},{name:"sigma_schedule",val:": str = 'exponential'"},{name:"num_train_timesteps",val:": int = 1000"},{name:"solver_order",val:": int = 2"},{name:"prediction_type",val:": str = 'v_prediction'"},{name:"rho",val:": float = 7.0"},{name:"solver_type",val:": str = 'midpoint'"},{name:"lower_order_final",val:": bool = True"},{name:"euler_at_final",val:": bool = False"},{name:"final_sigmas_type",val:": typing.Optional[str] = 'zero'"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.sigma_min",description:`<strong>sigma_min</strong> (<code>float</code>, <em>optional</em>, defaults to 0.3) &#x2014;
Minimum noise magnitude in the sigma schedule. This was set to 0.3 in Stable Audio Open [1].`,name:"sigma_min"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.sigma_max",description:`<strong>sigma_max</strong> (<code>float</code>, <em>optional</em>, defaults to 500) &#x2014;
Maximum noise magnitude in the sigma schedule. This was set to 500 in Stable Audio Open [1].`,name:"sigma_max"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.sigma_data",description:`<strong>sigma_data</strong> (<code>float</code>, <em>optional</em>, defaults to 1.0) &#x2014;
The standard deviation of the data distribution. This is set to 1.0 in Stable Audio Open [1].`,name:"sigma_data"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.sigma_schedule",description:`<strong>sigma_schedule</strong> (<code>str</code>, <em>optional</em>, defaults to <code>exponential</code>) &#x2014;
Sigma schedule to compute the <code>sigmas</code>. By default, we the schedule introduced in the EDM paper
(<a href="https://huggingface.co/papers/2206.00364" rel="nofollow">https://huggingface.co/papers/2206.00364</a>). Other acceptable value is &#x201C;exponential&#x201D;. The exponential
schedule was incorporated in this model: <a href="https://huggingface.co/stabilityai/cosxl" rel="nofollow">https://huggingface.co/stabilityai/cosxl</a>.`,name:"sigma_schedule"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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.CosineDPMSolverMultistepScheduler.solver_order",description:`<strong>solver_order</strong> (<code>int</code>, defaults to 2) &#x2014;
The DPMSolver order which can be <code>1</code> or <code>2</code>. It is recommended to use <code>solver_order=2</code>.`,name:"solver_order"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.prediction_type",description:`<strong>prediction_type</strong> (<code>str</code>, defaults to <code>v_prediction</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.CosineDPMSolverMultistepScheduler.solver_type",description:`<strong>solver_type</strong> (<code>str</code>, defaults to <code>midpoint</code>) &#x2014;
Solver type for the second-order solver; can be <code>midpoint</code> or <code>heun</code>. The solver type slightly affects the
sample quality, especially for a small number of steps. It is recommended to use <code>midpoint</code> solvers.`,name:"solver_type"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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. This can
stabilize the sampling of DPMSolver for steps &lt; 15, especially for steps &lt;= 10.`,name:"lower_order_final"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.euler_at_final",description:`<strong>euler_at_final</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use Euler&#x2019;s method in the final step. It is a trade-off between numerical stability and detail
richness. This can stabilize the sampling of the SDE variant of DPMSolver for small number of inference
steps, but sometimes may result in blurring.`,name:"euler_at_final"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.final_sigmas_type",description:`<strong>final_sigmas_type</strong> (<code>str</code>, defaults to <code>&quot;zero&quot;</code>) &#x2014;
The final <code>sigma</code> value for the noise schedule during the sampling process. If <code>&quot;sigma_min&quot;</code>, the final
sigma is the same as the last sigma in the training schedule. If <code>zero</code>, the final sigma is set to 0.`,name:"final_sigmas_type"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_cosine_dpmsolver_multistep.py#L28"}}),q=new $({props:{name:"convert_model_output",anchor:"diffusers.CosineDPMSolverMultistepScheduler.convert_model_output",parameters:[{name:"model_output",val:": Tensor"},{name:"sample",val:": Tensor = None"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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.CosineDPMSolverMultistepScheduler.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_cosine_dpmsolver_multistep.py#L297",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>
`}}),N=new $({props:{name:"dpm_solver_first_order_update",anchor:"diffusers.CosineDPMSolverMultistepScheduler.dpm_solver_first_order_update",parameters:[{name:"model_output",val:": Tensor"},{name:"sample",val:": Tensor = None"},{name:"noise",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.dpm_solver_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.CosineDPMSolverMultistepScheduler.dpm_solver_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_cosine_dpmsolver_multistep.py#L325",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>
`}}),V=new $({props:{name:"multistep_dpm_solver_second_order_update",anchor:"diffusers.CosineDPMSolverMultistepScheduler.multistep_dpm_solver_second_order_update",parameters:[{name:"model_output_list",val:": typing.List[torch.Tensor]"},{name:"sample",val:": Tensor = None"},{name:"noise",val:": typing.Optional[torch.Tensor] = None"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.multistep_dpm_solver_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.CosineDPMSolverMultistepScheduler.multistep_dpm_solver_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_cosine_dpmsolver_multistep.py#L360",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>
`}}),k=new $({props:{name:"scale_model_input",anchor:"diffusers.CosineDPMSolverMultistepScheduler.scale_model_input",parameters:[{name:"sample",val:": Tensor"},{name:"timestep",val:": typing.Union[float, torch.Tensor]"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.scale_model_input.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014;
The input sample.`,name:"sample"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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_cosine_dpmsolver_multistep.py#L174",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>
`}}),j=new $({props:{name:"set_begin_index",anchor:"diffusers.CosineDPMSolverMultistepScheduler.set_begin_index",parameters:[{name:"begin_index",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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_cosine_dpmsolver_multistep.py#L135"}}),U=new $({props:{name:"set_timesteps",anchor:"diffusers.CosineDPMSolverMultistepScheduler.set_timesteps",parameters:[{name:"num_inference_steps",val:": int = None"},{name:"device",val:": typing.Union[str, torch.device] = None"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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.CosineDPMSolverMultistepScheduler.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_cosine_dpmsolver_multistep.py#L198"}}),B=new $({props:{name:"step",anchor:"diffusers.CosineDPMSolverMultistepScheduler.step",parameters:[{name:"model_output",val:": Tensor"},{name:"timestep",val:": typing.Union[int, torch.Tensor]"},{name:"sample",val:": Tensor"},{name:"generator",val:" = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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.CosineDPMSolverMultistepScheduler.step.timestep",description:`<strong>timestep</strong> (<code>int</code>) &#x2014;
The current discrete timestep in the diffusion chain.`,name:"timestep"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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.CosineDPMSolverMultistepScheduler.step.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) &#x2014;
A random number generator.`,name:"generator"},{anchor:"diffusers.CosineDPMSolverMultistepScheduler.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_cosine_dpmsolver_multistep.py#L451",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>
`}}),W=new Fe({props:{title:"SchedulerOutput",local:"diffusers.schedulers.scheduling_utils.SchedulerOutput",headingTag:"h2"}}),F=new $({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"}}),G=new ft({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/schedulers/cosine_dpm.md"}}),{c(){M=i("meta"),le=s(),oe=i("p"),de=s(),u(L.$$.fragment),ae=s(),u(O.$$.fragment),ce=s(),E=i("p"),E.innerHTML=Ye,ue=s(),I=i("p"),I.innerHTML=Ke,pe=s(),u(H.$$.fragment),me=s(),o=i("div"),u(A.$$.fragment),Pe=s(),Y=i("p"),Y.innerHTML=Qe,ye=s(),K=i("p"),K.innerHTML=Re,Ce=s(),Q=i("p"),Q.innerHTML=Je,we=s(),S=i("div"),u(q.$$.fragment),Le=s(),R=i("p"),R.textContent=Xe,Oe=s(),z=i("blockquote"),z.innerHTML=Ze,Ee=s(),D=i("div"),u(N.$$.fragment),Ie=s(),J=i("p"),J.textContent=et,He=s(),T=i("div"),u(V.$$.fragment),Ae=s(),X=i("p"),X.textContent=tt,qe=s(),P=i("div"),u(k.$$.fragment),ze=s(),Z=i("p"),Z.innerHTML=st,Ne=s(),y=i("div"),u(j.$$.fragment),Ve=s(),ee=i("p"),ee.textContent=rt,ke=s(),C=i("div"),u(U.$$.fragment),je=s(),te=i("p"),te.textContent=nt,Ue=s(),w=i("div"),u(B.$$.fragment),Be=s(),se=i("p"),se.textContent=ot,fe=s(),u(W.$$.fragment),he=s(),x=i("div"),u(F.$$.fragment),We=s(),re=i("p"),re.innerHTML=it,ge=s(),u(G.$$.fragment),_e=s(),ie=i("p"),this.h()},l(e){const d=pt("svelte-u9bgzb",document.head);M=l(d,"META",{name:!0,content:!0}),d.forEach(r),le=n(e),oe=l(e,"P",{}),b(oe).forEach(r),de=n(e),p(L.$$.fragment,e),ae=n(e),p(O.$$.fragment,e),ce=n(e),E=l(e,"P",{"data-svelte-h":!0}),m(E)!=="svelte-6nfiw2"&&(E.innerHTML=Ye),ue=n(e),I=l(e,"P",{"data-svelte-h":!0}),m(I)!=="svelte-jkqqv0"&&(I.innerHTML=Ke),pe=n(e),p(H.$$.fragment,e),me=n(e),o=l(e,"DIV",{class:!0});var a=b(o);p(A.$$.fragment,a),Pe=n(a),Y=l(a,"P",{"data-svelte-h":!0}),m(Y)!=="svelte-nl0rsr"&&(Y.innerHTML=Qe),ye=n(a),K=l(a,"P",{"data-svelte-h":!0}),m(K)!=="svelte-194l874"&&(K.innerHTML=Re),Ce=n(a),Q=l(a,"P",{"data-svelte-h":!0}),m(Q)!=="svelte-linuuh"&&(Q.innerHTML=Je),we=n(a),S=l(a,"DIV",{class:!0});var ne=b(S);p(q.$$.fragment,ne),Le=n(ne),R=l(ne,"P",{"data-svelte-h":!0}),m(R)!=="svelte-1st02i8"&&(R.textContent=Xe),Oe=n(ne),z=l(ne,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),m(z)!=="svelte-lwd2ft"&&(z.innerHTML=Ze),ne.forEach(r),Ee=n(a),D=l(a,"DIV",{class:!0});var be=b(D);p(N.$$.fragment,be),Ie=n(be),J=l(be,"P",{"data-svelte-h":!0}),m(J)!=="svelte-4nw43d"&&(J.textContent=et),be.forEach(r),He=n(a),T=l(a,"DIV",{class:!0});var Se=b(T);p(V.$$.fragment,Se),Ae=n(Se),X=l(Se,"P",{"data-svelte-h":!0}),m(X)!=="svelte-1d6o6zu"&&(X.textContent=tt),Se.forEach(r),qe=n(a),P=l(a,"DIV",{class:!0});var Me=b(P);p(k.$$.fragment,Me),ze=n(Me),Z=l(Me,"P",{"data-svelte-h":!0}),m(Z)!=="svelte-1hew89w"&&(Z.innerHTML=st),Me.forEach(r),Ne=n(a),y=l(a,"DIV",{class:!0});var xe=b(y);p(j.$$.fragment,xe),Ve=n(xe),ee=l(xe,"P",{"data-svelte-h":!0}),m(ee)!=="svelte-1k141rk"&&(ee.textContent=rt),xe.forEach(r),ke=n(a),C=l(a,"DIV",{class:!0});var $e=b(C);p(U.$$.fragment,$e),je=n($e),te=l($e,"P",{"data-svelte-h":!0}),m(te)!=="svelte-1vzm9q"&&(te.textContent=nt),$e.forEach(r),Ue=n(a),w=l(a,"DIV",{class:!0});var De=b(w);p(B.$$.fragment,De),Be=n(De),se=l(De,"P",{"data-svelte-h":!0}),m(se)!=="svelte-7jbjgx"&&(se.textContent=ot),De.forEach(r),a.forEach(r),fe=n(e),p(W.$$.fragment,e),he=n(e),x=l(e,"DIV",{class:!0});var Te=b(x);p(F.$$.fragment,Te),We=n(Te),re=l(Te,"P",{"data-svelte-h":!0}),m(re)!=="svelte-6ojmkw"&&(re.innerHTML=it),Te.forEach(r),ge=n(e),p(G.$$.fragment,e),_e=n(e),ie=l(e,"P",{}),b(ie).forEach(r),this.h()},h(){v(M,"name","hf:doc:metadata"),v(M,"content",gt),v(z,"class","tip"),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(D,"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(P,"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(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(o,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(x,"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,d){t(document.head,M),c(e,le,d),c(e,oe,d),c(e,de,d),f(L,e,d),c(e,ae,d),f(O,e,d),c(e,ce,d),c(e,E,d),c(e,ue,d),c(e,I,d),c(e,pe,d),f(H,e,d),c(e,me,d),c(e,o,d),f(A,o,null),t(o,Pe),t(o,Y),t(o,ye),t(o,K),t(o,Ce),t(o,Q),t(o,we),t(o,S),f(q,S,null),t(S,Le),t(S,R),t(S,Oe),t(S,z),t(o,Ee),t(o,D),f(N,D,null),t(D,Ie),t(D,J),t(o,He),t(o,T),f(V,T,null),t(T,Ae),t(T,X),t(o,qe),t(o,P),f(k,P,null),t(P,ze),t(P,Z),t(o,Ne),t(o,y),f(j,y,null),t(y,Ve),t(y,ee),t(o,ke),t(o,C),f(U,C,null),t(C,je),t(C,te),t(o,Ue),t(o,w),f(B,w,null),t(w,Be),t(w,se),c(e,fe,d),f(W,e,d),c(e,he,d),c(e,x,d),f(F,x,null),t(x,We),t(x,re),c(e,ge,d),f(G,e,d),c(e,_e,d),c(e,ie,d),ve=!0},p:dt,i(e){ve||(h(L.$$.fragment,e),h(O.$$.fragment,e),h(H.$$.fragment,e),h(A.$$.fragment,e),h(q.$$.fragment,e),h(N.$$.fragment,e),h(V.$$.fragment,e),h(k.$$.fragment,e),h(j.$$.fragment,e),h(U.$$.fragment,e),h(B.$$.fragment,e),h(W.$$.fragment,e),h(F.$$.fragment,e),h(G.$$.fragment,e),ve=!0)},o(e){g(L.$$.fragment,e),g(O.$$.fragment,e),g(H.$$.fragment,e),g(A.$$.fragment,e),g(q.$$.fragment,e),g(N.$$.fragment,e),g(V.$$.fragment,e),g(k.$$.fragment,e),g(j.$$.fragment,e),g(U.$$.fragment,e),g(B.$$.fragment,e),g(W.$$.fragment,e),g(F.$$.fragment,e),g(G.$$.fragment,e),ve=!1},d(e){e&&(r(le),r(oe),r(de),r(ae),r(ce),r(E),r(ue),r(I),r(pe),r(me),r(o),r(fe),r(he),r(x),r(ge),r(_e),r(ie)),r(M),_(L,e),_(O,e),_(H,e),_(A),_(q),_(N),_(V),_(k),_(j),_(U),_(B),_(W,e),_(F),_(G,e)}}}const gt='{"title":"CosineDPMSolverMultistepScheduler","local":"cosinedpmsolvermultistepscheduler","sections":[{"title":"CosineDPMSolverMultistepScheduler","local":"diffusers.CosineDPMSolverMultistepScheduler","sections":[],"depth":2},{"title":"SchedulerOutput","local":"diffusers.schedulers.scheduling_utils.SchedulerOutput","sections":[],"depth":2}],"depth":1}';function _t(Ge){return at(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $t extends ct{constructor(M){super(),ut(this,M,_t,ht,lt,{})}}export{$t as component};
