Buckets:
| import{s as it,o as at,n as nt}from"../chunks/scheduler.8c3d61f6.js";import{S as dt,i as ct,g as d,s as o,r as m,A as lt,h as c,f as s,c as r,j as y,u as _,x as v,k as C,y as t,a as p,v as g,d as h,t as A,w as b}from"../chunks/index.da70eac4.js";import{T as ft}from"../chunks/Tip.1d9b8c37.js";import{D as E}from"../chunks/Docstring.9419aa1d.js";import{C as pt}from"../chunks/CodeBlock.a9c4becf.js";import{E as ut}from"../chunks/ExampleCodeBlock.1b2603c3.js";import{H as rt,E as mt}from"../chunks/getInferenceSnippets.39110341.js";function _t(q){let l,w="Inference is only supported for 2 iterations as of now.";return{c(){l=d("p"),l.textContent=w},l(u){l=c(u,"P",{"data-svelte-h":!0}),v(l)!=="svelte-oxwnyv"&&(l.textContent=w)},m(u,P){p(u,l,P)},p:nt,d(u){u&&s(l)}}}function gt(q){let l,w="Examples:",u,P,$;return P=new pt({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwU3RhYmxlRGlmZnVzaW9uUGlwZWxpbmUlMkMlMjBDb25zaXN0ZW5jeURlY29kZXJWQUUlMEElMEF2YWUlMjAlM0QlMjBDb25zaXN0ZW5jeURlY29kZXJWQUUuZnJvbV9wcmV0cmFpbmVkKCUyMm9wZW5haSUyRmNvbnNpc3RlbmN5LWRlY29kZXIlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYpJTBBcGlwZSUyMCUzRCUyMFN0YWJsZURpZmZ1c2lvblBpcGVsaW5lLmZyb21fcHJldHJhaW5lZCglMEElMjAlMjAlMjAlMjAlMjJzdGFibGUtZGlmZnVzaW9uLXYxLTUlMkZzdGFibGUtZGlmZnVzaW9uLXYxLTUlMjIlMkMlMjB2YWUlM0R2YWUlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMEEpLnRvKCUyMmN1ZGElMjIpJTBBJTBBaW1hZ2UlMjAlM0QlMjBwaXBlKCUyMmhvcnNlJTIyJTJDJTIwZ2VuZXJhdG9yJTNEdG9yY2gubWFudWFsX3NlZWQoMCkpLmltYWdlcyU1QjAlNUQlMEFpbWFnZQ==",highlighted:`<span class="hljs-meta">>>> </span><span class="hljs-keyword">import</span> torch | |
| <span class="hljs-meta">>>> </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusionPipeline, ConsistencyDecoderVAE | |
| <span class="hljs-meta">>>> </span>vae = ConsistencyDecoderVAE.from_pretrained(<span class="hljs-string">"openai/consistency-decoder"</span>, torch_dtype=torch.float16) | |
| <span class="hljs-meta">>>> </span>pipe = StableDiffusionPipeline.from_pretrained( | |
| <span class="hljs-meta">... </span> <span class="hljs-string">"stable-diffusion-v1-5/stable-diffusion-v1-5"</span>, vae=vae, torch_dtype=torch.float16 | |
| <span class="hljs-meta">... </span>).to(<span class="hljs-string">"cuda"</span>) | |
| <span class="hljs-meta">>>> </span>image = pipe(<span class="hljs-string">"horse"</span>, generator=torch.manual_seed(<span class="hljs-number">0</span>)).images[<span class="hljs-number">0</span>] | |
| <span class="hljs-meta">>>> </span>image`,wrap:!1}}),{c(){l=d("p"),l.textContent=w,u=o(),m(P.$$.fragment)},l(f){l=c(f,"P",{"data-svelte-h":!0}),v(l)!=="svelte-kvfsh7"&&(l.textContent=w),u=r(f),_(P.$$.fragment,f)},m(f,D){p(f,l,D),p(f,u,D),g(P,f,D),$=!0},p:nt,i(f){$||(h(P.$$.fragment,f),$=!0)},o(f){A(P.$$.fragment,f),$=!1},d(f){f&&(s(l),s(u)),b(P,f)}}}function ht(q){let l,w,u,P,$,f,D,Xe='Consistency decoder can be used to decode the latents from the denoising UNet in the <a href="/docs/diffusers/pr_11340/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>.',pe,I,He='The original codebase can be found at <a href="https://github.com/openai/consistencydecoder" rel="nofollow">openai/consistencydecoder</a>.',ue,V,me,j,Ne='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>.',_e,S,ge,n,J,we,O,ze="The consistency decoder used with DALL-E 3.",xe,M,Ee,Q,Z,Ve,F,R,Me,ee,Ye=`Disable sliced VAE decoding. If <code>enable_slicing</code> was previously enabled, this method will go back to computing | |
| decoding in one step.`,Fe,T,W,Te,te,Ke=`Disable tiled VAE decoding. If <code>enable_tiling</code> was previously enabled, this method will go back to computing | |
| decoding in one step.`,Le,L,B,ke,se,qe=`Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to | |
| compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.`,Ge,k,X,Ue,oe,Oe=`Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to | |
| compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow | |
| processing larger images.`,Ie,re,H,je,G,N,Se,ne,Qe="Sets the attention processor to use to compute attention.",Je,U,z,Ze,ie,et="Disables custom attention processors and sets the default attention implementation.",Re,x,Y,We,ae,tt="Encode a batch of images using a tiled encoder.",Be,de,st=`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.`,he,K,Ae,le,be;return $=new rt({props:{title:"Consistency Decoder",local:"consistency-decoder",headingTag:"h1"}}),V=new ft({props:{warning:!0,$$slots:{default:[_t]},$$scope:{ctx:q}}}),S=new rt({props:{title:"ConsistencyDecoderVAE",local:"diffusers.ConsistencyDecoderVAE",headingTag:"h2"}}),J=new E({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/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L52"}}),M=new ut({props:{anchor:"diffusers.ConsistencyDecoderVAE.example",$$slots:{default:[gt]},$$scope:{ctx:q}}}),Z=new E({props:{name:"wrapper",anchor:"diffusers.ConsistencyDecoderVAE.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/utils/accelerate_utils.py#L43"}}),R=new E({props:{name:"disable_slicing",anchor:"diffusers.ConsistencyDecoderVAE.disable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L196"}}),W=new E({props:{name:"disable_tiling",anchor:"diffusers.ConsistencyDecoderVAE.disable_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L180"}}),B=new E({props:{name:"enable_slicing",anchor:"diffusers.ConsistencyDecoderVAE.enable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L188"}}),X=new E({props:{name:"enable_tiling",anchor:"diffusers.ConsistencyDecoderVAE.enable_tiling",parameters:[{name:"use_tiling",val:": bool = True"}],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L171"}}),H=new E({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>) — 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>) — | |
| 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>) — | |
| 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>) — | |
| Generator to use for sampling.`,name:"generator"}],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L430",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> | |
| `}}),N=new E({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>) — | |
| 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/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L229"}}),z=new E({props:{name:"set_default_attn_processor",anchor:"diffusers.ConsistencyDecoderVAE.set_default_attn_processor",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L264"}}),Y=new E({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>) — 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>) — | |
| Whether or not to return a <code>ConsistencyDecoderVAEOutput</code> | |
| instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_11340/src/diffusers/models/autoencoders/consistency_decoder_vae.py#L375",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> | |
| `}}),K=new mt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/consistency_decoder_vae.md"}}),{c(){l=d("meta"),w=o(),u=d("p"),P=o(),m($.$$.fragment),f=o(),D=d("p"),D.innerHTML=Xe,pe=o(),I=d("p"),I.innerHTML=He,ue=o(),m(V.$$.fragment),me=o(),j=d("p"),j.innerHTML=Ne,_e=o(),m(S.$$.fragment),ge=o(),n=d("div"),m(J.$$.fragment),we=o(),O=d("p"),O.textContent=ze,xe=o(),m(M.$$.fragment),Ee=o(),Q=d("div"),m(Z.$$.fragment),Ve=o(),F=d("div"),m(R.$$.fragment),Me=o(),ee=d("p"),ee.innerHTML=Ye,Fe=o(),T=d("div"),m(W.$$.fragment),Te=o(),te=d("p"),te.innerHTML=Ke,Le=o(),L=d("div"),m(B.$$.fragment),ke=o(),se=d("p"),se.textContent=qe,Ge=o(),k=d("div"),m(X.$$.fragment),Ue=o(),oe=d("p"),oe.textContent=Oe,Ie=o(),re=d("div"),m(H.$$.fragment),je=o(),G=d("div"),m(N.$$.fragment),Se=o(),ne=d("p"),ne.textContent=Qe,Je=o(),U=d("div"),m(z.$$.fragment),Ze=o(),ie=d("p"),ie.textContent=et,Re=o(),x=d("div"),m(Y.$$.fragment),We=o(),ae=d("p"),ae.textContent=tt,Be=o(),de=d("p"),de.textContent=st,he=o(),m(K.$$.fragment),Ae=o(),le=d("p"),this.h()},l(e){const i=lt("svelte-u9bgzb",document.head);l=c(i,"META",{name:!0,content:!0}),i.forEach(s),w=r(e),u=c(e,"P",{}),y(u).forEach(s),P=r(e),_($.$$.fragment,e),f=r(e),D=c(e,"P",{"data-svelte-h":!0}),v(D)!=="svelte-82hcpi"&&(D.innerHTML=Xe),pe=r(e),I=c(e,"P",{"data-svelte-h":!0}),v(I)!=="svelte-uyyo7l"&&(I.innerHTML=He),ue=r(e),_(V.$$.fragment,e),me=r(e),j=c(e,"P",{"data-svelte-h":!0}),v(j)!=="svelte-1ln42ze"&&(j.innerHTML=Ne),_e=r(e),_(S.$$.fragment,e),ge=r(e),n=c(e,"DIV",{class:!0});var a=y(n);_(J.$$.fragment,a),we=r(a),O=c(a,"P",{"data-svelte-h":!0}),v(O)!=="svelte-1fvfwaa"&&(O.textContent=ze),xe=r(a),_(M.$$.fragment,a),Ee=r(a),Q=c(a,"DIV",{class:!0});var fe=y(Q);_(Z.$$.fragment,fe),fe.forEach(s),Ve=r(a),F=c(a,"DIV",{class:!0});var Pe=y(F);_(R.$$.fragment,Pe),Me=r(Pe),ee=c(Pe,"P",{"data-svelte-h":!0}),v(ee)!=="svelte-189cc7b"&&(ee.innerHTML=Ye),Pe.forEach(s),Fe=r(a),T=c(a,"DIV",{class:!0});var ve=y(T);_(W.$$.fragment,ve),Te=r(ve),te=c(ve,"P",{"data-svelte-h":!0}),v(te)!=="svelte-1f366pl"&&(te.innerHTML=Ke),ve.forEach(s),Le=r(a),L=c(a,"DIV",{class:!0});var $e=y(L);_(B.$$.fragment,$e),ke=r($e),se=c($e,"P",{"data-svelte-h":!0}),v(se)!=="svelte-14bnrb6"&&(se.textContent=qe),$e.forEach(s),Ge=r(a),k=c(a,"DIV",{class:!0});var ye=y(k);_(X.$$.fragment,ye),Ue=r(ye),oe=c(ye,"P",{"data-svelte-h":!0}),v(oe)!=="svelte-1xwrf7t"&&(oe.textContent=Oe),ye.forEach(s),Ie=r(a),re=c(a,"DIV",{class:!0});var ot=y(re);_(H.$$.fragment,ot),ot.forEach(s),je=r(a),G=c(a,"DIV",{class:!0});var Ce=y(G);_(N.$$.fragment,Ce),Se=r(Ce),ne=c(Ce,"P",{"data-svelte-h":!0}),v(ne)!=="svelte-1o77hl2"&&(ne.textContent=Qe),Ce.forEach(s),Je=r(a),U=c(a,"DIV",{class:!0});var De=y(U);_(z.$$.fragment,De),Ze=r(De),ie=c(De,"P",{"data-svelte-h":!0}),v(ie)!=="svelte-1lxcwhv"&&(ie.textContent=et),De.forEach(s),Re=r(a),x=c(a,"DIV",{class:!0});var ce=y(x);_(Y.$$.fragment,ce),We=r(ce),ae=c(ce,"P",{"data-svelte-h":!0}),v(ae)!=="svelte-1un5fcn"&&(ae.textContent=tt),Be=r(ce),de=c(ce,"P",{"data-svelte-h":!0}),v(de)!=="svelte-lbfkqr"&&(de.textContent=st),ce.forEach(s),a.forEach(s),he=r(e),_(K.$$.fragment,e),Ae=r(e),le=c(e,"P",{}),y(le).forEach(s),this.h()},h(){C(l,"name","hf:doc:metadata"),C(l,"content",At),C(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),C(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,l),p(e,w,i),p(e,u,i),p(e,P,i),g($,e,i),p(e,f,i),p(e,D,i),p(e,pe,i),p(e,I,i),p(e,ue,i),g(V,e,i),p(e,me,i),p(e,j,i),p(e,_e,i),g(S,e,i),p(e,ge,i),p(e,n,i),g(J,n,null),t(n,we),t(n,O),t(n,xe),g(M,n,null),t(n,Ee),t(n,Q),g(Z,Q,null),t(n,Ve),t(n,F),g(R,F,null),t(F,Me),t(F,ee),t(n,Fe),t(n,T),g(W,T,null),t(T,Te),t(T,te),t(n,Le),t(n,L),g(B,L,null),t(L,ke),t(L,se),t(n,Ge),t(n,k),g(X,k,null),t(k,Ue),t(k,oe),t(n,Ie),t(n,re),g(H,re,null),t(n,je),t(n,G),g(N,G,null),t(G,Se),t(G,ne),t(n,Je),t(n,U),g(z,U,null),t(U,Ze),t(U,ie),t(n,Re),t(n,x),g(Y,x,null),t(x,We),t(x,ae),t(x,Be),t(x,de),p(e,he,i),g(K,e,i),p(e,Ae,i),p(e,le,i),be=!0},p(e,[i]){const a={};i&2&&(a.$$scope={dirty:i,ctx:e}),V.$set(a);const fe={};i&2&&(fe.$$scope={dirty:i,ctx:e}),M.$set(fe)},i(e){be||(h($.$$.fragment,e),h(V.$$.fragment,e),h(S.$$.fragment,e),h(J.$$.fragment,e),h(M.$$.fragment,e),h(Z.$$.fragment,e),h(R.$$.fragment,e),h(W.$$.fragment,e),h(B.$$.fragment,e),h(X.$$.fragment,e),h(H.$$.fragment,e),h(N.$$.fragment,e),h(z.$$.fragment,e),h(Y.$$.fragment,e),h(K.$$.fragment,e),be=!0)},o(e){A($.$$.fragment,e),A(V.$$.fragment,e),A(S.$$.fragment,e),A(J.$$.fragment,e),A(M.$$.fragment,e),A(Z.$$.fragment,e),A(R.$$.fragment,e),A(W.$$.fragment,e),A(B.$$.fragment,e),A(X.$$.fragment,e),A(H.$$.fragment,e),A(N.$$.fragment,e),A(z.$$.fragment,e),A(Y.$$.fragment,e),A(K.$$.fragment,e),be=!1},d(e){e&&(s(w),s(u),s(P),s(f),s(D),s(pe),s(I),s(ue),s(me),s(j),s(_e),s(ge),s(n),s(he),s(Ae),s(le)),s(l),b($,e),b(V,e),b(S,e),b(J),b(M),b(Z),b(R),b(W),b(B),b(X),b(H),b(N),b(z),b(Y),b(K,e)}}}const At='{"title":"Consistency Decoder","local":"consistency-decoder","sections":[{"title":"ConsistencyDecoderVAE","local":"diffusers.ConsistencyDecoderVAE","sections":[],"depth":2}],"depth":1}';function bt(q){return at(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class xt extends dt{constructor(l){super(),ct(this,l,bt,ht,it,{})}}export{xt as component}; | |
Xet Storage Details
- Size:
- 25.8 kB
- Xet hash:
- 1ed29171f682111db4a6eb457507d82dd4fd7354d18f519e1889320e355cf7a9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.