import{s as ke,o as Ue,n as Ge}from"../chunks/scheduler.53228c21.js";import{S as je,i as Se,e as l,s as o,c as _,h as Ie,a as f,d as t,b as r,f as E,g as A,j as C,k as D,l as n,m as i,n as g,t as h,o as P,p as b}from"../chunks/index.100fac89.js";import{C as Je}from"../chunks/CopyLLMTxtMenu.fb2ec027.js";import{D as q}from"../chunks/Docstring.86a664ae.js";import{C as Ze}from"../chunks/CodeBlock.d30a6509.js";import{E as Re}from"../chunks/ExampleCodeBlock.15d6107c.js";import{H as Le,E as Be}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.09d4dba9.js";function We(Q){let p,V="Examples:",v,u,m;return u=new Ze({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwU3RhYmxlRGlmZnVzaW9uUGlwZWxpbmUlMkMlMjBDb25zaXN0ZW5jeURlY29kZXJWQUUlMEElMEF2YWUlMjAlM0QlMjBDb25zaXN0ZW5jeURlY29kZXJWQUUuZnJvbV9wcmV0cmFpbmVkKCUyMm9wZW5haSUyRmNvbnNpc3RlbmN5LWRlY29kZXIlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYpJTBBcGlwZSUyMCUzRCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJzdGFibGUtZGlmZnVzaW9uLXYxLTUlMkZzdGFibGUtZGlmZnVzaW9uLXYxLTUlMjIlMkMlMjB2YWUlM0R2YWUlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMEEpLnRvKCUyMmN1ZGElMjIpJTBBJTBBaW1hZ2UlMjAlM0QlMjBwaXBlKCUyMmhvcnNlJTIyJTJDJTIwZ2VuZXJhdG9yJTNEdG9yY2gubWFudWFsX3NlZWQoMCkpLmltYWdlcyU1QjAlNUQlMEFpbWFnZQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionPipeline, ConsistencyDecoderVAE

