import{s as vo,o as yo,n as Mn}from"../chunks/scheduler.53228c21.js";import{S as $o,i as xo,e as r,s as n,c as f,q as _o,h as wo,a as s,d as a,b as o,f as L,g,j as c,r as bo,k as T,l as t,m as l,n as p,t as m,o as h,p as _}from"../chunks/index.100fac89.js";import{C as Go}from"../chunks/CopyLLMTxtMenu.999d3d86.js";import{D as M}from"../chunks/Docstring.46d0934e.js";import{C as Pn}from"../chunks/CodeBlock.d30a6509.js";import{E as Fn}from"../chunks/ExampleCodeBlock.9c663ca1.js";import{H as q,E as Co}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d27ae4df.js";function To(V){let u,P="Example:",w,b,y;return b=new Pn({props:{code:"JTIzJTIwQ3JlYXRlJTIwYSUyMENGRyUyMGd1aWRlciUwQWd1aWRlciUyMCUzRCUyMENsYXNzaWZpZXJGcmVlR3VpZGFuY2UoZ3VpZGFuY2Vfc2NhbGUlM0QzLjUpJTBBJTBBJTIzJTIwQ3JlYXRlJTIwYW4lMjBleGFjdCUyMGNvcHklMEFzYW1lX2d1aWRlciUyMCUzRCUyMGd1aWRlci5uZXcoKSUwQSUwQSUyMyUyMENyZWF0ZSUyMGElMjBjb3B5JTIwd2l0aCUyMGRpZmZlcmVudCUyMHN0YXJ0JTIwc3RlcCUyQyUyMGtlZXBpbmclMjBvdGhlciUyMGNvbmZpZyUyMHRoZSUyMHNhbWUlMEFuZXdfZ3VpZGVyJTIwJTNEJTIwZ3VpZGVyLm5ldyhndWlkYW5jZV9zY2FsZSUzRDUp",highlighted:`<span class="hljs-comment"># Create a CFG guider</span>
guider = ClassifierFreeGuidance(guidance_scale=<span class="hljs-number">3.5</span>)

<span class="hljs-comment"># Create an exact copy</span>
same_guider = guider.new()

