Buckets:
| import{s as fe,n as ue,o as pe}from"../chunks/scheduler.53228c21.js";import{S as he,i as _e,e as i,s,c as m,h as ge,a as d,d as t,b as r,f as N,g as f,j as P,k as j,l as u,m as n,n as p,t as h,o as _,p as g}from"../chunks/index.cac5d66a.js";import{C as Te}from"../chunks/CopyLLMTxtMenu.5ac9ab94.js";import{D as se}from"../chunks/Docstring.8a316450.js";import{C as De}from"../chunks/CodeBlock.606cbaf4.js";import{H as re,E as be}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.92b2cd9d.js";function ve(ae){let c,H,z,V,D,Z,b,A,v,ie='A Diffusion Transformer model for 3D data from <a href="https://github.com/PKU-YuanGroup/ConsisID" rel="nofollow">ConsisID</a> was introduced in <a href="https://huggingface.co/papers/2411.17440" rel="nofollow">Identity-Preserving Text-to-Video Generation by Frequency Decomposition</a> by Peking University & University of Rochester & etc.',W,x,de="The model can be loaded with the following code snippet.",R,y,O,M,G,a,I,ee,E,ce='A Transformer model for video-like data in <a href="https://github.com/PKU-YuanGroup/ConsisID" rel="nofollow">ConsisID</a>.',oe,T,w,te,F,le='The <a href="/docs/diffusers/pr_13813/en/api/models/consisid_transformer3d#diffusers.ConsisIDTransformer3DModel">ConsisIDTransformer3DModel</a> forward method.',S,C,U,l,L,ne,k,me='The output of <a href="/docs/diffusers/pr_13813/en/api/models/transformer2d#diffusers.Transformer2DModel">Transformer2DModel</a>.',B,$,X,J,K;return D=new Te({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),b=new re({props:{title:"ConsisIDTransformer3DModel",local:"consisidtransformer3dmodel",headingTag:"h1"}}),y=new De({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMENvbnNpc0lEVHJhbnNmb3JtZXIzRE1vZGVsJTBBJTBBdHJhbnNmb3JtZXIlMjAlM0QlMjBDb25zaXNJRFRyYW5zZm9ybWVyM0RNb2RlbC5mcm9tX3ByZXRyYWluZWQoJTIyQmVzdFdpc2hZc2glMkZDb25zaXNJRC1wcmV2aWV3JTIyJTJDJTIwc3ViZm9sZGVyJTNEJTIydHJhbnNmb3JtZXIlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmJmbG9hdDE2KS50byglMjJjdWRhJTIyKQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> ConsisIDTransformer3DModel | |
| transformer = ConsisIDTransformer3DModel.from_pretrained(<span class="hljs-string">"BestWishYsh/ConsisID-preview"</span>, subfolder=<span class="hljs-string">"transformer"</span>, torch_dtype=torch.bfloat16).to(<span class="hljs-string">"cuda"</span>)`,lang:"python",wrap:!1}}),M=new re({props:{title:"ConsisIDTransformer3DModel",local:"diffusers.ConsisIDTransformer3DModel",headingTag:"h2"}}),I=new se({props:{name:"class diffusers.ConsisIDTransformer3DModel",anchor:"diffusers.ConsisIDTransformer3DModel",parameters:[{name:"num_attention_heads",val:": int = 30"},{name:"attention_head_dim",val:": int = 64"},{name:"in_channels",val:": int = 16"},{name:"out_channels",val:": int | None = 16"},{name:"flip_sin_to_cos",val:": bool = True"},{name:"freq_shift",val:": int = 0"},{name:"time_embed_dim",val:": int = 512"},{name:"text_embed_dim",val:": int = 4096"},{name:"num_layers",val:": int = 30"},{name:"dropout",val:": float = 0.0"},{name:"attention_bias",val:": bool = True"},{name:"sample_width",val:": int = 90"},{name:"sample_height",val:": int = 60"},{name:"sample_frames",val:": int = 49"},{name:"patch_size",val:": int = 2"},{name:"temporal_compression_ratio",val:": int = 4"},{name:"max_text_seq_length",val:": int = 226"},{name:"activation_fn",val:": str = 'gelu-approximate'"},{name:"timestep_activation_fn",val:": str = 'silu'"},{name:"norm_elementwise_affine",val:": bool = True"},{name:"norm_eps",val:": float = 1e-05"},{name:"spatial_interpolation_scale",val:": float = 1.875"},{name:"temporal_interpolation_scale",val:": float = 1.0"},{name:"use_rotary_positional_embeddings",val:": bool = False"},{name:"use_learned_positional_embeddings",val:": bool = False"},{name:"is_train_face",val:": bool = False"},{name:"is_kps",val:": bool = False"},{name:"cross_attn_interval",val:": int = 2"},{name:"cross_attn_dim_head",val:": int = 128"},{name:"cross_attn_num_heads",val:": int = 16"},{name:"LFE_id_dim",val:": int = 1280"},{name:"LFE_vit_dim",val:": int = 1024"},{name:"LFE_depth",val:": int = 10"},{name:"LFE_dim_head",val:": int = 64"},{name:"LFE_num_heads",val:": int = 16"},{name:"LFE_num_id_token",val:": int = 5"},{name:"LFE_num_querie",val:": int = 32"},{name:"LFE_output_dim",val:": int = 2048"},{name:"LFE_ff_mult",val:": int = 4"},{name:"LFE_num_scale",val:": int = 5"},{name:"local_face_scale",val:": float = 1.0"}],parametersDescription:[{anchor:"diffusers.ConsisIDTransformer3DModel.num_attention_heads",description:`<strong>num_attention_heads</strong> (<code>int</code>, defaults to <code>30</code>) — | |
| The number of heads to use for multi-head attention.`,name:"num_attention_heads"},{anchor:"diffusers.ConsisIDTransformer3DModel.attention_head_dim",description:`<strong>attention_head_dim</strong> (<code>int</code>, defaults to <code>64</code>) — | |
| The number of channels in each head.`,name:"attention_head_dim"},{anchor:"diffusers.ConsisIDTransformer3DModel.in_channels",description:`<strong>in_channels</strong> (<code>int</code>, defaults to <code>16</code>) — | |
| The number of channels in the input.`,name:"in_channels"},{anchor:"diffusers.ConsisIDTransformer3DModel.out_channels",description:`<strong>out_channels</strong> (<code>int</code>, <em>optional</em>, defaults to <code>16</code>) — | |
| The number of channels in the output.`,name:"out_channels"},{anchor:"diffusers.ConsisIDTransformer3DModel.flip_sin_to_cos",description:`<strong>flip_sin_to_cos</strong> (<code>bool</code>, defaults to <code>True</code>) — | |
| Whether to flip the sin to cos in the time embedding.`,name:"flip_sin_to_cos"},{anchor:"diffusers.ConsisIDTransformer3DModel.time_embed_dim",description:`<strong>time_embed_dim</strong> (<code>int</code>, defaults to <code>512</code>) — | |
| Output dimension of timestep embeddings.`,name:"time_embed_dim"},{anchor:"diffusers.ConsisIDTransformer3DModel.text_embed_dim",description:`<strong>text_embed_dim</strong> (<code>int</code>, defaults to <code>4096</code>) — | |
| Input dimension of text embeddings from the text encoder.`,name:"text_embed_dim"},{anchor:"diffusers.ConsisIDTransformer3DModel.num_layers",description:`<strong>num_layers</strong> (<code>int</code>, defaults to <code>30</code>) — | |
| The number of layers of Transformer blocks to use.`,name:"num_layers"},{anchor:"diffusers.ConsisIDTransformer3DModel.dropout",description:`<strong>dropout</strong> (<code>float</code>, defaults to <code>0.0</code>) — | |
| The dropout probability to use.`,name:"dropout"},{anchor:"diffusers.ConsisIDTransformer3DModel.attention_bias",description:`<strong>attention_bias</strong> (<code>bool</code>, defaults to <code>True</code>) — | |
| Whether to use bias in the attention projection layers.`,name:"attention_bias"},{anchor:"diffusers.ConsisIDTransformer3DModel.sample_width",description:`<strong>sample_width</strong> (<code>int</code>, defaults to <code>90</code>) — | |
| The width of the input latents.`,name:"sample_width"},{anchor:"diffusers.ConsisIDTransformer3DModel.sample_height",description:`<strong>sample_height</strong> (<code>int</code>, defaults to <code>60</code>) — | |
| The height of the input latents.`,name:"sample_height"},{anchor:"diffusers.ConsisIDTransformer3DModel.sample_frames",description:`<strong>sample_frames</strong> (<code>int</code>, defaults to <code>49</code>) — | |
| The number of frames in the input latents. Note that this parameter was incorrectly initialized to 49 | |
| instead of 13 because ConsisID processed 13 latent frames at once in its default and recommended settings, | |
| but cannot be changed to the correct value to ensure backwards compatibility. To create a transformer with | |
| K latent frames, the correct value to pass here would be: ((K - 1) * temporal_compression_ratio + 1).`,name:"sample_frames"},{anchor:"diffusers.ConsisIDTransformer3DModel.patch_size",description:`<strong>patch_size</strong> (<code>int</code>, defaults to <code>2</code>) — | |
| The size of the patches to use in the patch embedding layer.`,name:"patch_size"},{anchor:"diffusers.ConsisIDTransformer3DModel.temporal_compression_ratio",description:`<strong>temporal_compression_ratio</strong> (<code>int</code>, defaults to <code>4</code>) — | |
| The compression ratio across the temporal dimension. See documentation for <code>sample_frames</code>.`,name:"temporal_compression_ratio"},{anchor:"diffusers.ConsisIDTransformer3DModel.max_text_seq_length",description:`<strong>max_text_seq_length</strong> (<code>int</code>, defaults to <code>226</code>) — | |
| The maximum sequence length of the input text embeddings.`,name:"max_text_seq_length"},{anchor:"diffusers.ConsisIDTransformer3DModel.activation_fn",description:`<strong>activation_fn</strong> (<code>str</code>, defaults to <code>"gelu-approximate"</code>) — | |
| Activation function to use in feed-forward.`,name:"activation_fn"},{anchor:"diffusers.ConsisIDTransformer3DModel.timestep_activation_fn",description:`<strong>timestep_activation_fn</strong> (<code>str</code>, defaults to <code>"silu"</code>) — | |
| Activation function to use when generating the timestep embeddings.`,name:"timestep_activation_fn"},{anchor:"diffusers.ConsisIDTransformer3DModel.norm_elementwise_affine",description:`<strong>norm_elementwise_affine</strong> (<code>bool</code>, defaults to <code>True</code>) — | |
| Whether to use elementwise affine in normalization layers.`,name:"norm_elementwise_affine"},{anchor:"diffusers.ConsisIDTransformer3DModel.norm_eps",description:`<strong>norm_eps</strong> (<code>float</code>, defaults to <code>1e-5</code>) — | |
| The epsilon value to use in normalization layers.`,name:"norm_eps"},{anchor:"diffusers.ConsisIDTransformer3DModel.spatial_interpolation_scale",description:`<strong>spatial_interpolation_scale</strong> (<code>float</code>, defaults to <code>1.875</code>) — | |
| Scaling factor to apply in 3D positional embeddings across spatial dimensions.`,name:"spatial_interpolation_scale"},{anchor:"diffusers.ConsisIDTransformer3DModel.temporal_interpolation_scale",description:`<strong>temporal_interpolation_scale</strong> (<code>float</code>, defaults to <code>1.0</code>) — | |
| Scaling factor to apply in 3D positional embeddings across temporal dimensions.`,name:"temporal_interpolation_scale"},{anchor:"diffusers.ConsisIDTransformer3DModel.is_train_face",description:`<strong>is_train_face</strong> (<code>bool</code>, defaults to <code>False</code>) — | |
| Whether to use enable the identity-preserving module during the training process. When set to <code>True</code>, the | |
| model will focus on identity-preserving tasks.`,name:"is_train_face"},{anchor:"diffusers.ConsisIDTransformer3DModel.is_kps",description:`<strong>is_kps</strong> (<code>bool</code>, defaults to <code>False</code>) — | |
| Whether to enable keypoint for global facial extractor. If <code>True</code>, keypoints will be in the model.`,name:"is_kps"},{anchor:"diffusers.ConsisIDTransformer3DModel.cross_attn_interval",description:`<strong>cross_attn_interval</strong> (<code>int</code>, defaults to <code>2</code>) — | |
| The interval between cross-attention layers in the Transformer architecture. A larger value may reduce the | |
| frequency of cross-attention computations, which can help reduce computational overhead.`,name:"cross_attn_interval"},{anchor:"diffusers.ConsisIDTransformer3DModel.cross_attn_dim_head",description:`<strong>cross_attn_dim_head</strong> (<code>int</code>, optional, defaults to <code>128</code>) — | |
| The dimensionality of each attention head in the cross-attention layers of the Transformer architecture. A | |
| larger value increases the capacity to attend to more complex patterns, but also increases memory and | |
| computation costs.`,name:"cross_attn_dim_head"},{anchor:"diffusers.ConsisIDTransformer3DModel.cross_attn_num_heads",description:`<strong>cross_attn_num_heads</strong> (<code>int</code>, optional, defaults to <code>16</code>) — | |
| The number of attention heads in the cross-attention layers. More heads allow for more parallel attention | |
| mechanisms, capturing diverse relationships between different components of the input, but can also | |
| increase computational requirements.`,name:"cross_attn_num_heads"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_id_dim",description:`<strong>LFE_id_dim</strong> (<code>int</code>, optional, defaults to <code>1280</code>) — | |
| The dimensionality of the identity vector used in the Local Facial Extractor (LFE). This vector represents | |
| the identity features of a face, which are important for tasks like face recognition and identity | |
| preservation across different frames.`,name:"LFE_id_dim"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_vit_dim",description:`<strong>LFE_vit_dim</strong> (<code>int</code>, optional, defaults to <code>1024</code>) — | |
| The dimension of the vision transformer (ViT) output used in the Local Facial Extractor (LFE). This value | |
| dictates the size of the transformer-generated feature vectors that will be processed for facial feature | |
| extraction.`,name:"LFE_vit_dim"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_depth",description:`<strong>LFE_depth</strong> (<code>int</code>, optional, defaults to <code>10</code>) — | |
| The number of layers in the Local Facial Extractor (LFE). Increasing the depth allows the model to capture | |
| more complex representations of facial features, but also increases the computational load.`,name:"LFE_depth"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_dim_head",description:`<strong>LFE_dim_head</strong> (<code>int</code>, optional, defaults to <code>64</code>) — | |
| The dimensionality of each attention head in the Local Facial Extractor (LFE). This parameter affects how | |
| finely the model can process and focus on different parts of the facial features during the extraction | |
| process.`,name:"LFE_dim_head"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_num_heads",description:`<strong>LFE_num_heads</strong> (<code>int</code>, optional, defaults to <code>16</code>) — | |
| The number of attention heads in the Local Facial Extractor (LFE). More heads can improve the model’s | |
| ability to capture diverse facial features, but at the cost of increased computational complexity.`,name:"LFE_num_heads"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_num_id_token",description:`<strong>LFE_num_id_token</strong> (<code>int</code>, optional, defaults to <code>5</code>) — | |
| The number of identity tokens used in the Local Facial Extractor (LFE). This defines how many | |
| identity-related tokens the model will process to ensure face identity preservation during feature | |
| extraction.`,name:"LFE_num_id_token"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_num_querie",description:`<strong>LFE_num_querie</strong> (<code>int</code>, optional, defaults to <code>32</code>) — | |
| The number of query tokens used in the Local Facial Extractor (LFE). These tokens are used to capture | |
| high-frequency face-related information that aids in accurate facial feature extraction.`,name:"LFE_num_querie"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_output_dim",description:`<strong>LFE_output_dim</strong> (<code>int</code>, optional, defaults to <code>2048</code>) — | |
| The output dimension of the Local Facial Extractor (LFE). This dimension determines the size of the feature | |
| vectors produced by the LFE module, which will be used for subsequent tasks such as face recognition or | |
| tracking.`,name:"LFE_output_dim"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_ff_mult",description:`<strong>LFE_ff_mult</strong> (<code>int</code>, optional, defaults to <code>4</code>) — | |
| The multiplication factor applied to the feed-forward network’s hidden layer size in the Local Facial | |
| Extractor (LFE). A higher value increases the model’s capacity to learn more complex facial feature | |
| transformations, but also increases the computation and memory requirements.`,name:"LFE_ff_mult"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_num_scale",description:`<strong>LFE_num_scale</strong> (<code>int</code>, optional, defaults to <code>5</code>) — | |
| The number of different scales visual feature. A higher value increases the model’s capacity to learn more | |
| complex facial feature transformations, but also increases the computation and memory requirements.`,name:"LFE_num_scale"},{anchor:"diffusers.ConsisIDTransformer3DModel.local_face_scale",description:`<strong>local_face_scale</strong> (<code>float</code>, defaults to <code>1.0</code>) — | |
| A scaling factor used to adjust the importance of local facial features in the model. This can influence | |
| how strongly the model focuses on high frequency face-related content.`,name:"local_face_scale"}],source:"https://github.com/huggingface/diffusers/blob/vr_13813/src/diffusers/models/transformers/consisid_transformer_3d.py#L351"}}),w=new se({props:{name:"forward",anchor:"diffusers.ConsisIDTransformer3DModel.forward",parameters:[{name:"hidden_states",val:": Tensor"},{name:"encoder_hidden_states",val:": Tensor"},{name:"timestep",val:": int | float | torch.LongTensor"},{name:"timestep_cond",val:": torch.Tensor | None = None"},{name:"image_rotary_emb",val:": tuple[torch.Tensor, torch.Tensor] | None = None"},{name:"attention_kwargs",val:": dict[str, typing.Any] | None = None"},{name:"id_cond",val:": torch.Tensor | None = None"},{name:"id_vit_hidden",val:": torch.Tensor | None = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.ConsisIDTransformer3DModel.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_frames, channels, height, width)</code>) — | |
| Input <code>hidden_states</code>.`,name:"hidden_states"},{anchor:"diffusers.ConsisIDTransformer3DModel.forward.encoder_hidden_states",description:`<strong>encoder_hidden_states</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, sequence_len, embed_dims)</code>) — | |
| Conditional embeddings (embeddings computed from the input conditions such as prompts) to use.`,name:"encoder_hidden_states"},{anchor:"diffusers.ConsisIDTransformer3DModel.forward.timestep",description:`<strong>timestep</strong> (<code>torch.LongTensor</code>) — | |
| Used to indicate denoising step.`,name:"timestep"},{anchor:"diffusers.ConsisIDTransformer3DModel.forward.timestep_cond",description:`<strong>timestep_cond</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| Conditional embeddings for timestep. If provided, the embeddings will be summed with the samples passed | |
| through the <code>self.time_embedding</code> layer to obtain the final timestep embeddings.`,name:"timestep_cond"},{anchor:"diffusers.ConsisIDTransformer3DModel.forward.image_rotary_emb",description:`<strong>image_rotary_emb</strong> (<code>tuple</code> of <code>torch.Tensor</code>, <em>optional</em>) — | |
| Pre-computed rotary positional embeddings.`,name:"image_rotary_emb"},{anchor:"diffusers.ConsisIDTransformer3DModel.forward.attention_kwargs",description:`<strong>attention_kwargs</strong> (<code>dict</code>, <em>optional</em>) — | |
| A kwargs dictionary that if specified is passed along to the <code>AttentionProcessor</code> as defined under | |
| <code>self.processor</code> in | |
| <a href="https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention_processor.py" rel="nofollow">diffusers.models.attention_processor</a>.`,name:"attention_kwargs"},{anchor:"diffusers.ConsisIDTransformer3DModel.forward.id_cond",description:`<strong>id_cond</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| The face embedding extracted by the local facial extractor used for identity conditioning.`,name:"id_cond"},{anchor:"diffusers.ConsisIDTransformer3DModel.forward.id_vit_hidden",description:`<strong>id_vit_hidden</strong> (<code>torch.Tensor</code>, <em>optional</em>) — | |
| The ViT hidden states extracted from face images used for identity conditioning.`,name:"id_vit_hidden"},{anchor:"diffusers.ConsisIDTransformer3DModel.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>~models.transformer_2d.Transformer2DModelOutput</code> instead of a plain | |
| tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/vr_13813/src/diffusers/models/transformers/consisid_transformer_3d.py#L623",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>If <code>return_dict</code> is True, an <code>~models.transformer_2d.Transformer2DModelOutput</code> is returned, otherwise a | |
| <code>tuple</code> where the first element is the sample tensor.</p> | |
| `}}),C=new re({props:{title:"Transformer2DModelOutput",local:"diffusers.models.modeling_outputs.Transformer2DModelOutput",headingTag:"h2"}}),L=new se({props:{name:"class diffusers.models.modeling_outputs.Transformer2DModelOutput",anchor:"diffusers.models.modeling_outputs.Transformer2DModelOutput",parameters:[{name:"sample",val:": torch.Tensor"}],parametersDescription:[{anchor:"diffusers.models.modeling_outputs.Transformer2DModelOutput.sample",description:`<strong>sample</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, num_channels, height, width)</code> or <code>(batch size, num_vector_embeds - 1, num_latent_pixels)</code> if <a href="/docs/diffusers/pr_13813/en/api/models/transformer2d#diffusers.Transformer2DModel">Transformer2DModel</a> is discrete) — | |
| The hidden states output conditioned on the <code>encoder_hidden_states</code> input. If discrete, returns probability | |
| distributions for the unnoised latent pixels.`,name:"sample"}],source:"https://github.com/huggingface/diffusers/blob/vr_13813/src/diffusers/models/modeling_outputs.py#L21"}}),$=new be({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/consisid_transformer3d.md"}}),{c(){c=i("meta"),H=s(),z=i("p"),V=s(),m(D.$$.fragment),Z=s(),m(b.$$.fragment),A=s(),v=i("p"),v.innerHTML=ie,W=s(),x=i("p"),x.textContent=de,R=s(),m(y.$$.fragment),O=s(),m(M.$$.fragment),G=s(),a=i("div"),m(I.$$.fragment),ee=s(),E=i("p"),E.innerHTML=ce,oe=s(),T=i("div"),m(w.$$.fragment),te=s(),F=i("p"),F.innerHTML=le,S=s(),m(C.$$.fragment),U=s(),l=i("div"),m(L.$$.fragment),ne=s(),k=i("p"),k.innerHTML=me,B=s(),m($.$$.fragment),X=s(),J=i("p"),this.h()},l(e){const o=ge("svelte-u9bgzb",document.head);c=d(o,"META",{name:!0,content:!0}),o.forEach(t),H=r(e),z=d(e,"P",{}),N(z).forEach(t),V=r(e),f(D.$$.fragment,e),Z=r(e),f(b.$$.fragment,e),A=r(e),v=d(e,"P",{"data-svelte-h":!0}),P(v)!=="svelte-1842u1r"&&(v.innerHTML=ie),W=r(e),x=d(e,"P",{"data-svelte-h":!0}),P(x)!=="svelte-1vuni30"&&(x.textContent=de),R=r(e),f(y.$$.fragment,e),O=r(e),f(M.$$.fragment,e),G=r(e),a=d(e,"DIV",{class:!0});var q=N(a);f(I.$$.fragment,q),ee=r(q),E=d(q,"P",{"data-svelte-h":!0}),P(E)!=="svelte-1m59yg9"&&(E.innerHTML=ce),oe=r(q),T=d(q,"DIV",{class:!0});var Y=N(T);f(w.$$.fragment,Y),te=r(Y),F=d(Y,"P",{"data-svelte-h":!0}),P(F)!=="svelte-gwbmra"&&(F.innerHTML=le),Y.forEach(t),q.forEach(t),S=r(e),f(C.$$.fragment,e),U=r(e),l=d(e,"DIV",{class:!0});var Q=N(l);f(L.$$.fragment,Q),ne=r(Q),k=d(Q,"P",{"data-svelte-h":!0}),P(k)!=="svelte-zeg0js"&&(k.innerHTML=me),Q.forEach(t),B=r(e),f($.$$.fragment,e),X=r(e),J=d(e,"P",{}),N(J).forEach(t),this.h()},h(){j(c,"name","hf:doc:metadata"),j(c,"content",xe),j(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(a,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),j(l,"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,o){u(document.head,c),n(e,H,o),n(e,z,o),n(e,V,o),p(D,e,o),n(e,Z,o),p(b,e,o),n(e,A,o),n(e,v,o),n(e,W,o),n(e,x,o),n(e,R,o),p(y,e,o),n(e,O,o),p(M,e,o),n(e,G,o),n(e,a,o),p(I,a,null),u(a,ee),u(a,E),u(a,oe),u(a,T),p(w,T,null),u(T,te),u(T,F),n(e,S,o),p(C,e,o),n(e,U,o),n(e,l,o),p(L,l,null),u(l,ne),u(l,k),n(e,B,o),p($,e,o),n(e,X,o),n(e,J,o),K=!0},p:ue,i(e){K||(h(D.$$.fragment,e),h(b.$$.fragment,e),h(y.$$.fragment,e),h(M.$$.fragment,e),h(I.$$.fragment,e),h(w.$$.fragment,e),h(C.$$.fragment,e),h(L.$$.fragment,e),h($.$$.fragment,e),K=!0)},o(e){_(D.$$.fragment,e),_(b.$$.fragment,e),_(y.$$.fragment,e),_(M.$$.fragment,e),_(I.$$.fragment,e),_(w.$$.fragment,e),_(C.$$.fragment,e),_(L.$$.fragment,e),_($.$$.fragment,e),K=!1},d(e){e&&(t(H),t(z),t(V),t(Z),t(A),t(v),t(W),t(x),t(R),t(O),t(G),t(a),t(S),t(U),t(l),t(B),t(X),t(J)),t(c),g(D,e),g(b,e),g(y,e),g(M,e),g(I),g(w),g(C,e),g(L),g($,e)}}}const xe='{"title":"ConsisIDTransformer3DModel","local":"consisidtransformer3dmodel","sections":[{"title":"ConsisIDTransformer3DModel","local":"diffusers.ConsisIDTransformer3DModel","sections":[],"depth":2},{"title":"Transformer2DModelOutput","local":"diffusers.models.modeling_outputs.Transformer2DModelOutput","sections":[],"depth":2}],"depth":1}';function ye(ae){return pe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ee extends he{constructor(c){super(),_e(this,c,ye,ve,fe,{})}}export{Ee as component}; | |
Xet Storage Details
- Size:
- 25.3 kB
- Xet hash:
- e26da23e9bc3544a630762468dd0c77c4c6d11c08d1d830afc770f3051777eb8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.