<span class="hljs-meta">&gt;&gt;&gt; </span>vae = ConsistencyDecoderVAE.from_pretrained(<span class="hljs-string">&quot;openai/consistency-decoder&quot;</span>, torch_dtype=torch.float16)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = StableDiffusionPipeline.from_pretrained(
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;stable-diffusion-v1-5/stable-diffusion-v1-5&quot;</span>, vae=vae, torch_dtype=torch.float16
<span class="hljs-meta">... </span>).to(<span class="hljs-string">&quot;cuda&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span>image = pipe(<span class="hljs-string">&quot;horse&quot;</span>, generator=torch.manual_seed(<span class="hljs-number">0</span>)).images[<span class="hljs-number">0</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>image`,wrap:!1}}),{c(){p=l("p"),p.textContent=V,v=o(),_(u.$$.fragment)},l(d){p=f(d,"P",{"data-svelte-h":!0}),C(p)!=="svelte-kvfsh7"&&(p.textContent=V),v=r(d),A(u.$$.fragment,d)},m(d,y){i(d,p,y),i(d,v,y),g(u,d,y),m=!0},p:Ge,i(d){m||(h(u.$$.fragment,d),m=!0)},o(d){P(u.$$.fragment,d),m=!1},d(d){d&&(t(p),t(v)),b(u,d)}}}function Xe(Q){let p,V,v,u,m,d,y,ee,T,ve='Consistency decoder can be used to decode the latents from the denoising UNet in the <a href="/docs/diffusers/main/en/api/pipelines/stable_diffusion/text2img#diffusers.StableDiffusionPipeline">StableDiffusionPipeline</a>. This decoder was introduced in the <a href="https://openai.com/dall-e-3" rel="nofollow">DALL-E 3 technical report</a>.',te,L,$e='The original codebase can be found at <a href="https://github.com/openai/consistencydecoder" rel="nofollow">openai/consistencydecoder</a>.',se,x,Ce="<p>Inference is only supported for 2 iterations as of now.</p>",oe,k,De='The pipeline could not have been contributed without the help of <a href="https://github.com/madebyollin" rel="nofollow">madebyollin</a> and <a href="https://github.com/mrsteyk" rel="nofollow">mrsteyk</a> from <a href="https://github.com/openai/consistencydecoder/issues/1" rel="nofollow">this issue</a>.',re,U,ne,a,G,fe,B,xe="The consistency decoder used with DALL-E 3.",pe,w,ue,W,j,me,X,S,_e,M,I,Ae,H,we="Sets the attention processor to use to compute attention.",ge,F,J,he,N,Me="Disables custom attention processors and sets the default attention implementation.",Pe,$,Z,be,z,Fe="Encode a batch of images using a tiled encoder.",ye,Y,Ee=`When this option is enabled, the VAE will split the input tensor into tiles to compute encoding in several
steps. This is useful to keep memory use constant regardless of image size. The end result of tiled encoding is
different from non-tiled encoding because each tile uses a different encoder. To avoid tiling artifacts, the
tiles overlap and are blended together to form a smooth output. You may still see tile-sized changes in the
output, but they should be much less noticeable.`,ae,R,ie,O,de;return m=new Je({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),y=new Le({props:{title:"Consistency Decoder",local:"consistency-decoder",headingTag:"h1"}}),U=new Le({props:{title:"ConsistencyDecoderVAE",local:"diffusers.ConsistencyDecoderVAE",headingTag:"h2"}}),G=new q({props:{name:"class diffusers.ConsistencyDecoderVAE",anchor:"diffusers.ConsistencyDecoderVAE",parameters:[{name:"scaling_factor",val:": float = 0.18215"},{name:"latent_channels",val:": int = 4"},{name:"sample_size",val:": int = 32"},{name:"encoder_act_fn",val:": str = 'silu'"},{name:"encoder_block_out_channels",val:": typing.Tuple[int, ...] = (128, 256, 512, 512)"},{name:"encoder_double_z",val:": bool = True"},{name:"encoder_down_block_types",val:": typing.Tuple[str, ...] = ('DownEncoderBlock2D', 'DownEncoderBlock2D', 'DownEncoderBlock2D', 'DownEncoderBlock2D')"},{name:"encoder_in_channels",val:": int = 3"},{name:"encoder_layers_per_block",val:": int = 2"},{name:"encoder_norm_num_groups",val:": int = 32"},{name:"encoder_out_channels",val:": int = 4"},{name:"decoder_add_attention",val:": bool = False"},{name:"decoder_block_out_channels",val:": typing.Tuple[int, ...] = (320, 640, 1024, 1024)"},{name:"decoder_down_block_types",val:": typing.Tuple[str, ...] = ('ResnetDownsampleBlock2D', 'ResnetDownsampleBlock2D', 'ResnetDownsampleBlock2D', 'ResnetDownsampleBlock2D')"},{name:"decoder_downsample_padding",val:": int = 1"},{name:"decoder_in_channels",val:": int = 7"},{name:"decoder_layers_per_block",val:": int = 3"},{name:"decoder_norm_eps",val:": float = 1e-05"},{name:"decoder_norm_num_groups",val:": int = 32"},{name:"decoder_num_train_timesteps",val:": int = 1024"},{name:"decoder_out_channels",val:": int = 6"},{name:"decoder_resnet_time_scale_shift",val:": str = 'scale_shift'"},{name:"decoder_time_embedding_type",val:": str = 'learned'"},{name:"decoder_up_block_types",val:": typing.Tuple[str, ...] = ('ResnetUpsampleBlock2D', 'ResnetUpsampleBlock2D', 'ResnetUpsampleBlock2D', 'ResnetUpsampleBlock2D')"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L52"}}),w=new Re({props:{anchor:"diffusers.ConsistencyDecoderVAE.example",$$slots:{default:[We]},$$scope:{ctx:Q}}}),j=new q({props:{name:"wrapper",anchor:"diffusers.ConsistencyDecoderVAE.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/utils/accelerate_utils.py#L43"}}),S=new q({props:{name:"forward",anchor:"diffusers.ConsistencyDecoderVAE.forward",parameters:[{name:"sample",val:": Tensor"},{name:"sample_posterior",val:": bool = False"},{name:"return_dict",val:": bool = True"},{name:"generator",val:": typing.Optional[torch._C.Generator] = None"}],parametersDescription:[{anchor:"diffusers.ConsistencyDecoderVAE.forward.sample",description:"<strong>sample</strong> (<code>torch.Tensor</code>) &#x2014; Input sample.",name:"sample"},{anchor:"diffusers.ConsistencyDecoderVAE.forward.sample_posterior",description:`<strong>sample_posterior</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to sample from the posterior.`,name:"sample_posterior"},{anchor:"diffusers.ConsistencyDecoderVAE.forward.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>DecoderOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.ConsistencyDecoderVAE.forward.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Generator to use for sampling.`,name:"generator"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L397",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is True, a <code>DecoderOutput</code> is returned, otherwise a plain <code>tuple</code> is returned.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>DecoderOutput</code> or <code>tuple</code></p>
`}}),I=new q({props:{name:"set_attn_processor",anchor:"diffusers.ConsistencyDecoderVAE.set_attn_processor",parameters:[{name:"processor",val:": typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.JointAttnProcessor2_0, diffusers.models.attention_processor.PAGJointAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGJointAttnProcessor2_0, diffusers.models.attention_processor.FusedJointAttnProcessor2_0, diffusers.models.attention_processor.AllegroAttnProcessor2_0, diffusers.models.attention_processor.AuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FusedAuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.CogVideoXAttnProcessor2_0, diffusers.models.attention_processor.FusedCogVideoXAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.XLAFlashAttnProcessor2_0, diffusers.models.attention_processor.AttnProcessorNPU, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.MochiVaeAttnProcessor2_0, diffusers.models.attention_processor.MochiAttnProcessor2_0, diffusers.models.attention_processor.StableAudioAttnProcessor2_0, diffusers.models.attention_processor.HunyuanAttnProcessor2_0, diffusers.models.attention_processor.FusedHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.LuminaAttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.SanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGSanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGIdentitySanaLinearAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleLinearAttention, diffusers.models.attention_processor.SanaMultiscaleAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleAttentionProjection, diffusers.models.attention_processor.IPAdapterAttnProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor2_0, diffusers.models.attention_processor.IPAdapterXFormersAttnProcessor, diffusers.models.attention_processor.SD3IPAdapterJointAttnProcessor2_0, diffusers.models.attention_processor.PAGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor, typing.Dict[str, typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.JointAttnProcessor2_0, diffusers.models.attention_processor.PAGJointAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGJointAttnProcessor2_0, diffusers.models.attention_processor.FusedJointAttnProcessor2_0, diffusers.models.attention_processor.AllegroAttnProcessor2_0, diffusers.models.attention_processor.AuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FusedAuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.CogVideoXAttnProcessor2_0, diffusers.models.attention_processor.FusedCogVideoXAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.XLAFlashAttnProcessor2_0, diffusers.models.attention_processor.AttnProcessorNPU, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.MochiVaeAttnProcessor2_0, diffusers.models.attention_processor.MochiAttnProcessor2_0, diffusers.models.attention_processor.StableAudioAttnProcessor2_0, diffusers.models.attention_processor.HunyuanAttnProcessor2_0, diffusers.models.attention_processor.FusedHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.LuminaAttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.SanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGSanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGIdentitySanaLinearAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleLinearAttention, diffusers.models.attention_processor.SanaMultiscaleAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleAttentionProjection, diffusers.models.attention_processor.IPAdapterAttnProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor2_0, diffusers.models.attention_processor.IPAdapterXFormersAttnProcessor, diffusers.models.attention_processor.SD3IPAdapterJointAttnProcessor2_0, diffusers.models.attention_processor.PAGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor]]]"}],parametersDescription:[{anchor:"diffusers.ConsistencyDecoderVAE.set_attn_processor.processor",description:`<strong>processor</strong> (<code>dict</code> of <code>AttentionProcessor</code> or only <code>AttentionProcessor</code>) &#x2014;
The instantiated processor class or a dictionary of processor classes that will be set as the processor
for <strong>all</strong> <code>Attention</code> layers.</p>
<p>If <code>processor</code> is a dict, the key needs to define the path to the corresponding cross attention
processor. This is strongly recommended when setting trainable attention processors.`,name:"processor"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L196"}}),J=new q({props:{name:"set_default_attn_processor",anchor:"diffusers.ConsistencyDecoderVAE.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L231"}}),Z=new q({props:{name:"tiled_encode",anchor:"diffusers.ConsistencyDecoderVAE.tiled_encode",parameters:[{name:"x",val:": Tensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.ConsistencyDecoderVAE.tiled_encode.x",description:"<strong>x</strong> (<code>torch.Tensor</code>) &#x2014; Input batch of images.",name:"x"},{anchor:"diffusers.ConsistencyDecoderVAE.tiled_encode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>ConsistencyDecoderVAEOutput</code>
instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L342",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If return_dict is True, a <code>ConsistencyDecoderVAEOutput</code>
is returned, otherwise a plain <code>tuple</code> is returned.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ConsistencyDecoderVAEOutput</code> or <code>tuple</code></p>
`}}),R=new Be({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/consistency_decoder_vae.md"}}),{c(){p=l("meta"),V=o(),v=l("p"),u=o(),_(m.$$.fragment),d=o(),_(y.$$.fragment),ee=o(),T=l("p"),T.innerHTML=ve,te=o(),L=l("p"),L.innerHTML=$e,se=o(),x=l("blockquote"),x.innerHTML=Ce,oe=o(),k=l("p"),k.innerHTML=De,re=o(),_(U.$$.fragment),ne=o(),a=l("div"),_(G.$$.fragment),fe=o(),B=l("p"),B.textContent=xe,pe=o(),_(w.$$.fragment),ue=o(),W=l("div"),_(j.$$.fragment),me=o(),X=l("div"),_(S.$$.fragment),_e=o(),M=l("div"),_(I.$$.fragment),Ae=o(),H=l("p"),H.textContent=we,ge=o(),F=l("div"),_(J.$$.fragment),he=o(),N=l("p"),N.textContent=Me,Pe=o(),$=l("div"),_(Z.$$.fragment),be=o(),z=l("p"),z.textContent=Fe,ye=o(),Y=l("p"),Y.textContent=Ee,ae=o(),_(R.$$.fragment),ie=o(),O=l("p"),this.h()},l(e){const s=Ie("svelte-u9bgzb",document.head);p=f(s,"META",{name:!0,content:!0}),s.forEach(t),V=r(e),v=f(e,"P",{}),E(v).forEach(t),u=r(e),A(m.$$.fragment,e),d=r(e),A(y.$$.fragment,e),ee=r(e),T=f(e,"P",{"data-svelte-h":!0}),C(T)!=="svelte-1ttox57"&&(T.innerHTML=ve),te=r(e),L=f(e,"P",{"data-svelte-h":!0}),C(L)!=="svelte-uyyo7l"&&(L.innerHTML=$e),se=r(e),x=f(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),C(x)!=="svelte-1mg82lp"&&(x.innerHTML=Ce),oe=r(e),k=f(e,"P",{"data-svelte-h":!0}),C(k)!=="svelte-1ln42ze"&&(k.innerHTML=De),re=r(e),A(U.$$.fragment,e),ne=r(e),a=f(e,"DIV",{class:!0});var c=E(a);A(G.$$.fragment,c),fe=r(c),B=f(c,"P",{"data-svelte-h":!0}),C(B)!=="svelte-1fvfwaa"&&(B.textContent=xe),pe=r(c),A(w.$$.fragment,c),ue=r(c),W=f(c,"DIV",{class:!0});var Ve=E(W);A(j.$$.fragment,Ve),Ve.forEach(t),me=r(c),X=f(c,"DIV",{class:!0});var Te=E(X);A(S.$$.fragment,Te),Te.forEach(t),_e=r(c),M=f(c,"DIV",{class:!0});var ce=E(M);A(I.$$.fragment,ce),Ae=r(ce),H=f(ce,"P",{"data-svelte-h":!0}),C(H)!=="svelte-1o77hl2"&&(H.textContent=we),ce.forEach(t),ge=r(c),F=f(c,"DIV",{class:!0});var le=E(F);A(J.$$.fragment,le),he=r(le),N=f(le,"P",{"data-svelte-h":!0}),C(N)!=="svelte-1lxcwhv"&&(N.textContent=Me),le.forEach(t),Pe=r(c),$=f(c,"DIV",{class:!0});var K=E($);A(Z.$$.fragment,K),be=r(K),z=f(K,"P",{"data-svelte-h":!0}),C(z)!=="svelte-1un5fcn"&&(z.textContent=Fe),ye=r(K),Y=f(K,"P",{"data-svelte-h":!0}),C(Y)!=="svelte-lbfkqr"&&(Y.textContent=Ee),K.forEach(t),c.forEach(t),ae=r(e),A(R.$$.fragment,e),ie=r(e),O=f(e,"P",{}),E(O).forEach(t),this.h()},h(){D(p,"name","hf:doc:metadata"),D(p,"content",He),D(x,"class","warning"),D(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),D(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),D(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),D(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),D($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),D(a,"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,s){n(document.head,p),i(e,V,s),i(e,v,s),i(e,u,s),g(m,e,s),i(e,d,s),g(y,e,s),i(e,ee,s),i(e,T,s),i(e,te,s),i(e,L,s),i(e,se,s),i(e,x,s),i(e,oe,s),i(e,k,s),i(e,re,s),g(U,e,s),i(e,ne,s),i(e,a,s),g(G,a,null),n(a,fe),n(a,B),n(a,pe),g(w,a,null),n(a,ue),n(a,W),g(j,W,null),n(a,me),n(a,X),g(S,X,null),n(a,_e),n(a,M),g(I,M,null),n(M,Ae),n(M,H),n(a,ge),n(a,F),g(J,F,null),n(F,he),n(F,N),n(a,Pe),n(a,$),g(Z,$,null),n($,be),n($,z),n($,ye),n($,Y),i(e,ae,s),g(R,e,s),i(e,ie,s),i(e,O,s),de=!0},p(e,[s]){const c={};s&2&&(c.$$scope={dirty:s,ctx:e}),w.$set(c)},i(e){de||(h(m.$$.fragment,e),h(y.$$.fragment,e),h(U.$$.fragment,e),h(G.$$.fragment,e),h(w.$$.fragment,e),h(j.$$.fragment,e),h(S.$$.fragment,e),h(I.$$.fragment,e),h(J.$$.fragment,e),h(Z.$$.fragment,e),h(R.$$.fragment,e),de=!0)},o(e){P(m.$$.fragment,e),P(y.$$.fragment,e),P(U.$$.fragment,e),P(G.$$.fragment,e),P(w.$$.fragment,e),P(j.$$.fragment,e),P(S.$$.fragment,e),P(I.$$.fragment,e),P(J.$$.fragment,e),P(Z.$$.fragment,e),P(R.$$.fragment,e),de=!1},d(e){e&&(t(V),t(v),t(u),t(d),t(ee),t(T),t(te),t(L),t(se),t(x),t(oe),t(k),t(re),t(ne),t(a),t(ae),t(ie),t(O)),t(p),b(m,e),b(y,e),b(U,e),b(G),b(w),b(j),b(S),b(I),b(J),b(Z),b(R,e)}}}const He='{"title":"Consistency Decoder","local":"consistency-decoder","sections":[{"title":"ConsistencyDecoderVAE","local":"diffusers.ConsistencyDecoderVAE","sections":[],"depth":2}],"depth":1}';function Ne(Q){return Ue(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class tt extends je{constructor(p){super(),Se(this,p,Ne,Xe,ke,{})}}export{tt as component};
