Buckets:
| import{s as bn,o as yn,n as Mo}from"../chunks/scheduler.53228c21.js";import{S as $n,i as xn,e as r,s as o,c as f,q as _n,h as wn,a as s,d as a,b as n,f as F,g,j as c,r as vn,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 Gn}from"../chunks/CopyLLMTxtMenu.67e413d2.js";import{D as M}from"../chunks/Docstring.60584164.js";import{C as Po}from"../chunks/CodeBlock.d30a6509.js";import{E as Lo}from"../chunks/ExampleCodeBlock.84c0636f.js";import{H as q,E as Cn}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.debde53c.js";function Tn(V){let u,P="Example:",w,v,y;return v=new Po({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=o(),f(v.$$.fragment)},l(d){u=s(d,"P",{"data-svelte-h":!0}),c(u)!=="svelte-11lpom8"&&(u.textContent=P),w=n(d),g(v.$$.fragment,d)},m(d,G){l(d,u,G),l(d,w,G),p(v,d,G),y=!0},p:Mo,i(d){y||(m(v.$$.fragment,d),y=!0)},o(d){h(v.$$.fragment,d),y=!1},d(d){d&&(a(u),a(w)),_(v,d)}}}function Sn(V){let u,P="<li><strong>Original formulation</strong> (from paper):</li>",w,v,y;return v=new Po({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=o(),f(v.$$.fragment)},l(d){u=s(d,"OL",{"data-svelte-h":!0}),c(u)!=="svelte-ts9bs0"&&(u.innerHTML=P),w=n(d),g(v.$$.fragment,d)},m(d,G){l(d,u,G),l(d,w,G),p(v,d,G),y=!0},p:Mo,i(d){y||(m(v.$$.fragment,d),y=!0)},o(d){h(v.$$.fragment,d),y=!1},d(d){d&&(a(u),a(w)),_(v,d)}}}function kn(V){let u,P="<li><strong>Diffusers-native formulation</strong> (default, from Imagen paper):</li>",w,v,y;return v=new Po({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=o(),f(v.$$.fragment),this.h()},l(d){u=s(d,"OL",{start:!0,"data-svelte-h":!0}),c(u)!=="svelte-pk9bpn"&&(u.innerHTML=P),w=n(d),g(v.$$.fragment,d),this.h()},h(){T(u,"start","2")},m(d,G){l(d,u,G),l(d,w,G),p(v,d,G),y=!0},p:Mo,i(d){y||(m(v.$$.fragment,d),y=!0)},o(d){h(v.$$.fragment,d),y=!1},d(d){d&&(a(u),a(w)),_(v,d)}}}function Fn(V){let u,P,w,v,y,d,G,ut,K,Ao="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,Se,Ho="Base class providing the skeleton for implementing guidance techniques.",qt,z,oe,Nt,ke,Eo=`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>.`,Dt,I,ne,Zt,Fe,Io="Instantiate a guider from a pre-defined JSON configuration file in a local directory or Hub repository.",Ut,ae,Bo=`<p>> 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 > auth login</code>. You can also activate the special > | |
| <a href="https://huggingface.co/diffusers/installation.html#offline-mode" rel="nofollow">“offline-mode”</a> to use this method in a > | |
| firewalled environment.</p>`,Vt,B,ie,zt,Le,jo=`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:`,Jt,Me,qo="<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,No="Creates a copy of this guider instance, optionally with modified configuration parameters.",Yt,J,Qt,W,se,Xt,Ae,Do=`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.`,Ot,R,de,Kt,He,Zo=`Save a guider configuration object to a directory so that it can be reloaded using the | |
| <a href="/docs/diffusers/pr_13331/en/api/modular_diffusers/guiders#diffusers.BaseGuidance.from_pretrained">from_pretrained()</a> class method.`,pt,le,mt,x,ce,eo,Ee,Uo="Implements Classifier-Free Guidance (CFG) for diffusion models.",to,Ie,Vo='Reference: <a href="https://huggingface.co/papers/2207.12598" rel="nofollow">https://huggingface.co/papers/2207.12598</a>',oo,Be,zo=`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).`,no,je,Jo="<strong>Two CFG Formulations:</strong>",ao,Y,io,Q,ro,qe,Wo="Use <code>use_original_formulation=True</code> to switch to the original formulation.",ht,ue,_t,A,fe,so,Ne,Ro='Classifier-free Zero<em>(CFG-Zero</em>): <a href="https://huggingface.co/papers/2503.18886" rel="nofollow">https://huggingface.co/papers/2503.18886</a>',lo,De,Yo=`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.`,co,Ze,Qo="The authors of the paper suggest setting zero initialization in the first 4% of the inference steps.",vt,ge,bt,b,pe,uo,Ue,Xo='Skip Layer Guidance (SLG): <a href="https://github.com/Stability-AI/sd3.5" rel="nofollow">https://github.com/Stability-AI/sd3.5</a>',fo,Ve,Oo='Spatio-Temporal Guidance (STG): <a href="https://huggingface.co/papers/2411.18664" rel="nofollow">https://huggingface.co/papers/2411.18664</a>',go,ze,Ko=`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.`,po,Je,en=`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).`,mo,We,tn=`STG is an improvement and follow-up work combining ideas from SLG, PAG and similar techniques for improving | |
| generation quality in video diffusion models.`,ho,Re,on="Additional reading:",_o,Ye,nn='<li><a href="https://huggingface.co/papers/2406.02507" rel="nofollow">Guiding a Diffusion Model with a Bad Version of Itself</a></li>',vo,Qe,an=`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,bo,Xe,rn='Smoothed Energy Guidance (SEG): <a href="https://huggingface.co/papers/2408.00760" rel="nofollow">https://huggingface.co/papers/2408.00760</a>',yo,Oe,sn=`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:`,$o,Ke,dn=`<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,k,ve,xo,et,ln='Perturbed Attention Guidance (PAG): <a href="https://huggingface.co/papers/2403.17377" rel="nofollow">https://huggingface.co/papers/2403.17377</a>',wo,tt,cn=`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.`,Go,ot,un="Additional reading:",Co,nt,fn='<li><a href="https://huggingface.co/papers/2406.02507" rel="nofollow">Guiding a Diffusion Model with a Bad Version of Itself</a></li>',To,at,gn=`PAG is implemented with similar implementation to SkipLayerGuidance due to overlap in the configuration parameters | |
| and implementation details.`,Gt,be,Ct,N,ye,So,it,pn='Adaptive Projected Guidance (APG): <a href="https://huggingface.co/papers/2410.02416" rel="nofollow">https://huggingface.co/papers/2410.02416</a>',Tt,$e,St,D,xe,ko,rt,mn='AutoGuidance: <a href="https://huggingface.co/papers/2406.02507" rel="nofollow">https://huggingface.co/papers/2406.02507</a>',kt,we,Ft,Z,Ge,Fo,st,hn='Tangential Classifier Free Guidance (TCFG): <a href="https://huggingface.co/papers/2503.18137" rel="nofollow">https://huggingface.co/papers/2503.18137</a>',Lt,Ce,Mt,ct,Pt;return y=new Gn({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/vr_13331/src/diffusers/guiders/guider_utils.py#L38"}}),oe=new M({props:{name:"cleanup_models",anchor:"diffusers.BaseGuidance.cleanup_models",parameters:[{name:"denoiser",val:": torch.nn.Module"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/guider_utils.py#L160"}}),ne=new M({props:{name:"from_pretrained",anchor:"diffusers.BaseGuidance.from_pretrained",parameters:[{name:"pretrained_model_name_or_path",val:": str | os.PathLike | None = None"},{name:"subfolder",val:": str | None = 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>) — | |
| 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/pr_13331/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>) — | |
| 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>) — | |
| 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>str | os.PathLike</code>, <em>optional</em>) — | |
| 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>) — | |
| 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>) — | |
| A dictionary of proxy servers to use by protocol or endpoint, for example, <code>{'http': 'foo.bar:3128', 'http://hostname': 'foo.bar:4012'}</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>) — | |
| 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>) — | |
| Whether to only load local model weights and configuration files or not. If set to <code>True</code>, the model | |
| won’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>) — | |
| 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>"main"</code>) — | |
| 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/vr_13331/src/diffusers/guiders/guider_utils.py#L289"}}),ie=new M({props:{name:"get_state",anchor:"diffusers.BaseGuidance.get_state",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/guider_utils.py#L106"}}),re=new M({props:{name:"new",anchor:"diffusers.BaseGuidance.new",parameters:[{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.BaseGuidance.new.*kwargs",description:`*<strong>*kwargs</strong> — 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/vr_13331/src/diffusers/guiders/guider_utils.py#L69",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>A new guider instance with the same (or updated) configuration.</p> | |
| `}}),J=new Lo({props:{anchor:"diffusers.BaseGuidance.new.example",$$slots:{default:[Tn]},$$scope:{ctx:V}}}),se=new M({props:{name:"prepare_models",anchor:"diffusers.BaseGuidance.prepare_models",parameters:[{name:"denoiser",val:": torch.nn.Module"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/guider_utils.py#L153"}}),de=new M({props:{name:"save_pretrained",anchor:"diffusers.BaseGuidance.save_pretrained",parameters:[{name:"save_directory",val:": 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>) — | |
| 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>) — | |
| 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>) — | |
| Additional keyword arguments passed along to the <a href="/docs/diffusers/pr_13331/en/api/schedulers/overview#diffusers.utils.PushToHubMixin.push_to_hub">push_to_hub()</a> method.`,name:"kwargs"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/guider_utils.py#L350"}}),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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| Fraction of denoising steps (0.0-1.0) after which CFG starts. Use > 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>) — | |
| Fraction of denoising steps (0.0-1.0) after which CFG stops. Use < 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>) — | |
| 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/vr_13331/src/diffusers/guiders/classifier_free_guidance.py#L30"}}),Y=new Lo({props:{anchor:"diffusers.ClassifierFreeGuidance.example",$$slots:{default:[Sn]},$$scope:{ctx:V}}}),Q=new Lo({props:{anchor:"diffusers.ClassifierFreeGuidance.example-2",$$slots:{default:[kn]},$$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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/classifier_free_zero_star_guidance.py#L30"}}),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:": int | list[int] | None = None"},{name:"skip_layer_config",val:": LayerSkipConfig | list[LayerSkipConfig] | dict[str, 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/skip_layer_guidance.py#L32"}}),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:": int | list[int] | None = None"},{name:"seg_guidance_config",val:": SmoothedEnergyGuidanceConfig | list[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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/smoothed_energy_guidance.py#L32"}}),_e=new q({props:{title:"PerturbedAttentionGuidance",local:"diffusers.PerturbedAttentionGuidance",headingTag:"h2"}}),ve=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:": int | list[int] | None = None"},{name:"perturbed_guidance_config",val:": LayerSkipConfig | list[LayerSkipConfig] | dict[str, 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/perturbed_attention_guidance.py#L36"}}),be=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:": float | None = 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/adaptive_projected_guidance.py#L30"}}),$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:": int | list[int] | None = None"},{name:"auto_guidance_config",val:": LayerSkipConfig | list[LayerSkipConfig] | dict[str, Any] = None"},{name:"dropout",val:": float | None = 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/auto_guidance.py#L32"}}),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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| The fraction of the total number of denoising steps after which guidance stops.`,name:"stop"}],source:"https://github.com/huggingface/diffusers/blob/vr_13331/src/diffusers/guiders/tangential_classifier_free_guidance.py#L30"}}),Ce=new Cn({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/modular_diffusers/guiders.md"}}),{c(){u=r("meta"),P=o(),w=r("p"),v=o(),f(y.$$.fragment),d=o(),f(G.$$.fragment),ut=o(),K=r("p"),K.textContent=Ao,ft=o(),f(ee.$$.fragment),gt=o(),$=r("div"),f(te.$$.fragment),jt=o(),Se=r("p"),Se.textContent=Ho,qt=o(),z=r("div"),f(oe.$$.fragment),Nt=o(),ke=r("p"),ke.innerHTML=Eo,Dt=o(),I=r("div"),f(ne.$$.fragment),Zt=o(),Fe=r("p"),Fe.textContent=Io,Ut=o(),ae=r("blockquote"),ae.innerHTML=Bo,Vt=o(),B=r("div"),f(ie.$$.fragment),zt=o(),Le=r("p"),Le.innerHTML=jo,Jt=o(),Me=r("ul"),Me.innerHTML=qo,Wt=o(),j=r("div"),f(re.$$.fragment),Rt=o(),Pe=r("p"),Pe.textContent=No,Yt=o(),f(J.$$.fragment),Qt=o(),W=r("div"),f(se.$$.fragment),Xt=o(),Ae=r("p"),Ae.textContent=Do,Ot=o(),R=r("div"),f(de.$$.fragment),Kt=o(),He=r("p"),He.innerHTML=Zo,pt=o(),f(le.$$.fragment),mt=o(),x=r("div"),f(ce.$$.fragment),eo=o(),Ee=r("p"),Ee.textContent=Uo,to=o(),Ie=r("p"),Ie.innerHTML=Vo,oo=o(),Be=r("p"),Be.textContent=zo,no=o(),je=r("p"),je.innerHTML=Jo,ao=o(),f(Y.$$.fragment),io=_n(` | |
| Moves conditional predictions further from unconditional ones. | |
| `),f(Q.$$.fragment),ro=_n(` | |
| 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=Wo,ht=o(),f(ue.$$.fragment),_t=o(),A=r("div"),f(fe.$$.fragment),so=o(),Ne=r("p"),Ne.innerHTML=Ro,lo=o(),De=r("p"),De.textContent=Yo,co=o(),Ze=r("p"),Ze.textContent=Qo,vt=o(),f(ge.$$.fragment),bt=o(),b=r("div"),f(pe.$$.fragment),uo=o(),Ue=r("p"),Ue.innerHTML=Xo,fo=o(),Ve=r("p"),Ve.innerHTML=Oo,go=o(),ze=r("p"),ze.textContent=Ko,po=o(),Je=r("p"),Je.textContent=en,mo=o(),We=r("p"),We.textContent=tn,ho=o(),Re=r("p"),Re.textContent=on,_o=o(),Ye=r("ul"),Ye.innerHTML=nn,vo=o(),Qe=r("p"),Qe.innerHTML=an,yt=o(),f(me.$$.fragment),$t=o(),H=r("div"),f(he.$$.fragment),bo=o(),Xe=r("p"),Xe.innerHTML=rn,yo=o(),Oe=r("p"),Oe.textContent=sn,$o=o(),Ke=r("ul"),Ke.innerHTML=dn,xt=o(),f(_e.$$.fragment),wt=o(),k=r("div"),f(ve.$$.fragment),xo=o(),et=r("p"),et.innerHTML=ln,wo=o(),tt=r("p"),tt.textContent=cn,Go=o(),ot=r("p"),ot.textContent=un,Co=o(),nt=r("ul"),nt.innerHTML=fn,To=o(),at=r("p"),at.textContent=gn,Gt=o(),f(be.$$.fragment),Ct=o(),N=r("div"),f(ye.$$.fragment),So=o(),it=r("p"),it.innerHTML=pn,Tt=o(),f($e.$$.fragment),St=o(),D=r("div"),f(xe.$$.fragment),ko=o(),rt=r("p"),rt.innerHTML=mn,kt=o(),f(we.$$.fragment),Ft=o(),Z=r("div"),f(Ge.$$.fragment),Fo=o(),st=r("p"),st.innerHTML=hn,Lt=o(),f(Ce.$$.fragment),Mt=o(),ct=r("p"),this.h()},l(e){const i=wn("svelte-u9bgzb",document.head);u=s(i,"META",{name:!0,content:!0}),i.forEach(a),P=n(e),w=s(e,"P",{}),F(w).forEach(a),v=n(e),g(y.$$.fragment,e),d=n(e),g(G.$$.fragment,e),ut=n(e),K=s(e,"P",{"data-svelte-h":!0}),c(K)!=="svelte-ybejk6"&&(K.textContent=Ao),ft=n(e),g(ee.$$.fragment,e),gt=n(e),$=s(e,"DIV",{class:!0});var C=F($);g(te.$$.fragment,C),jt=n(C),Se=s(C,"P",{"data-svelte-h":!0}),c(Se)!=="svelte-12un9fg"&&(Se.textContent=Ho),qt=n(C),z=s(C,"DIV",{class:!0});var Te=F(z);g(oe.$$.fragment,Te),Nt=n(Te),ke=s(Te,"P",{"data-svelte-h":!0}),c(ke)!=="svelte-9t9sns"&&(ke.innerHTML=Eo),Te.forEach(a),Dt=n(C),I=s(C,"DIV",{class:!0});var U=F(I);g(ne.$$.fragment,U),Zt=n(U),Fe=s(U,"P",{"data-svelte-h":!0}),c(Fe)!=="svelte-17q0wdp"&&(Fe.textContent=Io),Ut=n(U),ae=s(U,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),c(ae)!=="svelte-82moo4"&&(ae.innerHTML=Bo),U.forEach(a),Vt=n(C),B=s(C,"DIV",{class:!0});var dt=F(B);g(ie.$$.fragment,dt),zt=n(dt),Le=s(dt,"P",{"data-svelte-h":!0}),c(Le)!=="svelte-bwzjz7"&&(Le.innerHTML=jo),Jt=n(dt),Me=s(dt,"UL",{"data-svelte-h":!0}),c(Me)!=="svelte-xmiyrr"&&(Me.innerHTML=qo),dt.forEach(a),Wt=n(C),j=s(C,"DIV",{class:!0});var lt=F(j);g(re.$$.fragment,lt),Rt=n(lt),Pe=s(lt,"P",{"data-svelte-h":!0}),c(Pe)!=="svelte-fnfiqf"&&(Pe.textContent=No),Yt=n(lt),g(J.$$.fragment,lt),lt.forEach(a),Qt=n(C),W=s(C,"DIV",{class:!0});var At=F(W);g(se.$$.fragment,At),Xt=n(At),Ae=s(At,"P",{"data-svelte-h":!0}),c(Ae)!=="svelte-finagn"&&(Ae.textContent=Do),At.forEach(a),Ot=n(C),R=s(C,"DIV",{class:!0});var Ht=F(R);g(de.$$.fragment,Ht),Kt=n(Ht),He=s(Ht,"P",{"data-svelte-h":!0}),c(He)!=="svelte-12rz47t"&&(He.innerHTML=Zo),Ht.forEach(a),C.forEach(a),pt=n(e),g(le.$$.fragment,e),mt=n(e),x=s(e,"DIV",{class:!0});var L=F(x);g(ce.$$.fragment,L),eo=n(L),Ee=s(L,"P",{"data-svelte-h":!0}),c(Ee)!=="svelte-1lrdfwj"&&(Ee.textContent=Uo),to=n(L),Ie=s(L,"P",{"data-svelte-h":!0}),c(Ie)!=="svelte-1wqfq2a"&&(Ie.innerHTML=Vo),oo=n(L),Be=s(L,"P",{"data-svelte-h":!0}),c(Be)!=="svelte-17j029q"&&(Be.textContent=zo),no=n(L),je=s(L,"P",{"data-svelte-h":!0}),c(je)!=="svelte-1gqb59w"&&(je.innerHTML=Jo),ao=n(L),g(Y.$$.fragment,L),io=vn(L,` | |
| Moves conditional predictions further from unconditional ones. | |
| `),g(Q.$$.fragment,L),ro=vn(L,` | |
| Moves unconditional predictions toward conditional ones, effectively suppressing negative features (e.g., "bad | |
| quality", "watermarks"). Equivalent in theory but more intuitive. | |
| `),qe=s(L,"P",{"data-svelte-h":!0}),c(qe)!=="svelte-k84tyx"&&(qe.innerHTML=Wo),L.forEach(a),ht=n(e),g(ue.$$.fragment,e),_t=n(e),A=s(e,"DIV",{class:!0});var X=F(A);g(fe.$$.fragment,X),so=n(X),Ne=s(X,"P",{"data-svelte-h":!0}),c(Ne)!=="svelte-1hi356a"&&(Ne.innerHTML=Ro),lo=n(X),De=s(X,"P",{"data-svelte-h":!0}),c(De)!=="svelte-i1r8um"&&(De.textContent=Yo),co=n(X),Ze=s(X,"P",{"data-svelte-h":!0}),c(Ze)!=="svelte-6r1q6g"&&(Ze.textContent=Qo),X.forEach(a),vt=n(e),g(ge.$$.fragment,e),bt=n(e),b=s(e,"DIV",{class:!0});var S=F(b);g(pe.$$.fragment,S),uo=n(S),Ue=s(S,"P",{"data-svelte-h":!0}),c(Ue)!=="svelte-olo6nk"&&(Ue.innerHTML=Xo),fo=n(S),Ve=s(S,"P",{"data-svelte-h":!0}),c(Ve)!=="svelte-9gv3up"&&(Ve.innerHTML=Oo),go=n(S),ze=s(S,"P",{"data-svelte-h":!0}),c(ze)!=="svelte-1wesk73"&&(ze.textContent=Ko),po=n(S),Je=s(S,"P",{"data-svelte-h":!0}),c(Je)!=="svelte-mjex08"&&(Je.textContent=en),mo=n(S),We=s(S,"P",{"data-svelte-h":!0}),c(We)!=="svelte-ytfov5"&&(We.textContent=tn),ho=n(S),Re=s(S,"P",{"data-svelte-h":!0}),c(Re)!=="svelte-g5irbt"&&(Re.textContent=on),_o=n(S),Ye=s(S,"UL",{"data-svelte-h":!0}),c(Ye)!=="svelte-1qz5dw8"&&(Ye.innerHTML=nn),vo=n(S),Qe=s(S,"P",{"data-svelte-h":!0}),c(Qe)!=="svelte-133syuz"&&(Qe.innerHTML=an),S.forEach(a),yt=n(e),g(me.$$.fragment,e),$t=n(e),H=s(e,"DIV",{class:!0});var O=F(H);g(he.$$.fragment,O),bo=n(O),Xe=s(O,"P",{"data-svelte-h":!0}),c(Xe)!=="svelte-g8e9eu"&&(Xe.innerHTML=rn),yo=n(O),Oe=s(O,"P",{"data-svelte-h":!0}),c(Oe)!=="svelte-1xzzhid"&&(Oe.textContent=sn),$o=n(O),Ke=s(O,"UL",{"data-svelte-h":!0}),c(Ke)!=="svelte-x901y0"&&(Ke.innerHTML=dn),O.forEach(a),xt=n(e),g(_e.$$.fragment,e),wt=n(e),k=s(e,"DIV",{class:!0});var E=F(k);g(ve.$$.fragment,E),xo=n(E),et=s(E,"P",{"data-svelte-h":!0}),c(et)!=="svelte-1xgk0w9"&&(et.innerHTML=ln),wo=n(E),tt=s(E,"P",{"data-svelte-h":!0}),c(tt)!=="svelte-8jegxw"&&(tt.textContent=cn),Go=n(E),ot=s(E,"P",{"data-svelte-h":!0}),c(ot)!=="svelte-g5irbt"&&(ot.textContent=un),Co=n(E),nt=s(E,"UL",{"data-svelte-h":!0}),c(nt)!=="svelte-1qz5dw8"&&(nt.innerHTML=fn),To=n(E),at=s(E,"P",{"data-svelte-h":!0}),c(at)!=="svelte-emkxpt"&&(at.textContent=gn),E.forEach(a),Gt=n(e),g(be.$$.fragment,e),Ct=n(e),N=s(e,"DIV",{class:!0});var Et=F(N);g(ye.$$.fragment,Et),So=n(Et),it=s(Et,"P",{"data-svelte-h":!0}),c(it)!=="svelte-1eqebqq"&&(it.innerHTML=pn),Et.forEach(a),Tt=n(e),g($e.$$.fragment,e),St=n(e),D=s(e,"DIV",{class:!0});var It=F(D);g(xe.$$.fragment,It),ko=n(It),rt=s(It,"P",{"data-svelte-h":!0}),c(rt)!=="svelte-rbymam"&&(rt.innerHTML=mn),It.forEach(a),kt=n(e),g(we.$$.fragment,e),Ft=n(e),Z=s(e,"DIV",{class:!0});var Bt=F(Z);g(Ge.$$.fragment,Bt),Fo=n(Bt),st=s(Bt,"P",{"data-svelte-h":!0}),c(st)!=="svelte-1s37jjw"&&(st.innerHTML=hn),Bt.forEach(a),Lt=n(e),g(Ce.$$.fragment,e),Mt=n(e),ct=s(e,"P",{}),F(ct).forEach(a),this.h()},h(){T(u,"name","hf:doc:metadata"),T(u,"content",Ln),T(z,"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(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(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(k,"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"),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(Z,"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,v,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($,Se),t($,qt),t($,z),p(oe,z,null),t(z,Nt),t(z,ke),t($,Dt),t($,I),p(ne,I,null),t(I,Zt),t(I,Fe),t(I,Ut),t(I,ae),t($,Vt),t($,B),p(ie,B,null),t(B,zt),t(B,Le),t(B,Jt),t(B,Me),t($,Wt),t($,j),p(re,j,null),t(j,Rt),t(j,Pe),t(j,Yt),p(J,j,null),t($,Qt),t($,W),p(se,W,null),t(W,Xt),t(W,Ae),t($,Ot),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,eo),t(x,Ee),t(x,to),t(x,Ie),t(x,oo),t(x,Be),t(x,no),t(x,je),t(x,ao),p(Y,x,null),t(x,io),p(Q,x,null),t(x,ro),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,so),t(A,Ne),t(A,lo),t(A,De),t(A,co),t(A,Ze),l(e,vt,i),p(ge,e,i),l(e,bt,i),l(e,b,i),p(pe,b,null),t(b,uo),t(b,Ue),t(b,fo),t(b,Ve),t(b,go),t(b,ze),t(b,po),t(b,Je),t(b,mo),t(b,We),t(b,ho),t(b,Re),t(b,_o),t(b,Ye),t(b,vo),t(b,Qe),l(e,yt,i),p(me,e,i),l(e,$t,i),l(e,H,i),p(he,H,null),t(H,bo),t(H,Xe),t(H,yo),t(H,Oe),t(H,$o),t(H,Ke),l(e,xt,i),p(_e,e,i),l(e,wt,i),l(e,k,i),p(ve,k,null),t(k,xo),t(k,et),t(k,wo),t(k,tt),t(k,Go),t(k,ot),t(k,Co),t(k,nt),t(k,To),t(k,at),l(e,Gt,i),p(be,e,i),l(e,Ct,i),l(e,N,i),p(ye,N,null),t(N,So),t(N,it),l(e,Tt,i),p($e,e,i),l(e,St,i),l(e,D,i),p(xe,D,null),t(D,ko),t(D,rt),l(e,kt,i),p(we,e,i),l(e,Ft,i),l(e,Z,i),p(Ge,Z,null),t(Z,Fo),t(Z,st),l(e,Lt,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}),J.$set(C);const Te={};i&2&&(Te.$$scope={dirty:i,ctx:e}),Y.$set(Te);const U={};i&2&&(U.$$scope={dirty:i,ctx:e}),Q.$set(U)},i(e){Pt||(m(y.$$.fragment,e),m(G.$$.fragment,e),m(ee.$$.fragment,e),m(te.$$.fragment,e),m(oe.$$.fragment,e),m(ne.$$.fragment,e),m(ie.$$.fragment,e),m(re.$$.fragment,e),m(J.$$.fragment,e),m(se.$$.fragment,e),m(de.$$.fragment,e),m(le.$$.fragment,e),m(ce.$$.fragment,e),m(Y.$$.fragment,e),m(Q.$$.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(ve.$$.fragment,e),m(be.$$.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(oe.$$.fragment,e),h(ne.$$.fragment,e),h(ie.$$.fragment,e),h(re.$$.fragment,e),h(J.$$.fragment,e),h(se.$$.fragment,e),h(de.$$.fragment,e),h(le.$$.fragment,e),h(ce.$$.fragment,e),h(Y.$$.fragment,e),h(Q.$$.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(ve.$$.fragment,e),h(be.$$.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(v),a(d),a(ut),a(K),a(ft),a(gt),a($),a(pt),a(mt),a(x),a(ht),a(_t),a(A),a(vt),a(bt),a(b),a(yt),a($t),a(H),a(xt),a(wt),a(k),a(Gt),a(Ct),a(N),a(Tt),a(St),a(D),a(kt),a(Ft),a(Z),a(Lt),a(Mt),a(ct)),a(u),_(y,e),_(G,e),_(ee,e),_(te),_(oe),_(ne),_(ie),_(re),_(J),_(se),_(de),_(le,e),_(ce),_(Y),_(Q),_(ue,e),_(fe),_(ge,e),_(pe),_(me,e),_(he),_(_e,e),_(ve),_(be,e),_(ye),_($e,e),_(xe),_(we,e),_(Ge),_(Ce,e)}}}const Ln='{"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 Mn(V){return yn(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class qn extends $n{constructor(u){super(),xn(this,u,Mn,Fn,bn,{})}}export{qn as component}; | |
Xet Storage Details
- Size:
- 62.4 kB
- Xet hash:
- ee9225fa945ff644a8727e3c586bb91d06a2a2efd6fd1fe8f08ac746a26a3197
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.