Buckets:
| import{s as st,n as at,o as it}from"../chunks/scheduler.53228c21.js";import{S as dt,i as lt,e as a,s as r,c as u,h as ct,a as i,d as t,b as s,f as v,g as p,j as _,k as b,l as o,m as l,n as m,t as f,o as g,p as h}from"../chunks/index.cac5d66a.js";import{C as ut}from"../chunks/CopyLLMTxtMenu.d3355f38.js";import{D as V}from"../chunks/Docstring.41979c71.js";import{C as pt}from"../chunks/CodeBlock.606cbaf4.js";import{H as Te,E as mt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.e4b76f09.js";function ft(Se){let x,ie,se,de,A,le,X,ce,k,We='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 & ZhipuAI.',ue,K,Be="The model can be loaded with the following code snippet.",pe,M,me,E,fe,d,U,Ae,B,Fe=`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>.`,Xe,F,Re=`This model inherits from <a href="/docs/diffusers/pr_13803/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).`,ke,y,N,Ke,R,je="Decode a batch of images.",Me,D,O,Ee,j,Ye="Encode a batch of images into latents.",Ue,L,z,Ne,Y,Je=`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.`,Oe,J,I,ze,T,q,Ie,Q,Qe="Decode a batch of images using a tiled decoder.",qe,$,G,Ge,ee,et="Encode a batch of images using a tiled encoder.",Pe,te,tt=`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.`,ge,P,he,C,H,He,oe,ot="Output of AutoencoderKL encoding method.",_e,Z,ve,w,S,Ze,ne,nt="Output of decoding method.",be,W,$e,ae,xe;return A=new ut({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),X=new Te({props:{title:"AutoencoderKLCogVideoX",local:"autoencoderklcogvideox",headingTag:"h1"}}),M=new pt({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">"THUDM/CogVideoX-2b"</span>, subfolder=<span class="hljs-string">"vae"</span>, torch_dtype=torch.float16).to(<span class="hljs-string">"cuda"</span>)`,lang:"python",wrap:!1}}),E=new Te({props:{title:"AutoencoderKLCogVideoX",local:"diffusers.AutoencoderKLCogVideoX",headingTag:"h2"}}),U=new V({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:": tuple = ('CogVideoXDownBlock3D', 'CogVideoXDownBlock3D', 'CogVideoXDownBlock3D', 'CogVideoXDownBlock3D')"},{name:"up_block_types",val:": tuple = ('CogVideoXUpBlock3D', 'CogVideoXUpBlock3D', 'CogVideoXUpBlock3D', 'CogVideoXUpBlock3D')"},{name:"block_out_channels",val:": tuple = (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:": float | None = None"},{name:"latents_mean",val:": tuple[float] | None = None"},{name:"latents_std",val:": tuple[float] | None = 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) — 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) — 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>("DownEncoderBlock2D",)</code>) — | |
| 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>("UpDecoderBlock2D",)</code>) — | |
| 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>) — | |
| 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>"silu"</code>) — 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>) — 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>) — | |
| 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>) — | |
| 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/vr_13803/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L956"}}),N=new V({props:{name:"decode",anchor:"diffusers.AutoencoderKLCogVideoX.decode",parameters:[{name:"z",val:": Tensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.decode.z",description:"<strong>z</strong> (<code>torch.Tensor</code>) — Input batch of latent vectors.",name:"z"},{anchor:"diffusers.AutoencoderKLCogVideoX.decode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) — | |
| Whether to return a <code>~models.vae.DecoderOutput</code> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_13803/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1207",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> | |
| `}}),O=new V({props:{name:"encode",anchor:"diffusers.AutoencoderKLCogVideoX.encode",parameters:[{name:"x",val:": Tensor"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.encode.x",description:"<strong>x</strong> (<code>torch.Tensor</code>) — Input batch of images.",name:"x"},{anchor:"diffusers.AutoencoderKLCogVideoX.encode.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) — | |
| Whether to return a <code>~models.autoencoder_kl.AutoencoderKLOutput</code> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_13803/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1151",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>The latent representations of the encoded videos. If <code>return_dict</code> is True, a | |
| <code>~models.autoencoder_kl.AutoencoderKLOutput</code> is returned, otherwise a plain <code>tuple</code> is returned.</p> | |
| `}}),z=new V({props:{name:"enable_tiling",anchor:"diffusers.AutoencoderKLCogVideoX.enable_tiling",parameters:[{name:"tile_sample_min_height",val:": int | None = None"},{name:"tile_sample_min_width",val:": int | None = None"},{name:"tile_overlap_factor_height",val:": float | None = None"},{name:"tile_overlap_factor_width",val:": float | None = None"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.enable_tiling.tile_sample_min_height",description:`<strong>tile_sample_min_height</strong> (<code>int</code>, <em>optional</em>) — | |
| 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>) — | |
| 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>) — | |
| 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>) — | |
| 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_13803/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1089"}}),I=new V({props:{name:"forward",anchor:"diffusers.AutoencoderKLCogVideoX.forward",parameters:[{name:"sample",val:": Tensor"},{name:"sample_posterior",val:": bool = False"},{name:"return_dict",val:": bool = True"},{name:"generator",val:": torch._C.Generator | None = None"}],parametersDescription:[{anchor:"diffusers.AutoencoderKLCogVideoX.forward.sample",description:"<strong>sample</strong> (<code>torch.Tensor</code>) — Input sample.",name:"sample"},{anchor:"diffusers.AutoencoderKLCogVideoX.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.AutoencoderKLCogVideoX.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.AutoencoderKLCogVideoX.forward.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) — | |
| A <a href="https://pytorch.org/docs/stable/generated/torch.Generator.html" rel="nofollow"><code>torch.Generator</code></a> to make sampling | |
| deterministic.`,name:"generator"}],source:"https://github.com/huggingface/diffusers/blob/vr_13803/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1405"}}),q=new V({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>) — 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>) — | |
| 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_13803/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1322",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> | |
| `}}),G=new V({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>) — Input batch of videos.",name:"x"}],source:"https://github.com/huggingface/diffusers/blob/vr_13803/src/diffusers/models/autoencoders/autoencoder_kl_cogvideox.py#L1248",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> | |
| `}}),P=new Te({props:{title:"AutoencoderKLOutput",local:"diffusers.models.modeling_outputs.AutoencoderKLOutput",headingTag:"h2"}}),H=new V({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>) — | |
| 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_13803/src/diffusers/models/modeling_outputs.py#L7"}}),Z=new Te({props:{title:"DecoderOutput",local:"diffusers.models.autoencoders.vae.DecoderOutput",headingTag:"h2"}}),S=new V({props:{name:"class diffusers.models.autoencoders.vae.DecoderOutput",anchor:"diffusers.models.autoencoders.vae.DecoderOutput",parameters:[{name:"sample",val:": Tensor"},{name:"commit_loss",val:": torch.FloatTensor | None = 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>) — | |
| The decoded output sample from the last layer of the model.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/vr_13803/src/diffusers/models/autoencoders/vae.py#L46"}}),W=new mt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/autoencoderkl_cogvideox.md"}}),{c(){x=a("meta"),ie=r(),se=a("p"),de=r(),u(A.$$.fragment),le=r(),u(X.$$.fragment),ce=r(),k=a("p"),k.innerHTML=We,ue=r(),K=a("p"),K.textContent=Be,pe=r(),u(M.$$.fragment),me=r(),u(E.$$.fragment),fe=r(),d=a("div"),u(U.$$.fragment),Ae=r(),B=a("p"),B.innerHTML=Fe,Xe=r(),F=a("p"),F.innerHTML=Re,ke=r(),y=a("div"),u(N.$$.fragment),Ke=r(),R=a("p"),R.textContent=je,Me=r(),D=a("div"),u(O.$$.fragment),Ee=r(),j=a("p"),j.textContent=Ye,Ue=r(),L=a("div"),u(z.$$.fragment),Ne=r(),Y=a("p"),Y.textContent=Je,Oe=r(),J=a("div"),u(I.$$.fragment),ze=r(),T=a("div"),u(q.$$.fragment),Ie=r(),Q=a("p"),Q.textContent=Qe,qe=r(),$=a("div"),u(G.$$.fragment),Ge=r(),ee=a("p"),ee.textContent=et,Pe=r(),te=a("p"),te.textContent=tt,ge=r(),u(P.$$.fragment),he=r(),C=a("div"),u(H.$$.fragment),He=r(),oe=a("p"),oe.textContent=ot,_e=r(),u(Z.$$.fragment),ve=r(),w=a("div"),u(S.$$.fragment),Ze=r(),ne=a("p"),ne.textContent=nt,be=r(),u(W.$$.fragment),$e=r(),ae=a("p"),this.h()},l(e){const n=ct("svelte-u9bgzb",document.head);x=i(n,"META",{name:!0,content:!0}),n.forEach(t),ie=s(e),se=i(e,"P",{}),v(se).forEach(t),de=s(e),p(A.$$.fragment,e),le=s(e),p(X.$$.fragment,e),ce=s(e),k=i(e,"P",{"data-svelte-h":!0}),_(k)!=="svelte-1996cgd"&&(k.innerHTML=We),ue=s(e),K=i(e,"P",{"data-svelte-h":!0}),_(K)!=="svelte-1vuni30"&&(K.textContent=Be),pe=s(e),p(M.$$.fragment,e),me=s(e),p(E.$$.fragment,e),fe=s(e),d=i(e,"DIV",{class:!0});var c=v(d);p(U.$$.fragment,c),Ae=s(c),B=i(c,"P",{"data-svelte-h":!0}),_(B)!=="svelte-1rg6lrb"&&(B.innerHTML=Fe),Xe=s(c),F=i(c,"P",{"data-svelte-h":!0}),_(F)!=="svelte-13nky0p"&&(F.innerHTML=Re),ke=s(c),y=i(c,"DIV",{class:!0});var Ce=v(y);p(N.$$.fragment,Ce),Ke=s(Ce),R=i(Ce,"P",{"data-svelte-h":!0}),_(R)!=="svelte-pmyhd2"&&(R.textContent=je),Ce.forEach(t),Me=s(c),D=i(c,"DIV",{class:!0});var we=v(D);p(O.$$.fragment,we),Ee=s(we),j=i(we,"P",{"data-svelte-h":!0}),_(j)!=="svelte-h5bpgz"&&(j.textContent=Ye),we.forEach(t),Ue=s(c),L=i(c,"DIV",{class:!0});var Ve=v(L);p(z.$$.fragment,Ve),Ne=s(Ve),Y=i(Ve,"P",{"data-svelte-h":!0}),_(Y)!=="svelte-1xwrf7t"&&(Y.textContent=Je),Ve.forEach(t),Oe=s(c),J=i(c,"DIV",{class:!0});var rt=v(J);p(I.$$.fragment,rt),rt.forEach(t),ze=s(c),T=i(c,"DIV",{class:!0});var ye=v(T);p(q.$$.fragment,ye),Ie=s(ye),Q=i(ye,"P",{"data-svelte-h":!0}),_(Q)!=="svelte-1vrxp2b"&&(Q.textContent=Qe),ye.forEach(t),qe=s(c),$=i(c,"DIV",{class:!0});var re=v($);p(G.$$.fragment,re),Ge=s(re),ee=i(re,"P",{"data-svelte-h":!0}),_(ee)!=="svelte-1un5fcn"&&(ee.textContent=et),Pe=s(re),te=i(re,"P",{"data-svelte-h":!0}),_(te)!=="svelte-lbfkqr"&&(te.textContent=tt),re.forEach(t),c.forEach(t),ge=s(e),p(P.$$.fragment,e),he=s(e),C=i(e,"DIV",{class:!0});var De=v(C);p(H.$$.fragment,De),He=s(De),oe=i(De,"P",{"data-svelte-h":!0}),_(oe)!=="svelte-1vsc7ag"&&(oe.textContent=ot),De.forEach(t),_e=s(e),p(Z.$$.fragment,e),ve=s(e),w=i(e,"DIV",{class:!0});var Le=v(w);p(S.$$.fragment,Le),Ze=s(Le),ne=i(Le,"P",{"data-svelte-h":!0}),_(ne)!=="svelte-18u8upa"&&(ne.textContent=nt),Le.forEach(t),be=s(e),p(W.$$.fragment,e),$e=s(e),ae=i(e,"P",{}),v(ae).forEach(t),this.h()},h(){b(x,"name","hf:doc:metadata"),b(x,"content",gt),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(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(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(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(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($,"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(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),b(w,"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,n){o(document.head,x),l(e,ie,n),l(e,se,n),l(e,de,n),m(A,e,n),l(e,le,n),m(X,e,n),l(e,ce,n),l(e,k,n),l(e,ue,n),l(e,K,n),l(e,pe,n),m(M,e,n),l(e,me,n),m(E,e,n),l(e,fe,n),l(e,d,n),m(U,d,null),o(d,Ae),o(d,B),o(d,Xe),o(d,F),o(d,ke),o(d,y),m(N,y,null),o(y,Ke),o(y,R),o(d,Me),o(d,D),m(O,D,null),o(D,Ee),o(D,j),o(d,Ue),o(d,L),m(z,L,null),o(L,Ne),o(L,Y),o(d,Oe),o(d,J),m(I,J,null),o(d,ze),o(d,T),m(q,T,null),o(T,Ie),o(T,Q),o(d,qe),o(d,$),m(G,$,null),o($,Ge),o($,ee),o($,Pe),o($,te),l(e,ge,n),m(P,e,n),l(e,he,n),l(e,C,n),m(H,C,null),o(C,He),o(C,oe),l(e,_e,n),m(Z,e,n),l(e,ve,n),l(e,w,n),m(S,w,null),o(w,Ze),o(w,ne),l(e,be,n),m(W,e,n),l(e,$e,n),l(e,ae,n),xe=!0},p:at,i(e){xe||(f(A.$$.fragment,e),f(X.$$.fragment,e),f(M.$$.fragment,e),f(E.$$.fragment,e),f(U.$$.fragment,e),f(N.$$.fragment,e),f(O.$$.fragment,e),f(z.$$.fragment,e),f(I.$$.fragment,e),f(q.$$.fragment,e),f(G.$$.fragment,e),f(P.$$.fragment,e),f(H.$$.fragment,e),f(Z.$$.fragment,e),f(S.$$.fragment,e),f(W.$$.fragment,e),xe=!0)},o(e){g(A.$$.fragment,e),g(X.$$.fragment,e),g(M.$$.fragment,e),g(E.$$.fragment,e),g(U.$$.fragment,e),g(N.$$.fragment,e),g(O.$$.fragment,e),g(z.$$.fragment,e),g(I.$$.fragment,e),g(q.$$.fragment,e),g(G.$$.fragment,e),g(P.$$.fragment,e),g(H.$$.fragment,e),g(Z.$$.fragment,e),g(S.$$.fragment,e),g(W.$$.fragment,e),xe=!1},d(e){e&&(t(ie),t(se),t(de),t(le),t(ce),t(k),t(ue),t(K),t(pe),t(me),t(fe),t(d),t(ge),t(he),t(C),t(_e),t(ve),t(w),t(be),t($e),t(ae)),t(x),h(A,e),h(X,e),h(M,e),h(E,e),h(U),h(N),h(O),h(z),h(I),h(q),h(G),h(P,e),h(H),h(Z,e),h(S),h(W,e)}}}const gt='{"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 ht(Se){return it(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class wt extends dt{constructor(x){super(),lt(this,x,ht,ft,st,{})}}export{wt as component}; | |
Xet Storage Details
- Size:
- 23.9 kB
- Xet hash:
- 751f2fcc1f205fb690100c37e5d398d2c85e32f51643df99b3f8de45ac137b58
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.