<span class="hljs-comment"># Create a copy with different start step, keeping other config the same</span>
new_guider = guider.new(guidance_scale=<span class="hljs-number">5</span>)`,wrap:!1}}),{c(){u=r("p"),u.textContent=P,w=n(),f(b.$$.fragment)},l(d){u=s(d,"P",{"data-svelte-h":!0}),c(u)!=="svelte-11lpom8"&&(u.textContent=P),w=o(d),g(b.$$.fragment,d)},m(d,G){l(d,u,G),l(d,w,G),p(b,d,G),y=!0},p:Mn,i(d){y||(m(b.$$.fragment,d),y=!0)},o(d){h(b.$$.fragment,d),y=!1},d(d){d&&(a(u),a(w)),_(b,d)}}}function ko(V){let u,P="<li><strong>Original formulation</strong> (from paper):</li>",w,b,y;return b=new Pn({props:{code:"eF9wcmVkJTIwJTNEJTIweF9jb25kJTIwJTJCJTIwZ3VpZGFuY2Vfc2NhbGUlMjAqJTIwKHhfY29uZCUyMC0lMjB4X3VuY29uZCk=",highlighted:'<span class="hljs-attr">x_pred</span> = x_cond + guidance_scale * (x_cond - x_uncond)',wrap:!1}}),{c(){u=r("ol"),u.innerHTML=P,w=n(),f(b.$$.fragment)},l(d){u=s(d,"OL",{"data-svelte-h":!0}),c(u)!=="svelte-ts9bs0"&&(u.innerHTML=P),w=o(d),g(b.$$.fragment,d)},m(d,G){l(d,u,G),l(d,w,G),p(b,d,G),y=!0},p:Mn,i(d){y||(m(b.$$.fragment,d),y=!0)},o(d){h(b.$$.fragment,d),y=!1},d(d){d&&(a(u),a(w)),_(b,d)}}}function So(V){let u,P="<li><strong>Diffusers-native formulation</strong> (default, from Imagen paper):</li>",w,b,y;return b=new Pn({props:{code:"eF9wcmVkJTIwJTNEJTIweF91bmNvbmQlMjAlMkIlMjBndWlkYW5jZV9zY2FsZSUyMColMjAoeF9jb25kJTIwLSUyMHhfdW5jb25kKQ==",highlighted:'<span class="hljs-attr">x_pred</span> = x_uncond + guidance_scale * (x_cond - x_uncond)',wrap:!1}}),{c(){u=r("ol"),u.innerHTML=P,w=n(),f(b.$$.fragment),this.h()},l(d){u=s(d,"OL",{start:!0,"data-svelte-h":!0}),c(u)!=="svelte-pk9bpn"&&(u.innerHTML=P),w=o(d),g(b.$$.fragment,d),this.h()},h(){T(u,"start","2")},m(d,G){l(d,u,G),l(d,w,G),p(b,d,G),y=!0},p:Mn,i(d){y||(m(b.$$.fragment,d),y=!0)},o(d){h(b.$$.fragment,d),y=!1},d(d){d&&(a(u),a(w)),_(b,d)}}}function Lo(V){let u,P,w,b,y,d,G,ut,K,An="Guiders are components in Modular Diffusers that control how the diffusion process is guided during generation. They implement various guidance techniques to improve generation quality and control.",ft,ee,gt,$,te,jt,ke,Hn="Base class providing the skeleton for implementing guidance techniques.",qt,J,ne,Dt,Se,En=`Cleans up the models for the guidance technique after a given batch of data. This method should be overridden
in subclasses to implement specific model cleanup logic. It is useful for removing any hooks or other stateful
modifications made during <code>prepare_models</code>.`,Ut,I,oe,Nt,Le,In="Instantiate a guider from a pre-defined JSON configuration file in a local directory or Hub repository.",Zt,ae,Bn=`<p>&gt; To use private or <a href="https://huggingface.co/docs/hub/models-gated#gated-models" rel="nofollow">gated models</a>, log-in
with <code>hf &gt; auth login</code>. You can also activate the special &gt;
<a href="https://huggingface.co/diffusers/installation.html#offline-mode" rel="nofollow">“offline-mode”</a> to use this method in a &gt;
firewalled environment.</p>`,Vt,B,ie,Jt,Fe,jn=`Returns the current state of the guidance technique as a dictionary. The state variables will be included in
the <strong>repr</strong> method. Returns:
<code>Dict[str, Any]</code>: A dictionary containing the current state variables including:`,zt,Me,qn="<li>step: Current inference step</li> <li>num_inference_steps: Total number of inference steps</li> <li>timestep: Current timestep tensor</li> <li>count_prepared: Number of times prepare_models has been called</li> <li>enabled: Whether the guidance is enabled</li> <li>num_conditions: Number of conditions</li>",Wt,j,re,Rt,Pe,Dn="Creates a copy of this guider instance, optionally with modified configuration parameters.",Yt,z,Ot,W,se,Qt,Ae,Un=`Prepares the models for the guidance technique on a given batch of data. This method should be overridden in
subclasses to implement specific model preparation logic.`,Xt,R,de,Kt,He,Nn=`Save a guider configuration object to a directory so that it can be reloaded using the
<a href="/docs/diffusers/main/en/api/modular_diffusers/guiders#diffusers.BaseGuidance.from_pretrained">from_pretrained()</a> class method.`,pt,le,mt,x,ce,en,Ee,Zn="Implements Classifier-Free Guidance (CFG) for diffusion models.",tn,Ie,Vn='Reference: <a href="https://huggingface.co/papers/2207.12598" rel="nofollow">https://huggingface.co/papers/2207.12598</a>',nn,Be,Jn=`CFG improves generation quality and prompt adherence by jointly training models on both conditional and
unconditional data, then combining predictions during inference. This allows trading off between quality (high
guidance) and diversity (low guidance).`,on,je,zn="<strong>Two CFG Formulations:</strong>",an,Y,rn,O,sn,qe,Wn="Use <code>use_original_formulation=True</code> to switch to the original formulation.",ht,ue,_t,A,fe,dn,De,Rn='Classifier-free Zero<em>(CFG-Zero</em>): <a href="https://huggingface.co/papers/2503.18886" rel="nofollow">https://huggingface.co/papers/2503.18886</a>',ln,Ue,Yn=`This is an implementation of the Classifier-Free Zero* guidance technique, which is a variant of classifier-free
guidance. It proposes zero initialization of the noise predictions for the first few steps of the diffusion
process, and also introduces an optimal rescaling factor for the noise predictions, which can help in improving the
quality of generated images.`,cn,Ne,On="The authors of the paper suggest setting zero initialization in the first 4% of the inference steps.",bt,ge,vt,v,pe,un,Ze,Qn='Skip Layer Guidance (SLG): <a href="https://github.com/Stability-AI/sd3.5" rel="nofollow">https://github.com/Stability-AI/sd3.5</a>',fn,Ve,Xn='Spatio-Temporal Guidance (STG): <a href="https://huggingface.co/papers/2411.18664" rel="nofollow">https://huggingface.co/papers/2411.18664</a>',gn,Je,Kn=`SLG was introduced by StabilityAI for improving structure and anotomy coherence in generated images. It works by
skipping the forward pass of specified transformer blocks during the denoising process on an additional conditional
batch of data, apart from the conditional and unconditional batches already used in CFG
([~guiders.classifier_free_guidance.ClassifierFreeGuidance]), and then scaling and shifting the CFG predictions
based on the difference between conditional without skipping and conditional with skipping predictions.`,pn,ze,eo=`The intution behind SLG can be thought of as moving the CFG predicted distribution estimates further away from
worse versions of the conditional distribution estimates (because skipping layers is equivalent to using a worse
version of the model for the conditional prediction).`,mn,We,to=`STG is an improvement and follow-up work combining ideas from SLG, PAG and similar techniques for improving
generation quality in video diffusion models.`,hn,Re,no="Additional reading:",_n,Ye,oo='<li><a href="https://huggingface.co/papers/2406.02507" rel="nofollow">Guiding a Diffusion Model with a Bad Version of Itself</a></li>',bn,Oe,ao=`The values for <code>skip_layer_guidance_scale</code>, <code>skip_layer_guidance_start</code>, and <code>skip_layer_guidance_stop</code> are
defaulted to the recommendations by StabilityAI for Stable Diffusion 3.5 Medium.`,yt,me,$t,H,he,vn,Qe,io='Smoothed Energy Guidance (SEG): <a href="https://huggingface.co/papers/2408.00760" rel="nofollow">https://huggingface.co/papers/2408.00760</a>',yn,Xe,ro=`SEG is only supported as an experimental prototype feature for now, so the implementation may be modified in the
future without warning or guarantee of reproducibility. This implementation assumes:`,$n,Ke,so=`<li>Generated images are square (height == width)</li> <li>The model does not combine different modalities together (e.g., text and image latent streams are not combined
together such as Flux)</li>`,xt,_e,wt,S,be,xn,et,lo='Perturbed Attention Guidance (PAG): <a href="https://huggingface.co/papers/2403.17377" rel="nofollow">https://huggingface.co/papers/2403.17377</a>',wn,tt,co=`The intution behind PAG can be thought of as moving the CFG predicted distribution estimates further away from
worse versions of the conditional distribution estimates. PAG was one of the first techniques to introduce the idea
of using a worse version of the trained model for better guiding itself in the denoising process. It perturbs the
attention scores of the latent stream by replacing the score matrix with an identity matrix for selectively chosen
layers.`,Gn,nt,uo="Additional reading:",Cn,ot,fo='<li><a href="https://huggingface.co/papers/2406.02507" rel="nofollow">Guiding a Diffusion Model with a Bad Version of Itself</a></li>',Tn,at,go=`PAG is implemented with similar implementation to SkipLayerGuidance due to overlap in the configuration parameters
and implementation details.`,Gt,ve,Ct,D,ye,kn,it,po='Adaptive Projected Guidance (APG): <a href="https://huggingface.co/papers/2410.02416" rel="nofollow">https://huggingface.co/papers/2410.02416</a>',Tt,$e,kt,U,xe,Sn,rt,mo='AutoGuidance: <a href="https://huggingface.co/papers/2406.02507" rel="nofollow">https://huggingface.co/papers/2406.02507</a>',St,we,Lt,N,Ge,Ln,st,ho='Tangential Classifier Free Guidance (TCFG): <a href="https://huggingface.co/papers/2503.18137" rel="nofollow">https://huggingface.co/papers/2503.18137</a>',Ft,Ce,Mt,ct,Pt;return y=new Go({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),G=new q({props:{title:"Guiders",local:"guiders",headingTag:"h1"}}),ee=new q({props:{title:"BaseGuidance",local:"diffusers.BaseGuidance",headingTag:"h2"}}),te=new M({props:{name:"class diffusers.BaseGuidance",anchor:"diffusers.BaseGuidance",parameters:[{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/guider_utils.py#L36"}}),ne=new M({props:{name:"cleanup_models",anchor:"diffusers.BaseGuidance.cleanup_models",parameters:[{name:"denoiser",val:": Module"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/guider_utils.py#L158"}}),oe=new M({props:{name:"from_pretrained",anchor:"diffusers.BaseGuidance.from_pretrained",parameters:[{name:"pretrained_model_name_or_path",val:": typing.Union[str, os.PathLike, NoneType] = None"},{name:"subfolder",val:": typing.Optional[str] = None"},{name:"return_unused_kwargs",val:" = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.BaseGuidance.from_pretrained.pretrained_model_name_or_path",description:`<strong>pretrained_model_name_or_path</strong> (<code>str</code> or <code>os.PathLike</code>, <em>optional</em>) &#x2014;
Can be either:</p>
<ul>
<li>A string, the <em>model id</em> (for example <code>google/ddpm-celebahq-256</code>) of a pretrained model hosted on
the Hub.</li>
<li>A path to a <em>directory</em> (for example <code>./my_model_directory</code>) containing the guider configuration
saved with <a href="/docs/diffusers/main/en/api/modular_diffusers/guiders#diffusers.BaseGuidance.save_pretrained">save_pretrained()</a>.</li>
</ul>`,name:"pretrained_model_name_or_path"},{anchor:"diffusers.BaseGuidance.from_pretrained.subfolder",description:`<strong>subfolder</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The subfolder location of a model file within a larger model repository on the Hub or locally.`,name:"subfolder"},{anchor:"diffusers.BaseGuidance.from_pretrained.return_unused_kwargs",description:`<strong>return_unused_kwargs</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether kwargs that are not consumed by the Python class should be returned or not.`,name:"return_unused_kwargs"},{anchor:"diffusers.BaseGuidance.from_pretrained.cache_dir",description:`<strong>cache_dir</strong> (<code>Union[str, os.PathLike]</code>, <em>optional</em>) &#x2014;
Path to a directory where a downloaded pretrained model configuration is cached if the standard cache
is not used.`,name:"cache_dir"},{anchor:"diffusers.BaseGuidance.from_pretrained.force_download",description:`<strong>force_download</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
cached versions if they exist.`,name:"force_download"},{anchor:"diffusers.BaseGuidance.from_pretrained.proxies",description:`<strong>proxies</strong> (<code>Dict[str, str]</code>, <em>optional</em>) &#x2014;
A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{&apos;http&apos;: &apos;foo.bar:3128&apos;, &apos;http://hostname&apos;: &apos;foo.bar:4012&apos;}</code>. The proxies are used on each request.`,name:"proxies"},{anchor:"diffusers.BaseGuidance.from_pretrained.output_loading_info(bool,",description:`<strong>output_loading_info(<code>bool</code>,</strong> <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to also return a dictionary containing missing keys, unexpected keys and error messages.`,name:"output_loading_info(bool,"},{anchor:"diffusers.BaseGuidance.from_pretrained.local_files_only(bool,",description:`<strong>local_files_only(<code>bool</code>,</strong> <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model
won&#x2019;t be downloaded from the Hub.`,name:"local_files_only(bool,"},{anchor:"diffusers.BaseGuidance.from_pretrained.token",description:`<strong>token</strong> (<code>str</code> or <em>bool</em>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If <code>True</code>, the token generated from
<code>diffusers-cli login</code> (stored in <code>~/.huggingface</code>) is used.`,name:"token"},{anchor:"diffusers.BaseGuidance.from_pretrained.revision",description:`<strong>revision</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;main&quot;</code>) &#x2014;
The specific model version to use. It can be a branch name, a tag name, a commit id, or any identifier
allowed by Git.`,name:"revision"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/guider_utils.py#L287"}}),ie=new M({props:{name:"get_state",anchor:"diffusers.BaseGuidance.get_state",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/guider_utils.py#L104"}}),re=new M({props:{name:"new",anchor:"diffusers.BaseGuidance.new",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.BaseGuidance.new.*kwargs",description:`*<strong>*kwargs</strong> &#x2014; Configuration parameters to override in the new instance. If no kwargs are provided,
returns an exact copy with the same configuration.`,name:"*kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/guider_utils.py#L67",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A new guider instance with the same (or updated) configuration.</p>
`}}),z=new Fn({props:{anchor:"diffusers.BaseGuidance.new.example",$$slots:{default:[To]},$$scope:{ctx:V}}}),se=new M({props:{name:"prepare_models",anchor:"diffusers.BaseGuidance.prepare_models",parameters:[{name:"denoiser",val:": Module"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/guider_utils.py#L151"}}),de=new M({props:{name:"save_pretrained",anchor:"diffusers.BaseGuidance.save_pretrained",parameters:[{name:"save_directory",val:": typing.Union[str, os.PathLike]"},{name:"push_to_hub",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.BaseGuidance.save_pretrained.save_directory",description:`<strong>save_directory</strong> (<code>str</code> or <code>os.PathLike</code>) &#x2014;
Directory where the configuration JSON file will be saved (will be created if it does not exist).`,name:"save_directory"},{anchor:"diffusers.BaseGuidance.save_pretrained.push_to_hub",description:`<strong>push_to_hub</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to push your model to the Hugging Face Hub after saving it. You can specify the
repository you want to push to with <code>repo_id</code> (will default to the name of <code>save_directory</code> in your
namespace).`,name:"push_to_hub"},{anchor:"diffusers.BaseGuidance.save_pretrained.kwargs",description:`<strong>kwargs</strong> (<code>Dict[str, Any]</code>, <em>optional</em>) &#x2014;
Additional keyword arguments passed along to the <a href="/docs/diffusers/main/en/api/schedulers/overview#diffusers.utils.PushToHubMixin.push_to_hub">push_to_hub()</a> method.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/guider_utils.py#L348"}}),le=new q({props:{title:"ClassifierFreeGuidance",local:"diffusers.ClassifierFreeGuidance",headingTag:"h2"}}),ce=new M({props:{name:"class diffusers.ClassifierFreeGuidance",anchor:"diffusers.ClassifierFreeGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.ClassifierFreeGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
CFG scale applied by this guider during post-processing. Higher values = stronger prompt conditioning but
may reduce quality. Typical range: 1.0-20.0.`,name:"guidance_scale"},{anchor:"diffusers.ClassifierFreeGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
Rescaling factor to prevent overexposure from high guidance scales. Based on <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise
Schedules and Sample Steps are Flawed</a>. Range: 0.0 (no rescaling)
to 1.0 (full rescaling).`,name:"guidance_rescale"},{anchor:"diffusers.ClassifierFreeGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, uses the original CFG formulation from the paper. If <code>False</code> (default), uses the
diffusers-native formulation from the Imagen paper.`,name:"use_original_formulation"},{anchor:"diffusers.ClassifierFreeGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
Fraction of denoising steps (0.0-1.0) after which CFG starts. Use &gt; 0.0 to disable CFG in early denoising
steps.`,name:"start"},{anchor:"diffusers.ClassifierFreeGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>1.0</code>) &#x2014;
Fraction of denoising steps (0.0-1.0) after which CFG stops. Use &lt; 1.0 to disable CFG in late denoising
steps.`,name:"stop"},{anchor:"diffusers.ClassifierFreeGuidance.enabled",description:`<strong>enabled</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether CFG is enabled. Set to <code>False</code> to disable CFG entirely (uses only conditional predictions).`,name:"enabled"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/classifier_free_guidance.py#L28"}}),Y=new Fn({props:{anchor:"diffusers.ClassifierFreeGuidance.example",$$slots:{default:[ko]},$$scope:{ctx:V}}}),O=new Fn({props:{anchor:"diffusers.ClassifierFreeGuidance.example-2",$$slots:{default:[So]},$$scope:{ctx:V}}}),ue=new q({props:{title:"ClassifierFreeZeroStarGuidance",local:"diffusers.ClassifierFreeZeroStarGuidance",headingTag:"h2"}}),fe=new M({props:{name:"class diffusers.ClassifierFreeZeroStarGuidance",anchor:"diffusers.ClassifierFreeZeroStarGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"zero_init_steps",val:": int = 1"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.ClassifierFreeZeroStarGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
The scale parameter for classifier-free guidance. Higher values result in stronger conditioning on the text
prompt, while lower values allow for more freedom in generation. Higher values may lead to saturation and
deterioration of image quality.`,name:"guidance_scale"},{anchor:"diffusers.ClassifierFreeZeroStarGuidance.zero_init_steps",description:`<strong>zero_init_steps</strong> (<code>int</code>, defaults to <code>1</code>) &#x2014;
The number of inference steps for which the noise predictions are zeroed out (see Section 4.2).`,name:"zero_init_steps"},{anchor:"diffusers.ClassifierFreeZeroStarGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix
overexposure. Based on Section 3.4 from <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and Sample Steps are
Flawed</a>.`,name:"guidance_rescale"},{anchor:"diffusers.ClassifierFreeZeroStarGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
we use the diffusers-native implementation that has been in the codebase for a long time. See
[~guiders.classifier_free_guidance.ClassifierFreeGuidance] for more details.`,name:"use_original_formulation"},{anchor:"diffusers.ClassifierFreeZeroStarGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.01</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance starts.`,name:"start"},{anchor:"diffusers.ClassifierFreeZeroStarGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>0.2</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/classifier_free_zero_star_guidance.py#L28"}}),ge=new q({props:{title:"SkipLayerGuidance",local:"diffusers.SkipLayerGuidance",headingTag:"h2"}}),pe=new M({props:{name:"class diffusers.SkipLayerGuidance",anchor:"diffusers.SkipLayerGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"skip_layer_guidance_scale",val:": float = 2.8"},{name:"skip_layer_guidance_start",val:": float = 0.01"},{name:"skip_layer_guidance_stop",val:": float = 0.2"},{name:"skip_layer_guidance_layers",val:": typing.Union[int, typing.List[int], NoneType] = None"},{name:"skip_layer_config",val:": typing.Union[diffusers.hooks.layer_skip.LayerSkipConfig, typing.List[diffusers.hooks.layer_skip.LayerSkipConfig], typing.Dict[str, typing.Any]] = None"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.SkipLayerGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
The scale parameter for classifier-free guidance. Higher values result in stronger conditioning on the text
prompt, while lower values allow for more freedom in generation. Higher values may lead to saturation and
deterioration of image quality.`,name:"guidance_scale"},{anchor:"diffusers.SkipLayerGuidance.skip_layer_guidance_scale",description:`<strong>skip_layer_guidance_scale</strong> (<code>float</code>, defaults to <code>2.8</code>) &#x2014;
The scale parameter for skip layer guidance. Anatomy and structure coherence may improve with higher
values, but it may also lead to overexposure and saturation.`,name:"skip_layer_guidance_scale"},{anchor:"diffusers.SkipLayerGuidance.skip_layer_guidance_start",description:`<strong>skip_layer_guidance_start</strong> (<code>float</code>, defaults to <code>0.01</code>) &#x2014;
The fraction of the total number of denoising steps after which skip layer guidance starts.`,name:"skip_layer_guidance_start"},{anchor:"diffusers.SkipLayerGuidance.skip_layer_guidance_stop",description:`<strong>skip_layer_guidance_stop</strong> (<code>float</code>, defaults to <code>0.2</code>) &#x2014;
The fraction of the total number of denoising steps after which skip layer guidance stops.`,name:"skip_layer_guidance_stop"},{anchor:"diffusers.SkipLayerGuidance.skip_layer_guidance_layers",description:`<strong>skip_layer_guidance_layers</strong> (<code>int</code> or <code>List[int]</code>, <em>optional</em>) &#x2014;
The layer indices to apply skip layer guidance to. Can be a single integer or a list of integers. If not
provided, <code>skip_layer_config</code> must be provided. The recommended values are <code>[7, 8, 9]</code> for Stable Diffusion
3.5 Medium.`,name:"skip_layer_guidance_layers"},{anchor:"diffusers.SkipLayerGuidance.skip_layer_config",description:`<strong>skip_layer_config</strong> (<code>LayerSkipConfig</code> or <code>List[LayerSkipConfig]</code>, <em>optional</em>) &#x2014;
The configuration for the skip layer guidance. Can be a single <code>LayerSkipConfig</code> or a list of
<code>LayerSkipConfig</code>. If not provided, <code>skip_layer_guidance_layers</code> must be provided.`,name:"skip_layer_config"},{anchor:"diffusers.SkipLayerGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix
overexposure. Based on Section 3.4 from <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and Sample Steps are
Flawed</a>.`,name:"guidance_rescale"},{anchor:"diffusers.SkipLayerGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
we use the diffusers-native implementation that has been in the codebase for a long time. See
[~guiders.classifier_free_guidance.ClassifierFreeGuidance] for more details.`,name:"use_original_formulation"},{anchor:"diffusers.SkipLayerGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.01</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance starts.`,name:"start"},{anchor:"diffusers.SkipLayerGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>0.2</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/skip_layer_guidance.py#L30"}}),me=new q({props:{title:"SmoothedEnergyGuidance",local:"diffusers.SmoothedEnergyGuidance",headingTag:"h2"}}),he=new M({props:{name:"class diffusers.SmoothedEnergyGuidance",anchor:"diffusers.SmoothedEnergyGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"seg_guidance_scale",val:": float = 2.8"},{name:"seg_blur_sigma",val:": float = 9999999.0"},{name:"seg_blur_threshold_inf",val:": float = 9999.0"},{name:"seg_guidance_start",val:": float = 0.0"},{name:"seg_guidance_stop",val:": float = 1.0"},{name:"seg_guidance_layers",val:": typing.Union[int, typing.List[int], NoneType] = None"},{name:"seg_guidance_config",val:": typing.Union[diffusers.hooks.smoothed_energy_guidance_utils.SmoothedEnergyGuidanceConfig, typing.List[diffusers.hooks.smoothed_energy_guidance_utils.SmoothedEnergyGuidanceConfig]] = None"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.SmoothedEnergyGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
The scale parameter for classifier-free guidance. Higher values result in stronger conditioning on the text
prompt, while lower values allow for more freedom in generation. Higher values may lead to saturation and
deterioration of image quality.`,name:"guidance_scale"},{anchor:"diffusers.SmoothedEnergyGuidance.seg_guidance_scale",description:`<strong>seg_guidance_scale</strong> (<code>float</code>, defaults to <code>3.0</code>) &#x2014;
The scale parameter for smoothed energy guidance. Anatomy and structure coherence may improve with higher
values, but it may also lead to overexposure and saturation.`,name:"seg_guidance_scale"},{anchor:"diffusers.SmoothedEnergyGuidance.seg_blur_sigma",description:`<strong>seg_blur_sigma</strong> (<code>float</code>, defaults to <code>9999999.0</code>) &#x2014;
The amount by which we blur the attention weights. Setting this value greater than 9999.0 results in
infinite blur, which means uniform queries. Controlling it exponentially is empirically effective.`,name:"seg_blur_sigma"},{anchor:"diffusers.SmoothedEnergyGuidance.seg_blur_threshold_inf",description:`<strong>seg_blur_threshold_inf</strong> (<code>float</code>, defaults to <code>9999.0</code>) &#x2014;
The threshold above which the blur is considered infinite.`,name:"seg_blur_threshold_inf"},{anchor:"diffusers.SmoothedEnergyGuidance.seg_guidance_start",description:`<strong>seg_guidance_start</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The fraction of the total number of denoising steps after which smoothed energy guidance starts.`,name:"seg_guidance_start"},{anchor:"diffusers.SmoothedEnergyGuidance.seg_guidance_stop",description:`<strong>seg_guidance_stop</strong> (<code>float</code>, defaults to <code>1.0</code>) &#x2014;
The fraction of the total number of denoising steps after which smoothed energy guidance stops.`,name:"seg_guidance_stop"},{anchor:"diffusers.SmoothedEnergyGuidance.seg_guidance_layers",description:`<strong>seg_guidance_layers</strong> (<code>int</code> or <code>List[int]</code>, <em>optional</em>) &#x2014;
The layer indices to apply smoothed energy guidance to. Can be a single integer or a list of integers. If
not provided, <code>seg_guidance_config</code> must be provided. The recommended values are <code>[7, 8, 9]</code> for Stable
Diffusion 3.5 Medium.`,name:"seg_guidance_layers"},{anchor:"diffusers.SmoothedEnergyGuidance.seg_guidance_config",description:`<strong>seg_guidance_config</strong> (<code>SmoothedEnergyGuidanceConfig</code> or <code>List[SmoothedEnergyGuidanceConfig]</code>, <em>optional</em>) &#x2014;
The configuration for the smoothed energy layer guidance. Can be a single <code>SmoothedEnergyGuidanceConfig</code> or
a list of <code>SmoothedEnergyGuidanceConfig</code>. If not provided, <code>seg_guidance_layers</code> must be provided.`,name:"seg_guidance_config"},{anchor:"diffusers.SmoothedEnergyGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix
overexposure. Based on Section 3.4 from <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and Sample Steps are
Flawed</a>.`,name:"guidance_rescale"},{anchor:"diffusers.SmoothedEnergyGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
we use the diffusers-native implementation that has been in the codebase for a long time. See
[~guiders.classifier_free_guidance.ClassifierFreeGuidance] for more details.`,name:"use_original_formulation"},{anchor:"diffusers.SmoothedEnergyGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.01</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance starts.`,name:"start"},{anchor:"diffusers.SmoothedEnergyGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>0.2</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/smoothed_energy_guidance.py#L30"}}),_e=new q({props:{title:"PerturbedAttentionGuidance",local:"diffusers.PerturbedAttentionGuidance",headingTag:"h2"}}),be=new M({props:{name:"class diffusers.PerturbedAttentionGuidance",anchor:"diffusers.PerturbedAttentionGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"perturbed_guidance_scale",val:": float = 2.8"},{name:"perturbed_guidance_start",val:": float = 0.01"},{name:"perturbed_guidance_stop",val:": float = 0.2"},{name:"perturbed_guidance_layers",val:": typing.Union[int, typing.List[int], NoneType] = None"},{name:"perturbed_guidance_config",val:": typing.Union[diffusers.hooks.layer_skip.LayerSkipConfig, typing.List[diffusers.hooks.layer_skip.LayerSkipConfig], typing.Dict[str, typing.Any]] = None"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.PerturbedAttentionGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
The scale parameter for classifier-free guidance. Higher values result in stronger conditioning on the text
prompt, while lower values allow for more freedom in generation. Higher values may lead to saturation and
deterioration of image quality.`,name:"guidance_scale"},{anchor:"diffusers.PerturbedAttentionGuidance.perturbed_guidance_scale",description:`<strong>perturbed_guidance_scale</strong> (<code>float</code>, defaults to <code>2.8</code>) &#x2014;
The scale parameter for perturbed attention guidance.`,name:"perturbed_guidance_scale"},{anchor:"diffusers.PerturbedAttentionGuidance.perturbed_guidance_start",description:`<strong>perturbed_guidance_start</strong> (<code>float</code>, defaults to <code>0.01</code>) &#x2014;
The fraction of the total number of denoising steps after which perturbed attention guidance starts.`,name:"perturbed_guidance_start"},{anchor:"diffusers.PerturbedAttentionGuidance.perturbed_guidance_stop",description:`<strong>perturbed_guidance_stop</strong> (<code>float</code>, defaults to <code>0.2</code>) &#x2014;
The fraction of the total number of denoising steps after which perturbed attention guidance stops.`,name:"perturbed_guidance_stop"},{anchor:"diffusers.PerturbedAttentionGuidance.perturbed_guidance_layers",description:`<strong>perturbed_guidance_layers</strong> (<code>int</code> or <code>List[int]</code>, <em>optional</em>) &#x2014;
The layer indices to apply perturbed attention guidance to. Can be a single integer or a list of integers.
If not provided, <code>perturbed_guidance_config</code> must be provided.`,name:"perturbed_guidance_layers"},{anchor:"diffusers.PerturbedAttentionGuidance.perturbed_guidance_config",description:`<strong>perturbed_guidance_config</strong> (<code>LayerSkipConfig</code> or <code>List[LayerSkipConfig]</code>, <em>optional</em>) &#x2014;
The configuration for the perturbed attention guidance. Can be a single <code>LayerSkipConfig</code> or a list of
<code>LayerSkipConfig</code>. If not provided, <code>perturbed_guidance_layers</code> must be provided.`,name:"perturbed_guidance_config"},{anchor:"diffusers.PerturbedAttentionGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix
overexposure. Based on Section 3.4 from <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and Sample Steps are
Flawed</a>.`,name:"guidance_rescale"},{anchor:"diffusers.PerturbedAttentionGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
we use the diffusers-native implementation that has been in the codebase for a long time. See
[~guiders.classifier_free_guidance.ClassifierFreeGuidance] for more details.`,name:"use_original_formulation"},{anchor:"diffusers.PerturbedAttentionGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.01</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance starts.`,name:"start"},{anchor:"diffusers.PerturbedAttentionGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>0.2</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/perturbed_attention_guidance.py#L34"}}),ve=new q({props:{title:"AdaptiveProjectedGuidance",local:"diffusers.AdaptiveProjectedGuidance",headingTag:"h2"}}),ye=new M({props:{name:"class diffusers.AdaptiveProjectedGuidance",anchor:"diffusers.AdaptiveProjectedGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"adaptive_projected_guidance_momentum",val:": typing.Optional[float] = None"},{name:"adaptive_projected_guidance_rescale",val:": float = 15.0"},{name:"eta",val:": float = 1.0"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AdaptiveProjectedGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
The scale parameter for classifier-free guidance. Higher values result in stronger conditioning on the text
prompt, while lower values allow for more freedom in generation. Higher values may lead to saturation and
deterioration of image quality.`,name:"guidance_scale"},{anchor:"diffusers.AdaptiveProjectedGuidance.adaptive_projected_guidance_momentum",description:`<strong>adaptive_projected_guidance_momentum</strong> (<code>float</code>, defaults to <code>None</code>) &#x2014;
The momentum parameter for the adaptive projected guidance. Disabled if set to <code>None</code>.`,name:"adaptive_projected_guidance_momentum"},{anchor:"diffusers.AdaptiveProjectedGuidance.adaptive_projected_guidance_rescale",description:`<strong>adaptive_projected_guidance_rescale</strong> (<code>float</code>, defaults to <code>15.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix`,name:"adaptive_projected_guidance_rescale"},{anchor:"diffusers.AdaptiveProjectedGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix
overexposure. Based on Section 3.4 from <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and Sample Steps are
Flawed</a>.`,name:"guidance_rescale"},{anchor:"diffusers.AdaptiveProjectedGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
we use the diffusers-native implementation that has been in the codebase for a long time. See
[~guiders.classifier_free_guidance.ClassifierFreeGuidance] for more details.`,name:"use_original_formulation"},{anchor:"diffusers.AdaptiveProjectedGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance starts.`,name:"start"},{anchor:"diffusers.AdaptiveProjectedGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>1.0</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/adaptive_projected_guidance.py#L28"}}),$e=new q({props:{title:"AutoGuidance",local:"diffusers.AutoGuidance",headingTag:"h2"}}),xe=new M({props:{name:"class diffusers.AutoGuidance",anchor:"diffusers.AutoGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"auto_guidance_layers",val:": typing.Union[int, typing.List[int], NoneType] = None"},{name:"auto_guidance_config",val:": typing.Union[diffusers.hooks.layer_skip.LayerSkipConfig, typing.List[diffusers.hooks.layer_skip.LayerSkipConfig], typing.Dict[str, typing.Any]] = None"},{name:"dropout",val:": typing.Optional[float] = None"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
The scale parameter for classifier-free guidance. Higher values result in stronger conditioning on the text
prompt, while lower values allow for more freedom in generation. Higher values may lead to saturation and
deterioration of image quality.`,name:"guidance_scale"},{anchor:"diffusers.AutoGuidance.auto_guidance_layers",description:`<strong>auto_guidance_layers</strong> (<code>int</code> or <code>List[int]</code>, <em>optional</em>) &#x2014;
The layer indices to apply skip layer guidance to. Can be a single integer or a list of integers. If not
provided, <code>skip_layer_config</code> must be provided.`,name:"auto_guidance_layers"},{anchor:"diffusers.AutoGuidance.auto_guidance_config",description:`<strong>auto_guidance_config</strong> (<code>LayerSkipConfig</code> or <code>List[LayerSkipConfig]</code>, <em>optional</em>) &#x2014;
The configuration for the skip layer guidance. Can be a single <code>LayerSkipConfig</code> or a list of
<code>LayerSkipConfig</code>. If not provided, <code>skip_layer_guidance_layers</code> must be provided.`,name:"auto_guidance_config"},{anchor:"diffusers.AutoGuidance.dropout",description:`<strong>dropout</strong> (<code>float</code>, <em>optional</em>) &#x2014;
The dropout probability for autoguidance on the enabled skip layers (either with <code>auto_guidance_layers</code> or
<code>auto_guidance_config</code>). If not provided, the dropout probability will be set to 1.0.`,name:"dropout"},{anchor:"diffusers.AutoGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix
overexposure. Based on Section 3.4 from <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and Sample Steps are
Flawed</a>.`,name:"guidance_rescale"},{anchor:"diffusers.AutoGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
we use the diffusers-native implementation that has been in the codebase for a long time. See
[~guiders.classifier_free_guidance.ClassifierFreeGuidance] for more details.`,name:"use_original_formulation"},{anchor:"diffusers.AutoGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance starts.`,name:"start"},{anchor:"diffusers.AutoGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>1.0</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/auto_guidance.py#L30"}}),we=new q({props:{title:"TangentialClassifierFreeGuidance",local:"diffusers.TangentialClassifierFreeGuidance",headingTag:"h2"}}),Ge=new M({props:{name:"class diffusers.TangentialClassifierFreeGuidance",anchor:"diffusers.TangentialClassifierFreeGuidance",parameters:[{name:"guidance_scale",val:": float = 7.5"},{name:"guidance_rescale",val:": float = 0.0"},{name:"use_original_formulation",val:": bool = False"},{name:"start",val:": float = 0.0"},{name:"stop",val:": float = 1.0"},{name:"enabled",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.TangentialClassifierFreeGuidance.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, defaults to <code>7.5</code>) &#x2014;
The scale parameter for classifier-free guidance. Higher values result in stronger conditioning on the text
prompt, while lower values allow for more freedom in generation. Higher values may lead to saturation and
deterioration of image quality.`,name:"guidance_scale"},{anchor:"diffusers.TangentialClassifierFreeGuidance.guidance_rescale",description:`<strong>guidance_rescale</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The rescale factor applied to the noise predictions. This is used to improve image quality and fix
overexposure. Based on Section 3.4 from <a href="https://huggingface.co/papers/2305.08891" rel="nofollow">Common Diffusion Noise Schedules and Sample Steps are
Flawed</a>.`,name:"guidance_rescale"},{anchor:"diffusers.TangentialClassifierFreeGuidance.use_original_formulation",description:`<strong>use_original_formulation</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
we use the diffusers-native implementation that has been in the codebase for a long time. See
[~guiders.classifier_free_guidance.ClassifierFreeGuidance] for more details.`,name:"use_original_formulation"},{anchor:"diffusers.TangentialClassifierFreeGuidance.start",description:`<strong>start</strong> (<code>float</code>, defaults to <code>0.0</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance starts.`,name:"start"},{anchor:"diffusers.TangentialClassifierFreeGuidance.stop",description:`<strong>stop</strong> (<code>float</code>, defaults to <code>1.0</code>) &#x2014;
The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/guiders/tangential_classifier_free_guidance.py#L28"}}),Ce=new Co({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/modular_diffusers/guiders.md"}}),{c(){u=r("meta"),P=n(),w=r("p"),b=n(),f(y.$$.fragment),d=n(),f(G.$$.fragment),ut=n(),K=r("p"),K.textContent=An,ft=n(),f(ee.$$.fragment),gt=n(),$=r("div"),f(te.$$.fragment),jt=n(),ke=r("p"),ke.textContent=Hn,qt=n(),J=r("div"),f(ne.$$.fragment),Dt=n(),Se=r("p"),Se.innerHTML=En,Ut=n(),I=r("div"),f(oe.$$.fragment),Nt=n(),Le=r("p"),Le.textContent=In,Zt=n(),ae=r("blockquote"),ae.innerHTML=Bn,Vt=n(),B=r("div"),f(ie.$$.fragment),Jt=n(),Fe=r("p"),Fe.innerHTML=jn,zt=n(),Me=r("ul"),Me.innerHTML=qn,Wt=n(),j=r("div"),f(re.$$.fragment),Rt=n(),Pe=r("p"),Pe.textContent=Dn,Yt=n(),f(z.$$.fragment),Ot=n(),W=r("div"),f(se.$$.fragment),Qt=n(),Ae=r("p"),Ae.textContent=Un,Xt=n(),R=r("div"),f(de.$$.fragment),Kt=n(),He=r("p"),He.innerHTML=Nn,pt=n(),f(le.$$.fragment),mt=n(),x=r("div"),f(ce.$$.fragment),en=n(),Ee=r("p"),Ee.textContent=Zn,tn=n(),Ie=r("p"),Ie.innerHTML=Vn,nn=n(),Be=r("p"),Be.textContent=Jn,on=n(),je=r("p"),je.innerHTML=zn,an=n(),f(Y.$$.fragment),rn=_o(`
   Moves conditional predictions further from unconditional ones.
`),f(O.$$.fragment),sn=_o(`
   Moves unconditional predictions toward conditional ones, effectively suppressing negative features (e.g., "bad
   quality", "watermarks"). Equivalent in theory but more intuitive.
`),qe=r("p"),qe.innerHTML=Wn,ht=n(),f(ue.$$.fragment),_t=n(),A=r("div"),f(fe.$$.fragment),dn=n(),De=r("p"),De.innerHTML=Rn,ln=n(),Ue=r("p"),Ue.textContent=Yn,cn=n(),Ne=r("p"),Ne.textContent=On,bt=n(),f(ge.$$.fragment),vt=n(),v=r("div"),f(pe.$$.fragment),un=n(),Ze=r("p"),Ze.innerHTML=Qn,fn=n(),Ve=r("p"),Ve.innerHTML=Xn,gn=n(),Je=r("p"),Je.textContent=Kn,pn=n(),ze=r("p"),ze.textContent=eo,mn=n(),We=r("p"),We.textContent=to,hn=n(),Re=r("p"),Re.textContent=no,_n=n(),Ye=r("ul"),Ye.innerHTML=oo,bn=n(),Oe=r("p"),Oe.innerHTML=ao,yt=n(),f(me.$$.fragment),$t=n(),H=r("div"),f(he.$$.fragment),vn=n(),Qe=r("p"),Qe.innerHTML=io,yn=n(),Xe=r("p"),Xe.textContent=ro,$n=n(),Ke=r("ul"),Ke.innerHTML=so,xt=n(),f(_e.$$.fragment),wt=n(),S=r("div"),f(be.$$.fragment),xn=n(),et=r("p"),et.innerHTML=lo,wn=n(),tt=r("p"),tt.textContent=co,Gn=n(),nt=r("p"),nt.textContent=uo,Cn=n(),ot=r("ul"),ot.innerHTML=fo,Tn=n(),at=r("p"),at.textContent=go,Gt=n(),f(ve.$$.fragment),Ct=n(),D=r("div"),f(ye.$$.fragment),kn=n(),it=r("p"),it.innerHTML=po,Tt=n(),f($e.$$.fragment),kt=n(),U=r("div"),f(xe.$$.fragment),Sn=n(),rt=r("p"),rt.innerHTML=mo,St=n(),f(we.$$.fragment),Lt=n(),N=r("div"),f(Ge.$$.fragment),Ln=n(),st=r("p"),st.innerHTML=ho,Ft=n(),f(Ce.$$.fragment),Mt=n(),ct=r("p"),this.h()},l(e){const i=wo("svelte-u9bgzb",document.head);u=s(i,"META",{name:!0,content:!0}),i.forEach(a),P=o(e),w=s(e,"P",{}),L(w).forEach(a),b=o(e),g(y.$$.fragment,e),d=o(e),g(G.$$.fragment,e),ut=o(e),K=s(e,"P",{"data-svelte-h":!0}),c(K)!=="svelte-ybejk6"&&(K.textContent=An),ft=o(e),g(ee.$$.fragment,e),gt=o(e),$=s(e,"DIV",{class:!0});var C=L($);g(te.$$.fragment,C),jt=o(C),ke=s(C,"P",{"data-svelte-h":!0}),c(ke)!=="svelte-12un9fg"&&(ke.textContent=Hn),qt=o(C),J=s(C,"DIV",{class:!0});var Te=L(J);g(ne.$$.fragment,Te),Dt=o(Te),Se=s(Te,"P",{"data-svelte-h":!0}),c(Se)!=="svelte-9t9sns"&&(Se.innerHTML=En),Te.forEach(a),Ut=o(C),I=s(C,"DIV",{class:!0});var Z=L(I);g(oe.$$.fragment,Z),Nt=o(Z),Le=s(Z,"P",{"data-svelte-h":!0}),c(Le)!=="svelte-17q0wdp"&&(Le.textContent=In),Zt=o(Z),ae=s(Z,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),c(ae)!=="svelte-82moo4"&&(ae.innerHTML=Bn),Z.forEach(a),Vt=o(C),B=s(C,"DIV",{class:!0});var dt=L(B);g(ie.$$.fragment,dt),Jt=o(dt),Fe=s(dt,"P",{"data-svelte-h":!0}),c(Fe)!=="svelte-1n9knr7"&&(Fe.innerHTML=jn),zt=o(dt),Me=s(dt,"UL",{"data-svelte-h":!0}),c(Me)!=="svelte-xmiyrr"&&(Me.innerHTML=qn),dt.forEach(a),Wt=o(C),j=s(C,"DIV",{class:!0});var lt=L(j);g(re.$$.fragment,lt),Rt=o(lt),Pe=s(lt,"P",{"data-svelte-h":!0}),c(Pe)!=="svelte-fnfiqf"&&(Pe.textContent=Dn),Yt=o(lt),g(z.$$.fragment,lt),lt.forEach(a),Ot=o(C),W=s(C,"DIV",{class:!0});var At=L(W);g(se.$$.fragment,At),Qt=o(At),Ae=s(At,"P",{"data-svelte-h":!0}),c(Ae)!=="svelte-finagn"&&(Ae.textContent=Un),At.forEach(a),Xt=o(C),R=s(C,"DIV",{class:!0});var Ht=L(R);g(de.$$.fragment,Ht),Kt=o(Ht),He=s(Ht,"P",{"data-svelte-h":!0}),c(He)!=="svelte-e48z3u"&&(He.innerHTML=Nn),Ht.forEach(a),C.forEach(a),pt=o(e),g(le.$$.fragment,e),mt=o(e),x=s(e,"DIV",{class:!0});var F=L(x);g(ce.$$.fragment,F),en=o(F),Ee=s(F,"P",{"data-svelte-h":!0}),c(Ee)!=="svelte-1lrdfwj"&&(Ee.textContent=Zn),tn=o(F),Ie=s(F,"P",{"data-svelte-h":!0}),c(Ie)!=="svelte-1wqfq2a"&&(Ie.innerHTML=Vn),nn=o(F),Be=s(F,"P",{"data-svelte-h":!0}),c(Be)!=="svelte-17j029q"&&(Be.textContent=Jn),on=o(F),je=s(F,"P",{"data-svelte-h":!0}),c(je)!=="svelte-1gqb59w"&&(je.innerHTML=zn),an=o(F),g(Y.$$.fragment,F),rn=bo(F,`
   Moves conditional predictions further from unconditional ones.
`),g(O.$$.fragment,F),sn=bo(F,`
   Moves unconditional predictions toward conditional ones, effectively suppressing negative features (e.g., "bad
   quality", "watermarks"). Equivalent in theory but more intuitive.
`),qe=s(F,"P",{"data-svelte-h":!0}),c(qe)!=="svelte-k84tyx"&&(qe.innerHTML=Wn),F.forEach(a),ht=o(e),g(ue.$$.fragment,e),_t=o(e),A=s(e,"DIV",{class:!0});var Q=L(A);g(fe.$$.fragment,Q),dn=o(Q),De=s(Q,"P",{"data-svelte-h":!0}),c(De)!=="svelte-1hi356a"&&(De.innerHTML=Rn),ln=o(Q),Ue=s(Q,"P",{"data-svelte-h":!0}),c(Ue)!=="svelte-i1r8um"&&(Ue.textContent=Yn),cn=o(Q),Ne=s(Q,"P",{"data-svelte-h":!0}),c(Ne)!=="svelte-6r1q6g"&&(Ne.textContent=On),Q.forEach(a),bt=o(e),g(ge.$$.fragment,e),vt=o(e),v=s(e,"DIV",{class:!0});var k=L(v);g(pe.$$.fragment,k),un=o(k),Ze=s(k,"P",{"data-svelte-h":!0}),c(Ze)!=="svelte-olo6nk"&&(Ze.innerHTML=Qn),fn=o(k),Ve=s(k,"P",{"data-svelte-h":!0}),c(Ve)!=="svelte-9gv3up"&&(Ve.innerHTML=Xn),gn=o(k),Je=s(k,"P",{"data-svelte-h":!0}),c(Je)!=="svelte-1wesk73"&&(Je.textContent=Kn),pn=o(k),ze=s(k,"P",{"data-svelte-h":!0}),c(ze)!=="svelte-mjex08"&&(ze.textContent=eo),mn=o(k),We=s(k,"P",{"data-svelte-h":!0}),c(We)!=="svelte-ytfov5"&&(We.textContent=to),hn=o(k),Re=s(k,"P",{"data-svelte-h":!0}),c(Re)!=="svelte-g5irbt"&&(Re.textContent=no),_n=o(k),Ye=s(k,"UL",{"data-svelte-h":!0}),c(Ye)!=="svelte-1qz5dw8"&&(Ye.innerHTML=oo),bn=o(k),Oe=s(k,"P",{"data-svelte-h":!0}),c(Oe)!=="svelte-133syuz"&&(Oe.innerHTML=ao),k.forEach(a),yt=o(e),g(me.$$.fragment,e),$t=o(e),H=s(e,"DIV",{class:!0});var X=L(H);g(he.$$.fragment,X),vn=o(X),Qe=s(X,"P",{"data-svelte-h":!0}),c(Qe)!=="svelte-g8e9eu"&&(Qe.innerHTML=io),yn=o(X),Xe=s(X,"P",{"data-svelte-h":!0}),c(Xe)!=="svelte-1xzzhid"&&(Xe.textContent=ro),$n=o(X),Ke=s(X,"UL",{"data-svelte-h":!0}),c(Ke)!=="svelte-x901y0"&&(Ke.innerHTML=so),X.forEach(a),xt=o(e),g(_e.$$.fragment,e),wt=o(e),S=s(e,"DIV",{class:!0});var E=L(S);g(be.$$.fragment,E),xn=o(E),et=s(E,"P",{"data-svelte-h":!0}),c(et)!=="svelte-1xgk0w9"&&(et.innerHTML=lo),wn=o(E),tt=s(E,"P",{"data-svelte-h":!0}),c(tt)!=="svelte-8jegxw"&&(tt.textContent=co),Gn=o(E),nt=s(E,"P",{"data-svelte-h":!0}),c(nt)!=="svelte-g5irbt"&&(nt.textContent=uo),Cn=o(E),ot=s(E,"UL",{"data-svelte-h":!0}),c(ot)!=="svelte-1qz5dw8"&&(ot.innerHTML=fo),Tn=o(E),at=s(E,"P",{"data-svelte-h":!0}),c(at)!=="svelte-emkxpt"&&(at.textContent=go),E.forEach(a),Gt=o(e),g(ve.$$.fragment,e),Ct=o(e),D=s(e,"DIV",{class:!0});var Et=L(D);g(ye.$$.fragment,Et),kn=o(Et),it=s(Et,"P",{"data-svelte-h":!0}),c(it)!=="svelte-1eqebqq"&&(it.innerHTML=po),Et.forEach(a),Tt=o(e),g($e.$$.fragment,e),kt=o(e),U=s(e,"DIV",{class:!0});var It=L(U);g(xe.$$.fragment,It),Sn=o(It),rt=s(It,"P",{"data-svelte-h":!0}),c(rt)!=="svelte-rbymam"&&(rt.innerHTML=mo),It.forEach(a),St=o(e),g(we.$$.fragment,e),Lt=o(e),N=s(e,"DIV",{class:!0});var Bt=L(N);g(Ge.$$.fragment,Bt),Ln=o(Bt),st=s(Bt,"P",{"data-svelte-h":!0}),c(st)!=="svelte-1s37jjw"&&(st.innerHTML=ho),Bt.forEach(a),Ft=o(e),g(Ce.$$.fragment,e),Mt=o(e),ct=s(e,"P",{}),L(ct).forEach(a),this.h()},h(){T(u,"name","hf:doc:metadata"),T(u,"content",Fo),T(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(ae,"class","tip"),T(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(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,u),l(e,P,i),l(e,w,i),l(e,b,i),p(y,e,i),l(e,d,i),p(G,e,i),l(e,ut,i),l(e,K,i),l(e,ft,i),p(ee,e,i),l(e,gt,i),l(e,$,i),p(te,$,null),t($,jt),t($,ke),t($,qt),t($,J),p(ne,J,null),t(J,Dt),t(J,Se),t($,Ut),t($,I),p(oe,I,null),t(I,Nt),t(I,Le),t(I,Zt),t(I,ae),t($,Vt),t($,B),p(ie,B,null),t(B,Jt),t(B,Fe),t(B,zt),t(B,Me),t($,Wt),t($,j),p(re,j,null),t(j,Rt),t(j,Pe),t(j,Yt),p(z,j,null),t($,Ot),t($,W),p(se,W,null),t(W,Qt),t(W,Ae),t($,Xt),t($,R),p(de,R,null),t(R,Kt),t(R,He),l(e,pt,i),p(le,e,i),l(e,mt,i),l(e,x,i),p(ce,x,null),t(x,en),t(x,Ee),t(x,tn),t(x,Ie),t(x,nn),t(x,Be),t(x,on),t(x,je),t(x,an),p(Y,x,null),t(x,rn),p(O,x,null),t(x,sn),t(x,qe),l(e,ht,i),p(ue,e,i),l(e,_t,i),l(e,A,i),p(fe,A,null),t(A,dn),t(A,De),t(A,ln),t(A,Ue),t(A,cn),t(A,Ne),l(e,bt,i),p(ge,e,i),l(e,vt,i),l(e,v,i),p(pe,v,null),t(v,un),t(v,Ze),t(v,fn),t(v,Ve),t(v,gn),t(v,Je),t(v,pn),t(v,ze),t(v,mn),t(v,We),t(v,hn),t(v,Re),t(v,_n),t(v,Ye),t(v,bn),t(v,Oe),l(e,yt,i),p(me,e,i),l(e,$t,i),l(e,H,i),p(he,H,null),t(H,vn),t(H,Qe),t(H,yn),t(H,Xe),t(H,$n),t(H,Ke),l(e,xt,i),p(_e,e,i),l(e,wt,i),l(e,S,i),p(be,S,null),t(S,xn),t(S,et),t(S,wn),t(S,tt),t(S,Gn),t(S,nt),t(S,Cn),t(S,ot),t(S,Tn),t(S,at),l(e,Gt,i),p(ve,e,i),l(e,Ct,i),l(e,D,i),p(ye,D,null),t(D,kn),t(D,it),l(e,Tt,i),p($e,e,i),l(e,kt,i),l(e,U,i),p(xe,U,null),t(U,Sn),t(U,rt),l(e,St,i),p(we,e,i),l(e,Lt,i),l(e,N,i),p(Ge,N,null),t(N,Ln),t(N,st),l(e,Ft,i),p(Ce,e,i),l(e,Mt,i),l(e,ct,i),Pt=!0},p(e,[i]){const C={};i&2&&(C.$$scope={dirty:i,ctx:e}),z.$set(C);const Te={};i&2&&(Te.$$scope={dirty:i,ctx:e}),Y.$set(Te);const Z={};i&2&&(Z.$$scope={dirty:i,ctx:e}),O.$set(Z)},i(e){Pt||(m(y.$$.fragment,e),m(G.$$.fragment,e),m(ee.$$.fragment,e),m(te.$$.fragment,e),m(ne.$$.fragment,e),m(oe.$$.fragment,e),m(ie.$$.fragment,e),m(re.$$.fragment,e),m(z.$$.fragment,e),m(se.$$.fragment,e),m(de.$$.fragment,e),m(le.$$.fragment,e),m(ce.$$.fragment,e),m(Y.$$.fragment,e),m(O.$$.fragment,e),m(ue.$$.fragment,e),m(fe.$$.fragment,e),m(ge.$$.fragment,e),m(pe.$$.fragment,e),m(me.$$.fragment,e),m(he.$$.fragment,e),m(_e.$$.fragment,e),m(be.$$.fragment,e),m(ve.$$.fragment,e),m(ye.$$.fragment,e),m($e.$$.fragment,e),m(xe.$$.fragment,e),m(we.$$.fragment,e),m(Ge.$$.fragment,e),m(Ce.$$.fragment,e),Pt=!0)},o(e){h(y.$$.fragment,e),h(G.$$.fragment,e),h(ee.$$.fragment,e),h(te.$$.fragment,e),h(ne.$$.fragment,e),h(oe.$$.fragment,e),h(ie.$$.fragment,e),h(re.$$.fragment,e),h(z.$$.fragment,e),h(se.$$.fragment,e),h(de.$$.fragment,e),h(le.$$.fragment,e),h(ce.$$.fragment,e),h(Y.$$.fragment,e),h(O.$$.fragment,e),h(ue.$$.fragment,e),h(fe.$$.fragment,e),h(ge.$$.fragment,e),h(pe.$$.fragment,e),h(me.$$.fragment,e),h(he.$$.fragment,e),h(_e.$$.fragment,e),h(be.$$.fragment,e),h(ve.$$.fragment,e),h(ye.$$.fragment,e),h($e.$$.fragment,e),h(xe.$$.fragment,e),h(we.$$.fragment,e),h(Ge.$$.fragment,e),h(Ce.$$.fragment,e),Pt=!1},d(e){e&&(a(P),a(w),a(b),a(d),a(ut),a(K),a(ft),a(gt),a($),a(pt),a(mt),a(x),a(ht),a(_t),a(A),a(bt),a(vt),a(v),a(yt),a($t),a(H),a(xt),a(wt),a(S),a(Gt),a(Ct),a(D),a(Tt),a(kt),a(U),a(St),a(Lt),a(N),a(Ft),a(Mt),a(ct)),a(u),_(y,e),_(G,e),_(ee,e),_(te),_(ne),_(oe),_(ie),_(re),_(z),_(se),_(de),_(le,e),_(ce),_(Y),_(O),_(ue,e),_(fe),_(ge,e),_(pe),_(me,e),_(he),_(_e,e),_(be),_(ve,e),_(ye),_($e,e),_(xe),_(we,e),_(Ge),_(Ce,e)}}}const Fo='{"title":"Guiders","local":"guiders","sections":[{"title":"BaseGuidance","local":"diffusers.BaseGuidance","sections":[],"depth":2},{"title":"ClassifierFreeGuidance","local":"diffusers.ClassifierFreeGuidance","sections":[],"depth":2},{"title":"ClassifierFreeZeroStarGuidance","local":"diffusers.ClassifierFreeZeroStarGuidance","sections":[],"depth":2},{"title":"SkipLayerGuidance","local":"diffusers.SkipLayerGuidance","sections":[],"depth":2},{"title":"SmoothedEnergyGuidance","local":"diffusers.SmoothedEnergyGuidance","sections":[],"depth":2},{"title":"PerturbedAttentionGuidance","local":"diffusers.PerturbedAttentionGuidance","sections":[],"depth":2},{"title":"AdaptiveProjectedGuidance","local":"diffusers.AdaptiveProjectedGuidance","sections":[],"depth":2},{"title":"AutoGuidance","local":"diffusers.AutoGuidance","sections":[],"depth":2},{"title":"TangentialClassifierFreeGuidance","local":"diffusers.TangentialClassifierFreeGuidance","sections":[],"depth":2}],"depth":1}';function Mo(V){return yo(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class qo extends $o{constructor(u){super(),xo(this,u,Mo,Lo,vo,{})}}export{qo as component};
