import{s as ft,n as gt,o as ht}from"../chunks/scheduler.8c3d61f6.js";import{S as _t,i as vt,g as a,s as n,r as u,A as bt,h as d,f as o,c as s,j as _,u as p,x as v,k as b,y as t,a as c,v as m,d as f,t as g,w as h}from"../chunks/index.da70eac4.js";import{D as $}from"../chunks/Docstring.6b390b9a.js";import{C as $t}from"../chunks/CodeBlock.00a903b3.js";import{H as Ke,E as xt}from"../chunks/EditOnGithub.1e64e623.js";function wt(Je){let w,ue,le,pe,k,me,X,Qe='The 3D variational autoencoder (VAE) model with KL loss used in <a href="https://github.com/THUDM/CogVideo" rel="nofollow">CogVideoX</a> was introduced in <a href="https://github.com/THUDM/CogVideo/blob/main/resources/CogVideoX.pdf" rel="nofollow">CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer</a> by Tsinghua University &amp; ZhipuAI.',fe,K,et="The model can be loaded with the following code snippet.",ge,E,he,M,_e,i,O,Ee,j,tt=`A VAE model with KL loss for encoding images into latents and decoding latent representations into images. Used in
<a href="https://github.com/THUDM/CogVideo" rel="nofollow">CogVideoX</a>.`,Me,F,ot=`This model inherits from <a href="/docs/diffusers/pr_10009/en/api/models/overview#diffusers.ModelMixin">ModelMixin</a>. Check the superclass documentation for it’s generic methods implemented
for all models (such as downloading or saving).`,Oe,Y,U,Ue,J,H,He,V,I,Ie,Q,nt=`Disable sliced VAE decoding. If <code>enable_slicing</code> was previously enabled, this method will go back to computing
decoding in one step.`,qe,T,q,ze,ee,st=`Disable tiled VAE decoding. If <code>enable_tiling</code> was previously enabled, this method will go back to computing
decoding in one step.`,Pe,L,z,Ne,te,rt=`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.`,Ze,D,P,Be,oe,it=`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.`,Ge,A,N,Se,ne,at="Decode a batch of images using a tiled decoder.",We,x,Z,Re,se,dt="Encode a batch of images using a tiled encoder.",je,re,lt=`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.`,ve,B,be,y,G,Fe,ie,ct="Output of AutoencoderKL encoding method.",$e,S,xe,C,W,Ye,ae,ut="Output of decoding method.",we,R,ye,ce,Ce;return k=new Ke({props:{title:"AutoencoderKLCogVideoX",local:"autoencoderklcogvideox",headingTag:"h1"}}),E=new $t({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMEF1dG9lbmNvZGVyS0xDb2dWaWRlb1glMEElMEF2YWUlMjAlM0QlMjBBdXRvZW5jb2RlcktMQ29nVmlkZW9YLmZyb21fcHJldHJhaW5lZCglMjJUSFVETSUyRkNvZ1ZpZGVvWC0yYiUyMiUyQyUyMHN1YmZvbGRlciUzRCUyMnZhZSUyMiUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNikudG8oJTIyY3VkYSUyMik=",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> AutoencoderKLCogVideoX

vae = AutoencoderKLCogVideoX.from_pretrained(<span class="hljs-string">&quot;THUDM/CogVideoX-2b&quot;</span>, subfolder=<span class="hljs-string">&quot;vae&quot;</span>, torch_dtype=torch.float16).to(<span class="hljs-string">&quot;cuda&quot;</span>)`,wrap:!1}}),M=new Ke({props:{title:"AutoencoderKLCogVideoX",local:"diffusers.AutoencoderKLCogVideoX",headingTag:"h2"}}),O=new $({props:{name:"class diffusers.AutoencoderKLCogVideoX",anchor:"diffusers.AutoencoderKLCogVideoX",parameters:[{name:"in_channels",val:": int = 3"},{name:"out_channels",val:": int = 3"},{name:"down_block_types",val:": typing.Tuple[str] = ('CogVideoXDownBlock3D', 'CogVideoXDownBlock3D', 'CogVideoXDownBlock3D', 'CogVideoXDownBlock3D')"},{name:"up_block_types",val:": typing.Tuple[str] = ('CogVideoXUpBlock3D', 'CogVideoXUpBlock3D', 'CogVideoXUpBlock3D', 'CogVideoXUpBlock3D')"},{name:"block_out_channels",val:": typing.Tuple[int] = (128, 256, 256, 512)"},{name:"latent_channels",val:": int = 16"},{name:"layers_per_block",val:": int = 3"},{name:"act_fn",val:": str = 'silu'"},{name:"norm_eps",val:": float = 1e-06"},{name:"norm_num_groups",val:": int = 32"},{name:"temporal_compression_ratio",val:": float = 4"},{name:"sample_height",val:": int = 480"},{name:"sample_width",val:": int = 720"},{name:"scaling_factor",val:": float = 1.15258426"},{name:"shift_factor",val:": typing.Optional[float] = None"},{name:"latents_mean",val:": typing.Optional[typing.Tuple[float]] = None"},{name:"latents_std",val:": typing.Optional[typing.Tuple[float]] = None"},{name:"force_upcast",val:": float = True"},{name:"use_quant_conv",val:": bool = False"},{name:"use_post_quant_conv",val:": bool = False"},{name:"invert_scale_latents",val:": bool = False"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.in_channels",description:"<strong>in_channels</strong> (int, <em>optional</em>, defaults to 3) &#x2014; Number of channels in the input image.",name:"in_channels"},{anchor:"diffusers.AutoencoderKLCogVideoX.out_channels",description:"<strong>out_channels</strong> (int,  <em>optional</em>, defaults to 3) &#x2014; Number of channels in the output.",name:"out_channels"},{anchor:"diffusers.AutoencoderKLCogVideoX.down_block_types",description:`<strong>down_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(&quot;DownEncoderBlock2D&quot;,)</code>) &#x2014;
Tuple of downsample block types.`,name:"down_block_types"},{anchor:"diffusers.AutoencoderKLCogVideoX.up_block_types",description:`<strong>up_block_types</strong> (<code>Tuple[str]</code>, <em>optional</em>, defaults to <code>(&quot;UpDecoderBlock2D&quot;,)</code>) &#x2014;
Tuple of upsample block types.`,name:"up_block_types"},{anchor:"diffusers.AutoencoderKLCogVideoX.block_out_channels",description:`<strong>block_out_channels</strong> (<code>Tuple[int]</code>, <em>optional</em>, defaults to <code>(64,)</code>) &#x2014;
Tuple of block output channels.`,name:"block_out_channels"},{anchor:"diffusers.AutoencoderKLCogVideoX.act_fn",description:"<strong>act_fn</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;silu&quot;</code>) &#x2014; The activation function to use.",name:"act_fn"},{anchor:"diffusers.AutoencoderKLCogVideoX.sample_size",description:"<strong>sample_size</strong> (<code>int</code>, <em>optional</em>, defaults to <code>32</code>) &#x2014; Sample input size.",name:"sample_size"},{anchor:"diffusers.AutoencoderKLCogVideoX.scaling_factor",description:`<strong>scaling_factor</strong> (<code>float</code>, <em>optional</em>, defaults to <code>1.15258426</code>) &#x2014;
The component-wise standard deviation of the trained latent space computed using the first batch of the
training set. This is used to scale the latent space to have unit variance when training the diffusion
model. The latents are scaled with the formula <code>z = z * scaling_factor</code> before being passed to the
diffusion model. When decoding, the latents are scaled back to the original scale with the formula: <code>z = 1 / scaling_factor * z</code>. For more details, refer to sections 4.3.2 and D.1 of the <a href="https://arxiv.org/abs/2112.10752" rel="nofollow">High-Resolution Image
Synthesis with Latent Diffusion Models</a> paper.`,name:"scaling_factor"},{anchor:"diffusers.AutoencoderKLCogVideoX.force_upcast",description:`<strong>force_upcast</strong> (<code>bool</code>, <em>optional</em>, default to <code>True</code>) &#x2014;
If enabled it will force the VAE to run in float32 for high image resolution pipelines, such as SD-XL. VAE
can be fine-tuned / trained to a lower range without loosing too much precision in which case
<code>force_upcast</code> can be set to <code>False</code> - see: <a href="https://huggingface.co/madebyollin/sdxl-vae-fp16-fix" rel="nofollow">https://huggingface.co/madebyollin/sdxl-vae-fp16-fix</a>`,name:"force_upcast"}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L992"}}),U=new $({props:{name:"wrapper",anchor:"diffusers.AutoencoderKLCogVideoX.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/utils/accelerate_utils.py#L43"}}),H=new $({props:{name:"wrapper",anchor:"diffusers.AutoencoderKLCogVideoX.encode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/utils/accelerate_utils.py#L43"}}),I=new $({props:{name:"disable_slicing",anchor:"diffusers.AutoencoderKLCogVideoX.disable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1179"}}),q=new $({props:{name:"disable_tiling",anchor:"diffusers.AutoencoderKLCogVideoX.disable_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1165"}}),z=new $({props:{name:"enable_slicing",anchor:"diffusers.AutoencoderKLCogVideoX.enable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1172"}}),P=new $({props:{name:"enable_tiling",anchor:"diffusers.AutoencoderKLCogVideoX.enable_tiling",parameters:[{name:"tile_sample_min_height",val:": typing.Optional[int] = None"},{name:"tile_sample_min_width",val:": typing.Optional[int] = None"},{name:"tile_overlap_factor_height",val:": typing.Optional[float] = None"},{name:"tile_overlap_factor_width",val:": typing.Optional[float] = None"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.enable_tiling.tile_sample_min_height",description:`<strong>tile_sample_min_height</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The minimum height required for a sample to be separated into tiles across the height dimension.`,name:"tile_sample_min_height"},{anchor:"diffusers.AutoencoderKLCogVideoX.enable_tiling.tile_sample_min_width",description:`<strong>tile_sample_min_width</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The minimum width required for a sample to be separated into tiles across the width dimension.`,name:"tile_sample_min_width"},{anchor:"diffusers.AutoencoderKLCogVideoX.enable_tiling.tile_overlap_factor_height",description:`<strong>tile_overlap_factor_height</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The minimum amount of overlap between two consecutive vertical tiles. This is to ensure that there are
no tiling artifacts produced across the height dimension. Must be between 0 and 1. Setting a higher
value might cause more tiles to be processed leading to slow down of the decoding process.`,name:"tile_overlap_factor_height"},{anchor:"diffusers.AutoencoderKLCogVideoX.enable_tiling.tile_overlap_factor_width",description:`<strong>tile_overlap_factor_width</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The minimum amount of overlap between two consecutive horizontal tiles. This is to ensure that there
are no tiling artifacts produced across the width dimension. Must be between 0 and 1. Setting a higher
value might cause more tiles to be processed leading to slow down of the decoding process.`,name:"tile_overlap_factor_width"}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1129"}}),N=new $({props:{name:"tiled_decode",anchor:"diffusers.AutoencoderKLCogVideoX.tiled_decode",parameters:[{name:"z",val:": Tensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.tiled_decode.z",description:"<strong>z</strong> (<code>torch.Tensor</code>) &#x2014; Input batch of latent vectors.",name:"z"},{anchor:"diffusers.AutoencoderKLCogVideoX.tiled_decode.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>~models.vae.DecoderOutput</code> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1383",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


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


<p><code>~models.vae.DecoderOutput</code> or <code>tuple</code></p>
`}}),Z=new $({props:{name:"tiled_encode",anchor:"diffusers.AutoencoderKLCogVideoX.tiled_encode",parameters:[{name:"x",val:": Tensor"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.tiled_encode.x",description:"<strong>x</strong> (<code>torch.Tensor</code>) &#x2014; Input batch of videos.",name:"x"}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1309",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The latent representation of the encoded videos.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>torch.Tensor</code></p>
`}}),B=new Ke({props:{title:"AutoencoderKLOutput",local:"diffusers.models.modeling_outputs.AutoencoderKLOutput",headingTag:"h2"}}),G=new $({props:{name:"class diffusers.models.modeling_outputs.AutoencoderKLOutput",anchor:"diffusers.models.modeling_outputs.AutoencoderKLOutput",parameters:[{name:"latent_dist",val:": DiagonalGaussianDistribution"}],parametersDescription:[{anchor:"diffusers.models.modeling_outputs.AutoencoderKLOutput.latent_dist",description:`<strong>latent_dist</strong> (<code>DiagonalGaussianDistribution</code>) &#x2014;
Encoded outputs of <code>Encoder</code> represented as the mean and logvar of <code>DiagonalGaussianDistribution</code>.
<code>DiagonalGaussianDistribution</code> allows for sampling latents from the distribution.`,name:"latent_dist"}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/modeling_outputs.py#L6"}}),S=new Ke({props:{title:"DecoderOutput",local:"diffusers.models.autoencoders.vae.DecoderOutput",headingTag:"h2"}}),W=new $({props:{name:"class diffusers.models.autoencoders.vae.DecoderOutput",anchor:"diffusers.models.autoencoders.vae.DecoderOutput",parameters:[{name:"sample",val:": Tensor"},{name:"commit_loss",val:": typing.Optional[torch.FloatTensor] = None"}],parametersDescription:[{anchor:"diffusers.models.autoencoders.vae.DecoderOutput.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_channels, height, width)</code>) &#x2014;
The decoded output sample from the last layer of the model.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/vr_10009/src/diffusers/models/autoencoders/vae.py#L46"}}),R=new xt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/autoencoderkl_cogvideox.md"}}),{c(){w=a("meta"),ue=n(),le=a("p"),pe=n(),u(k.$$.fragment),me=n(),X=a("p"),X.innerHTML=Qe,fe=n(),K=a("p"),K.textContent=et,ge=n(),u(E.$$.fragment),he=n(),u(M.$$.fragment),_e=n(),i=a("div"),u(O.$$.fragment),Ee=n(),j=a("p"),j.innerHTML=tt,Me=n(),F=a("p"),F.innerHTML=ot,Oe=n(),Y=a("div"),u(U.$$.fragment),Ue=n(),J=a("div"),u(H.$$.fragment),He=n(),V=a("div"),u(I.$$.fragment),Ie=n(),Q=a("p"),Q.innerHTML=nt,qe=n(),T=a("div"),u(q.$$.fragment),ze=n(),ee=a("p"),ee.innerHTML=st,Pe=n(),L=a("div"),u(z.$$.fragment),Ne=n(),te=a("p"),te.textContent=rt,Ze=n(),D=a("div"),u(P.$$.fragment),Be=n(),oe=a("p"),oe.textContent=it,Ge=n(),A=a("div"),u(N.$$.fragment),Se=n(),ne=a("p"),ne.textContent=at,We=n(),x=a("div"),u(Z.$$.fragment),Re=n(),se=a("p"),se.textContent=dt,je=n(),re=a("p"),re.textContent=lt,ve=n(),u(B.$$.fragment),be=n(),y=a("div"),u(G.$$.fragment),Fe=n(),ie=a("p"),ie.textContent=ct,$e=n(),u(S.$$.fragment),xe=n(),C=a("div"),u(W.$$.fragment),Ye=n(),ae=a("p"),ae.textContent=ut,we=n(),u(R.$$.fragment),ye=n(),ce=a("p"),this.h()},l(e){const r=bt("svelte-u9bgzb",document.head);w=d(r,"META",{name:!0,content:!0}),r.forEach(o),ue=s(e),le=d(e,"P",{}),_(le).forEach(o),pe=s(e),p(k.$$.fragment,e),me=s(e),X=d(e,"P",{"data-svelte-h":!0}),v(X)!=="svelte-1996cgd"&&(X.innerHTML=Qe),fe=s(e),K=d(e,"P",{"data-svelte-h":!0}),v(K)!=="svelte-1vuni30"&&(K.textContent=et),ge=s(e),p(E.$$.fragment,e),he=s(e),p(M.$$.fragment,e),_e=s(e),i=d(e,"DIV",{class:!0});var l=_(i);p(O.$$.fragment,l),Ee=s(l),j=d(l,"P",{"data-svelte-h":!0}),v(j)!=="svelte-1rg6lrb"&&(j.innerHTML=tt),Me=s(l),F=d(l,"P",{"data-svelte-h":!0}),v(F)!=="svelte-ba05nq"&&(F.innerHTML=ot),Oe=s(l),Y=d(l,"DIV",{class:!0});var pt=_(Y);p(U.$$.fragment,pt),pt.forEach(o),Ue=s(l),J=d(l,"DIV",{class:!0});var mt=_(J);p(H.$$.fragment,mt),mt.forEach(o),He=s(l),V=d(l,"DIV",{class:!0});var Ve=_(V);p(I.$$.fragment,Ve),Ie=s(Ve),Q=d(Ve,"P",{"data-svelte-h":!0}),v(Q)!=="svelte-189cc7b"&&(Q.innerHTML=nt),Ve.forEach(o),qe=s(l),T=d(l,"DIV",{class:!0});var Te=_(T);p(q.$$.fragment,Te),ze=s(Te),ee=d(Te,"P",{"data-svelte-h":!0}),v(ee)!=="svelte-1f366pl"&&(ee.innerHTML=st),Te.forEach(o),Pe=s(l),L=d(l,"DIV",{class:!0});var Le=_(L);p(z.$$.fragment,Le),Ne=s(Le),te=d(Le,"P",{"data-svelte-h":!0}),v(te)!=="svelte-14bnrb6"&&(te.textContent=rt),Le.forEach(o),Ze=s(l),D=d(l,"DIV",{class:!0});var De=_(D);p(P.$$.fragment,De),Be=s(De),oe=d(De,"P",{"data-svelte-h":!0}),v(oe)!=="svelte-1xwrf7t"&&(oe.textContent=it),De.forEach(o),Ge=s(l),A=d(l,"DIV",{class:!0});var Ae=_(A);p(N.$$.fragment,Ae),Se=s(Ae),ne=d(Ae,"P",{"data-svelte-h":!0}),v(ne)!=="svelte-1vrxp2b"&&(ne.textContent=at),Ae.forEach(o),We=s(l),x=d(l,"DIV",{class:!0});var de=_(x);p(Z.$$.fragment,de),Re=s(de),se=d(de,"P",{"data-svelte-h":!0}),v(se)!=="svelte-1un5fcn"&&(se.textContent=dt),je=s(de),re=d(de,"P",{"data-svelte-h":!0}),v(re)!=="svelte-lbfkqr"&&(re.textContent=lt),de.forEach(o),l.forEach(o),ve=s(e),p(B.$$.fragment,e),be=s(e),y=d(e,"DIV",{class:!0});var ke=_(y);p(G.$$.fragment,ke),Fe=s(ke),ie=d(ke,"P",{"data-svelte-h":!0}),v(ie)!=="svelte-1vsc7ag"&&(ie.textContent=ct),ke.forEach(o),$e=s(e),p(S.$$.fragment,e),xe=s(e),C=d(e,"DIV",{class:!0});var Xe=_(C);p(W.$$.fragment,Xe),Ye=s(Xe),ae=d(Xe,"P",{"data-svelte-h":!0}),v(ae)!=="svelte-18u8upa"&&(ae.textContent=ut),Xe.forEach(o),we=s(e),p(R.$$.fragment,e),ye=s(e),ce=d(e,"P",{}),_(ce).forEach(o),this.h()},h(){b(w,"name","hf:doc:metadata"),b(w,"content",yt),b(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(i,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(C,"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,r){t(document.head,w),c(e,ue,r),c(e,le,r),c(e,pe,r),m(k,e,r),c(e,me,r),c(e,X,r),c(e,fe,r),c(e,K,r),c(e,ge,r),m(E,e,r),c(e,he,r),m(M,e,r),c(e,_e,r),c(e,i,r),m(O,i,null),t(i,Ee),t(i,j),t(i,Me),t(i,F),t(i,Oe),t(i,Y),m(U,Y,null),t(i,Ue),t(i,J),m(H,J,null),t(i,He),t(i,V),m(I,V,null),t(V,Ie),t(V,Q),t(i,qe),t(i,T),m(q,T,null),t(T,ze),t(T,ee),t(i,Pe),t(i,L),m(z,L,null),t(L,Ne),t(L,te),t(i,Ze),t(i,D),m(P,D,null),t(D,Be),t(D,oe),t(i,Ge),t(i,A),m(N,A,null),t(A,Se),t(A,ne),t(i,We),t(i,x),m(Z,x,null),t(x,Re),t(x,se),t(x,je),t(x,re),c(e,ve,r),m(B,e,r),c(e,be,r),c(e,y,r),m(G,y,null),t(y,Fe),t(y,ie),c(e,$e,r),m(S,e,r),c(e,xe,r),c(e,C,r),m(W,C,null),t(C,Ye),t(C,ae),c(e,we,r),m(R,e,r),c(e,ye,r),c(e,ce,r),Ce=!0},p:gt,i(e){Ce||(f(k.$$.fragment,e),f(E.$$.fragment,e),f(M.$$.fragment,e),f(O.$$.fragment,e),f(U.$$.fragment,e),f(H.$$.fragment,e),f(I.$$.fragment,e),f(q.$$.fragment,e),f(z.$$.fragment,e),f(P.$$.fragment,e),f(N.$$.fragment,e),f(Z.$$.fragment,e),f(B.$$.fragment,e),f(G.$$.fragment,e),f(S.$$.fragment,e),f(W.$$.fragment,e),f(R.$$.fragment,e),Ce=!0)},o(e){g(k.$$.fragment,e),g(E.$$.fragment,e),g(M.$$.fragment,e),g(O.$$.fragment,e),g(U.$$.fragment,e),g(H.$$.fragment,e),g(I.$$.fragment,e),g(q.$$.fragment,e),g(z.$$.fragment,e),g(P.$$.fragment,e),g(N.$$.fragment,e),g(Z.$$.fragment,e),g(B.$$.fragment,e),g(G.$$.fragment,e),g(S.$$.fragment,e),g(W.$$.fragment,e),g(R.$$.fragment,e),Ce=!1},d(e){e&&(o(ue),o(le),o(pe),o(me),o(X),o(fe),o(K),o(ge),o(he),o(_e),o(i),o(ve),o(be),o(y),o($e),o(xe),o(C),o(we),o(ye),o(ce)),o(w),h(k,e),h(E,e),h(M,e),h(O),h(U),h(H),h(I),h(q),h(z),h(P),h(N),h(Z),h(B,e),h(G),h(S,e),h(W),h(R,e)}}}const yt='{"title":"AutoencoderKLCogVideoX","local":"autoencoderklcogvideox","sections":[{"title":"AutoencoderKLCogVideoX","local":"diffusers.AutoencoderKLCogVideoX","sections":[],"depth":2},{"title":"AutoencoderKLOutput","local":"diffusers.models.modeling_outputs.AutoencoderKLOutput","sections":[],"depth":2},{"title":"DecoderOutput","local":"diffusers.models.autoencoders.vae.DecoderOutput","sections":[],"depth":2}],"depth":1}';function Ct(Je){return ht(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class kt extends _t{constructor(w){super(),vt(this,w,Ct,wt,ft,{})}}export{kt as component};
