import{s as ht,n as _t,o as bt}from"../chunks/scheduler.53228c21.js";import{S as vt,i as $t,e as a,s as n,c as u,h as xt,a as d,d as o,b as s,f as _,g as p,j as b,k as v,l as t,m as c,n as m,t as f,o as g,p as h}from"../chunks/index.100fac89.js";import{C as wt}from"../chunks/CopyLLMTxtMenu.9360b11d.js";import{D as $}from"../chunks/Docstring.22cc8849.js";import{C as yt}from"../chunks/CodeBlock.d30a6509.js";import{H as Ee,E as Ct}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.c9001d7a.js";function Vt(et){let w,pe,ce,me,k,fe,X,ge,K,tt='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.',he,M,ot="The model can be loaded with the following code snippet.",_e,E,be,O,ve,r,U,Oe,F,nt=`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>.`,Ue,Y,st=`This model inherits from <a href="/docs/diffusers/main/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).`,He,J,H,ze,Q,z,Ie,V,I,Pe,ee,it=`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,P,Ne,te,rt=`Disable tiled VAE decoding. If <code>enable_tiling</code> was previously enabled, this method will go back to computing
decoding in one step.`,Ze,L,q,Se,oe,at=`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.`,Be,D,N,Ge,ne,dt=`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.`,We,A,Z,Re,se,lt="Decode a batch of images using a tiled decoder.",je,x,S,Fe,ie,ct="Encode a batch of images using a tiled encoder.",Ye,re,ut=`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.`,$e,B,xe,y,G,Je,ae,pt="Output of AutoencoderKL encoding method.",we,W,ye,C,R,Qe,de,mt="Output of decoding method.",Ce,j,Ve,ue,Te;return k=new wt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),X=new Ee({props:{title:"AutoencoderKLCogVideoX",local:"autoencoderklcogvideox",headingTag:"h1"}}),E=new yt({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}}),O=new Ee({props:{title:"AutoencoderKLCogVideoX",local:"diffusers.AutoencoderKLCogVideoX",headingTag:"h2"}}),U=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://huggingface.co/papers/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 losing 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/main/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L958"}}),H=new $({props:{name:"wrapper",anchor:"diffusers.AutoencoderKLCogVideoX.decode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/utils/accelerate_utils.py#L43"}}),z=new $({props:{name:"wrapper",anchor:"diffusers.AutoencoderKLCogVideoX.encode",parameters:[{name:"*args",val:""},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/diffusers/blob/main/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/main/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1141"}}),P=new $({props:{name:"disable_tiling",anchor:"diffusers.AutoencoderKLCogVideoX.disable_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1127"}}),q=new $({props:{name:"enable_slicing",anchor:"diffusers.AutoencoderKLCogVideoX.enable_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1134"}}),N=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/main/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1091"}}),Z=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/main/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1345",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>
`}}),S=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/main/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1271",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 Ee({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/main/src/diffusers/models/modeling_outputs.py#L7"}}),W=new Ee({props:{title:"DecoderOutput",local:"diffusers.models.autoencoders.vae.DecoderOutput",headingTag:"h2"}}),R=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/main/src/diffusers/models/autoencoders/vae.py#L47"}}),j=new Ct({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/autoencoderkl_cogvideox.md"}}),{c(){w=a("meta"),pe=n(),ce=a("p"),me=n(),u(k.$$.fragment),fe=n(),u(X.$$.fragment),ge=n(),K=a("p"),K.innerHTML=tt,he=n(),M=a("p"),M.textContent=ot,_e=n(),u(E.$$.fragment),be=n(),u(O.$$.fragment),ve=n(),r=a("div"),u(U.$$.fragment),Oe=n(),F=a("p"),F.innerHTML=nt,Ue=n(),Y=a("p"),Y.innerHTML=st,He=n(),J=a("div"),u(H.$$.fragment),ze=n(),Q=a("div"),u(z.$$.fragment),Ie=n(),V=a("div"),u(I.$$.fragment),Pe=n(),ee=a("p"),ee.innerHTML=it,qe=n(),T=a("div"),u(P.$$.fragment),Ne=n(),te=a("p"),te.innerHTML=rt,Ze=n(),L=a("div"),u(q.$$.fragment),Se=n(),oe=a("p"),oe.textContent=at,Be=n(),D=a("div"),u(N.$$.fragment),Ge=n(),ne=a("p"),ne.textContent=dt,We=n(),A=a("div"),u(Z.$$.fragment),Re=n(),se=a("p"),se.textContent=lt,je=n(),x=a("div"),u(S.$$.fragment),Fe=n(),ie=a("p"),ie.textContent=ct,Ye=n(),re=a("p"),re.textContent=ut,$e=n(),u(B.$$.fragment),xe=n(),y=a("div"),u(G.$$.fragment),Je=n(),ae=a("p"),ae.textContent=pt,we=n(),u(W.$$.fragment),ye=n(),C=a("div"),u(R.$$.fragment),Qe=n(),de=a("p"),de.textContent=mt,Ce=n(),u(j.$$.fragment),Ve=n(),ue=a("p"),this.h()},l(e){const i=xt("svelte-u9bgzb",document.head);w=d(i,"META",{name:!0,content:!0}),i.forEach(o),pe=s(e),ce=d(e,"P",{}),_(ce).forEach(o),me=s(e),p(k.$$.fragment,e),fe=s(e),p(X.$$.fragment,e),ge=s(e),K=d(e,"P",{"data-svelte-h":!0}),b(K)!=="svelte-1996cgd"&&(K.innerHTML=tt),he=s(e),M=d(e,"P",{"data-svelte-h":!0}),b(M)!=="svelte-1vuni30"&&(M.textContent=ot),_e=s(e),p(E.$$.fragment,e),be=s(e),p(O.$$.fragment,e),ve=s(e),r=d(e,"DIV",{class:!0});var l=_(r);p(U.$$.fragment,l),Oe=s(l),F=d(l,"P",{"data-svelte-h":!0}),b(F)!=="svelte-1rg6lrb"&&(F.innerHTML=nt),Ue=s(l),Y=d(l,"P",{"data-svelte-h":!0}),b(Y)!=="svelte-1hyu2ru"&&(Y.innerHTML=st),He=s(l),J=d(l,"DIV",{class:!0});var ft=_(J);p(H.$$.fragment,ft),ft.forEach(o),ze=s(l),Q=d(l,"DIV",{class:!0});var gt=_(Q);p(z.$$.fragment,gt),gt.forEach(o),Ie=s(l),V=d(l,"DIV",{class:!0});var Le=_(V);p(I.$$.fragment,Le),Pe=s(Le),ee=d(Le,"P",{"data-svelte-h":!0}),b(ee)!=="svelte-189cc7b"&&(ee.innerHTML=it),Le.forEach(o),qe=s(l),T=d(l,"DIV",{class:!0});var De=_(T);p(P.$$.fragment,De),Ne=s(De),te=d(De,"P",{"data-svelte-h":!0}),b(te)!=="svelte-1f366pl"&&(te.innerHTML=rt),De.forEach(o),Ze=s(l),L=d(l,"DIV",{class:!0});var Ae=_(L);p(q.$$.fragment,Ae),Se=s(Ae),oe=d(Ae,"P",{"data-svelte-h":!0}),b(oe)!=="svelte-14bnrb6"&&(oe.textContent=at),Ae.forEach(o),Be=s(l),D=d(l,"DIV",{class:!0});var ke=_(D);p(N.$$.fragment,ke),Ge=s(ke),ne=d(ke,"P",{"data-svelte-h":!0}),b(ne)!=="svelte-1xwrf7t"&&(ne.textContent=dt),ke.forEach(o),We=s(l),A=d(l,"DIV",{class:!0});var Xe=_(A);p(Z.$$.fragment,Xe),Re=s(Xe),se=d(Xe,"P",{"data-svelte-h":!0}),b(se)!=="svelte-1vrxp2b"&&(se.textContent=lt),Xe.forEach(o),je=s(l),x=d(l,"DIV",{class:!0});var le=_(x);p(S.$$.fragment,le),Fe=s(le),ie=d(le,"P",{"data-svelte-h":!0}),b(ie)!=="svelte-1un5fcn"&&(ie.textContent=ct),Ye=s(le),re=d(le,"P",{"data-svelte-h":!0}),b(re)!=="svelte-lbfkqr"&&(re.textContent=ut),le.forEach(o),l.forEach(o),$e=s(e),p(B.$$.fragment,e),xe=s(e),y=d(e,"DIV",{class:!0});var Ke=_(y);p(G.$$.fragment,Ke),Je=s(Ke),ae=d(Ke,"P",{"data-svelte-h":!0}),b(ae)!=="svelte-1vsc7ag"&&(ae.textContent=pt),Ke.forEach(o),we=s(e),p(W.$$.fragment,e),ye=s(e),C=d(e,"DIV",{class:!0});var Me=_(C);p(R.$$.fragment,Me),Qe=s(Me),de=d(Me,"P",{"data-svelte-h":!0}),b(de)!=="svelte-18u8upa"&&(de.textContent=mt),Me.forEach(o),Ce=s(e),p(j.$$.fragment,e),Ve=s(e),ue=d(e,"P",{}),_(ue).forEach(o),this.h()},h(){v(w,"name","hf:doc:metadata"),v(w,"content",Tt),v(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(r,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(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,i){t(document.head,w),c(e,pe,i),c(e,ce,i),c(e,me,i),m(k,e,i),c(e,fe,i),m(X,e,i),c(e,ge,i),c(e,K,i),c(e,he,i),c(e,M,i),c(e,_e,i),m(E,e,i),c(e,be,i),m(O,e,i),c(e,ve,i),c(e,r,i),m(U,r,null),t(r,Oe),t(r,F),t(r,Ue),t(r,Y),t(r,He),t(r,J),m(H,J,null),t(r,ze),t(r,Q),m(z,Q,null),t(r,Ie),t(r,V),m(I,V,null),t(V,Pe),t(V,ee),t(r,qe),t(r,T),m(P,T,null),t(T,Ne),t(T,te),t(r,Ze),t(r,L),m(q,L,null),t(L,Se),t(L,oe),t(r,Be),t(r,D),m(N,D,null),t(D,Ge),t(D,ne),t(r,We),t(r,A),m(Z,A,null),t(A,Re),t(A,se),t(r,je),t(r,x),m(S,x,null),t(x,Fe),t(x,ie),t(x,Ye),t(x,re),c(e,$e,i),m(B,e,i),c(e,xe,i),c(e,y,i),m(G,y,null),t(y,Je),t(y,ae),c(e,we,i),m(W,e,i),c(e,ye,i),c(e,C,i),m(R,C,null),t(C,Qe),t(C,de),c(e,Ce,i),m(j,e,i),c(e,Ve,i),c(e,ue,i),Te=!0},p:_t,i(e){Te||(f(k.$$.fragment,e),f(X.$$.fragment,e),f(E.$$.fragment,e),f(O.$$.fragment,e),f(U.$$.fragment,e),f(H.$$.fragment,e),f(z.$$.fragment,e),f(I.$$.fragment,e),f(P.$$.fragment,e),f(q.$$.fragment,e),f(N.$$.fragment,e),f(Z.$$.fragment,e),f(S.$$.fragment,e),f(B.$$.fragment,e),f(G.$$.fragment,e),f(W.$$.fragment,e),f(R.$$.fragment,e),f(j.$$.fragment,e),Te=!0)},o(e){g(k.$$.fragment,e),g(X.$$.fragment,e),g(E.$$.fragment,e),g(O.$$.fragment,e),g(U.$$.fragment,e),g(H.$$.fragment,e),g(z.$$.fragment,e),g(I.$$.fragment,e),g(P.$$.fragment,e),g(q.$$.fragment,e),g(N.$$.fragment,e),g(Z.$$.fragment,e),g(S.$$.fragment,e),g(B.$$.fragment,e),g(G.$$.fragment,e),g(W.$$.fragment,e),g(R.$$.fragment,e),g(j.$$.fragment,e),Te=!1},d(e){e&&(o(pe),o(ce),o(me),o(fe),o(ge),o(K),o(he),o(M),o(_e),o(be),o(ve),o(r),o($e),o(xe),o(y),o(we),o(ye),o(C),o(Ce),o(Ve),o(ue)),o(w),h(k,e),h(X,e),h(E,e),h(O,e),h(U),h(H),h(z),h(I),h(P),h(q),h(N),h(Z),h(S),h(B,e),h(G),h(W,e),h(R),h(j,e)}}}const Tt='{"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 Lt(et){return bt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Et extends vt{constructor(w){super(),$t(this,w,Lt,Vt,ht,{})}}export{Et as component};
