import{s as Fe,o as we,n as Ie}from"../chunks/scheduler.8c3d61f6.js";import{S as Le,i as Ee,g as c,s as r,r as u,A as Ge,h as l,f as o,c as n,j as X,u as p,x as $,k as H,y as i,a,v as _,d as h,t as g,w as A}from"../chunks/index.da70eac4.js";import{T as Me}from"../chunks/Tip.1d9b8c37.js";import{D as B}from"../chunks/Docstring.6b390b9a.js";import{C as Ve}from"../chunks/CodeBlock.00a903b3.js";import{H as be,E as ke}from"../chunks/EditOnGithub.1e64e623.js";function Se(R){let t,P="This API is 🧪 experimental.";return{c(){t=c("p"),t.textContent=P},l(d){t=l(d,"P",{"data-svelte-h":!0}),$(t)!=="svelte-89q1io"&&(t.textContent=P)},m(d,x){a(d,t,x)},p:Ie,d(d){d&&o(t)}}}function Je(R){let t,P="This API is 🧪 experimental.";return{c(){t=c("p"),t.textContent=P},l(d){t=l(d,"P",{"data-svelte-h":!0}),$(t)!=="svelte-89q1io"&&(t.textContent=P)},m(d,x){a(d,t,x)},p:Ie,d(d){d&&o(t)}}}function qe(R){let t,P,d,x,I,Q,F,De='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://arxiv.org/pdf/2411.17440" rel="nofollow">Identity-Preserving Text-to-Video Generation by Frequency Decomposition</a> by Peking University &amp; University of Rochester &amp; etc.',Y,w,ve="The model can be loaded with the following code snippet.",ee,L,se,E,oe,f,G,le,z,Te='A Transformer model for video-like data in <a href="https://github.com/PKU-YuanGroup/ConsisID" rel="nofollow">ConsisID</a>.',fe,b,V,me,K,$e=`Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value)
are fused. For cross-attention modules, key and value projection matrices are fused.`,ue,y,pe,C,k,_e,N,xe="Sets the attention processor to use to compute attention.",he,D,S,ge,U,ye="Disables the fused QKV projection if enabled.",Ae,M,te,J,re,v,q,Pe,Z,Ce='The output of <a href="/docs/diffusers/pr_10140/en/api/models/transformer2d#diffusers.Transformer2DModel">Transformer2DModel</a>.',ne,j,ie,O,ae;return I=new be({props:{title:"ConsisIDTransformer3DModel",local:"consisidtransformer3dmodel",headingTag:"h1"}}),L=new Ve({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">&quot;BestWishYsh/ConsisID-preview&quot;</span>, subfolder=<span class="hljs-string">&quot;transformer&quot;</span>, torch_dtype=torch.bfloat16).to(<span class="hljs-string">&quot;cuda&quot;</span>)`,wrap:!1}}),E=new be({props:{title:"ConsisIDTransformer3DModel",local:"diffusers.ConsisIDTransformer3DModel",headingTag:"h2"}}),G=new B({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:": typing.Optional[int] = 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 = 1"},{name:"LFE_heads",val:": int = 16"},{name:"LFE_num_tokens",val:": int = 32"},{name:"LFE_output_dim",val:": int = 2048"},{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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>&quot;gelu-approximate&quot;</code>) &#x2014;
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>&quot;silu&quot;</code>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>) &#x2014;
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>1</code>) &#x2014;
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.LFE_heads",description:`<strong>LFE_heads</strong> (<code>int</code>, defaults to <code>16</code>) &#x2014;
The number of attention heads used in the Local Facial Extractor (LFE) module. More heads may improve the
ability to capture diverse features, but can also increase computational complexity.`,name:"LFE_heads"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_num_tokens",description:`<strong>LFE_num_tokens</strong> (<code>int</code>, defaults to <code>32</code>) &#x2014;
The number of tokens to use in the Local Facial Extractor (LFE). This module is responsible for capturing
high frequency representations of the face.`,name:"LFE_num_tokens"},{anchor:"diffusers.ConsisIDTransformer3DModel.LFE_output_dim",description:`<strong>LFE_output_dim</strong> (<code>int</code>, defaults to <code>2048</code>) &#x2014;
The output dimension of the Local Facial Extractor (LFE) module. This dimension determines the size of the
feature vectors produced by the LFE module.`,name:"LFE_output_dim"},{anchor:"diffusers.ConsisIDTransformer3DModel.local_face_scale",description:`<strong>local_face_scale</strong> (<code>float</code>, defaults to <code>1.0</code>) &#x2014;
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_10140/src/diffusers/models/transformers/consisid_transformer_3d.py#L460"}}),V=new B({props:{name:"fuse_qkv_projections",anchor:"diffusers.ConsisIDTransformer3DModel.fuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10140/src/diffusers/models/transformers/consisid_transformer_3d.py#L744"}}),y=new Me({props:{warning:!0,$$slots:{default:[Se]},$$scope:{ctx:R}}}),k=new B({props:{name:"set_attn_processor",anchor:"diffusers.ConsisIDTransformer3DModel.set_attn_processor",parameters:[{name:"processor",val:": typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.JointAttnProcessor2_0, diffusers.models.attention_processor.PAGJointAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGJointAttnProcessor2_0, diffusers.models.attention_processor.FusedJointAttnProcessor2_0, diffusers.models.attention_processor.AllegroAttnProcessor2_0, diffusers.models.attention_processor.AuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FusedAuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.CogVideoXAttnProcessor2_0, diffusers.models.attention_processor.FusedCogVideoXAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.XLAFlashAttnProcessor2_0, diffusers.models.attention_processor.AttnProcessorNPU, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.MochiVaeAttnProcessor2_0, diffusers.models.attention_processor.MochiAttnProcessor2_0, diffusers.models.attention_processor.StableAudioAttnProcessor2_0, diffusers.models.attention_processor.HunyuanAttnProcessor2_0, diffusers.models.attention_processor.FusedHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.LuminaAttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.SanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGSanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGIdentitySanaLinearAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleLinearAttention, diffusers.models.attention_processor.SanaMultiscaleAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleAttentionProjection, diffusers.models.attention_processor.IPAdapterAttnProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor2_0, diffusers.models.attention_processor.IPAdapterXFormersAttnProcessor, diffusers.models.attention_processor.PAGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor, typing.Dict[str, typing.Union[diffusers.models.attention_processor.AttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor, diffusers.models.attention_processor.AttnAddedKVProcessor2_0, diffusers.models.attention_processor.JointAttnProcessor2_0, diffusers.models.attention_processor.PAGJointAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGJointAttnProcessor2_0, diffusers.models.attention_processor.FusedJointAttnProcessor2_0, diffusers.models.attention_processor.AllegroAttnProcessor2_0, diffusers.models.attention_processor.AuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FusedAuraFlowAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0, diffusers.models.attention_processor.FluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0, diffusers.models.attention_processor.FusedFluxAttnProcessor2_0_NPU, diffusers.models.attention_processor.CogVideoXAttnProcessor2_0, diffusers.models.attention_processor.FusedCogVideoXAttnProcessor2_0, diffusers.models.attention_processor.XFormersAttnAddedKVProcessor, diffusers.models.attention_processor.XFormersAttnProcessor, diffusers.models.attention_processor.XLAFlashAttnProcessor2_0, diffusers.models.attention_processor.AttnProcessorNPU, diffusers.models.attention_processor.AttnProcessor2_0, diffusers.models.attention_processor.MochiVaeAttnProcessor2_0, diffusers.models.attention_processor.MochiAttnProcessor2_0, diffusers.models.attention_processor.StableAudioAttnProcessor2_0, diffusers.models.attention_processor.HunyuanAttnProcessor2_0, diffusers.models.attention_processor.FusedHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGHunyuanAttnProcessor2_0, diffusers.models.attention_processor.LuminaAttnProcessor2_0, diffusers.models.attention_processor.FusedAttnProcessor2_0, diffusers.models.attention_processor.CustomDiffusionXFormersAttnProcessor, diffusers.models.attention_processor.CustomDiffusionAttnProcessor2_0, diffusers.models.attention_processor.SlicedAttnProcessor, diffusers.models.attention_processor.SlicedAttnAddedKVProcessor, diffusers.models.attention_processor.SanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGSanaLinearAttnProcessor2_0, diffusers.models.attention_processor.PAGIdentitySanaLinearAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleLinearAttention, diffusers.models.attention_processor.SanaMultiscaleAttnProcessor2_0, diffusers.models.attention_processor.SanaMultiscaleAttentionProjection, diffusers.models.attention_processor.IPAdapterAttnProcessor, diffusers.models.attention_processor.IPAdapterAttnProcessor2_0, diffusers.models.attention_processor.IPAdapterXFormersAttnProcessor, diffusers.models.attention_processor.PAGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.PAGCFGIdentitySelfAttnProcessor2_0, diffusers.models.attention_processor.LoRAAttnProcessor, diffusers.models.attention_processor.LoRAAttnProcessor2_0, diffusers.models.attention_processor.LoRAXFormersAttnProcessor, diffusers.models.attention_processor.LoRAAttnAddedKVProcessor]]]"}],parametersDescription:[{anchor:"diffusers.ConsisIDTransformer3DModel.set_attn_processor.processor",description:`<strong>processor</strong> (<code>dict</code> of <code>AttentionProcessor</code> or only <code>AttentionProcessor</code>) &#x2014;
The instantiated processor class or a dictionary of processor classes that will be set as the processor
for <strong>all</strong> <code>Attention</code> layers.</p>
<p>If <code>processor</code> is a dict, the key needs to define the path to the corresponding cross attention
processor. This is strongly recommended when setting trainable attention processors.`,name:"processor"}],source:"https://github.com/huggingface/diffusers/blob/vr_10140/src/diffusers/models/transformers/consisid_transformer_3d.py#L709"}}),S=new B({props:{name:"unfuse_qkv_projections",anchor:"diffusers.ConsisIDTransformer3DModel.unfuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10140/src/diffusers/models/transformers/consisid_transformer_3d.py#L770"}}),M=new Me({props:{warning:!0,$$slots:{default:[Je]},$$scope:{ctx:R}}}),J=new be({props:{title:"Transformer2DModelOutput",local:"diffusers.models.modeling_outputs.Transformer2DModelOutput",headingTag:"h2"}}),q=new B({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_10140/en/api/models/transformer2d#diffusers.Transformer2DModel">Transformer2DModel</a> is discrete) &#x2014;
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_10140/src/diffusers/models/modeling_outputs.py#L20"}}),j=new ke({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/consisid_transformer3d.md"}}),{c(){t=c("meta"),P=r(),d=c("p"),x=r(),u(I.$$.fragment),Q=r(),F=c("p"),F.innerHTML=De,Y=r(),w=c("p"),w.textContent=ve,ee=r(),u(L.$$.fragment),se=r(),u(E.$$.fragment),oe=r(),f=c("div"),u(G.$$.fragment),le=r(),z=c("p"),z.innerHTML=Te,fe=r(),b=c("div"),u(V.$$.fragment),me=r(),K=c("p"),K.textContent=$e,ue=r(),u(y.$$.fragment),pe=r(),C=c("div"),u(k.$$.fragment),_e=r(),N=c("p"),N.textContent=xe,he=r(),D=c("div"),u(S.$$.fragment),ge=r(),U=c("p"),U.textContent=ye,Ae=r(),u(M.$$.fragment),te=r(),u(J.$$.fragment),re=r(),v=c("div"),u(q.$$.fragment),Pe=r(),Z=c("p"),Z.innerHTML=Ce,ne=r(),u(j.$$.fragment),ie=r(),O=c("p"),this.h()},l(e){const s=Ge("svelte-u9bgzb",document.head);t=l(s,"META",{name:!0,content:!0}),s.forEach(o),P=n(e),d=l(e,"P",{}),X(d).forEach(o),x=n(e),p(I.$$.fragment,e),Q=n(e),F=l(e,"P",{"data-svelte-h":!0}),$(F)!=="svelte-137h1ge"&&(F.innerHTML=De),Y=n(e),w=l(e,"P",{"data-svelte-h":!0}),$(w)!=="svelte-1vuni30"&&(w.textContent=ve),ee=n(e),p(L.$$.fragment,e),se=n(e),p(E.$$.fragment,e),oe=n(e),f=l(e,"DIV",{class:!0});var m=X(f);p(G.$$.fragment,m),le=n(m),z=l(m,"P",{"data-svelte-h":!0}),$(z)!=="svelte-1m59yg9"&&(z.innerHTML=Te),fe=n(m),b=l(m,"DIV",{class:!0});var T=X(b);p(V.$$.fragment,T),me=n(T),K=l(T,"P",{"data-svelte-h":!0}),$(K)!=="svelte-1254b9i"&&(K.textContent=$e),ue=n(T),p(y.$$.fragment,T),T.forEach(o),pe=n(m),C=l(m,"DIV",{class:!0});var de=X(C);p(k.$$.fragment,de),_e=n(de),N=l(de,"P",{"data-svelte-h":!0}),$(N)!=="svelte-1o77hl2"&&(N.textContent=xe),de.forEach(o),he=n(m),D=l(m,"DIV",{class:!0});var W=X(D);p(S.$$.fragment,W),ge=n(W),U=l(W,"P",{"data-svelte-h":!0}),$(U)!=="svelte-1vhtc74"&&(U.textContent=ye),Ae=n(W),p(M.$$.fragment,W),W.forEach(o),m.forEach(o),te=n(e),p(J.$$.fragment,e),re=n(e),v=l(e,"DIV",{class:!0});var ce=X(v);p(q.$$.fragment,ce),Pe=n(ce),Z=l(ce,"P",{"data-svelte-h":!0}),$(Z)!=="svelte-co3w8k"&&(Z.innerHTML=Ce),ce.forEach(o),ne=n(e),p(j.$$.fragment,e),ie=n(e),O=l(e,"P",{}),X(O).forEach(o),this.h()},h(){H(t,"name","hf:doc:metadata"),H(t,"content",je),H(b,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),H(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),H(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),H(f,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),H(v,"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,s){i(document.head,t),a(e,P,s),a(e,d,s),a(e,x,s),_(I,e,s),a(e,Q,s),a(e,F,s),a(e,Y,s),a(e,w,s),a(e,ee,s),_(L,e,s),a(e,se,s),_(E,e,s),a(e,oe,s),a(e,f,s),_(G,f,null),i(f,le),i(f,z),i(f,fe),i(f,b),_(V,b,null),i(b,me),i(b,K),i(b,ue),_(y,b,null),i(f,pe),i(f,C),_(k,C,null),i(C,_e),i(C,N),i(f,he),i(f,D),_(S,D,null),i(D,ge),i(D,U),i(D,Ae),_(M,D,null),a(e,te,s),_(J,e,s),a(e,re,s),a(e,v,s),_(q,v,null),i(v,Pe),i(v,Z),a(e,ne,s),_(j,e,s),a(e,ie,s),a(e,O,s),ae=!0},p(e,[s]){const m={};s&2&&(m.$$scope={dirty:s,ctx:e}),y.$set(m);const T={};s&2&&(T.$$scope={dirty:s,ctx:e}),M.$set(T)},i(e){ae||(h(I.$$.fragment,e),h(L.$$.fragment,e),h(E.$$.fragment,e),h(G.$$.fragment,e),h(V.$$.fragment,e),h(y.$$.fragment,e),h(k.$$.fragment,e),h(S.$$.fragment,e),h(M.$$.fragment,e),h(J.$$.fragment,e),h(q.$$.fragment,e),h(j.$$.fragment,e),ae=!0)},o(e){g(I.$$.fragment,e),g(L.$$.fragment,e),g(E.$$.fragment,e),g(G.$$.fragment,e),g(V.$$.fragment,e),g(y.$$.fragment,e),g(k.$$.fragment,e),g(S.$$.fragment,e),g(M.$$.fragment,e),g(J.$$.fragment,e),g(q.$$.fragment,e),g(j.$$.fragment,e),ae=!1},d(e){e&&(o(P),o(d),o(x),o(Q),o(F),o(Y),o(w),o(ee),o(se),o(oe),o(f),o(te),o(re),o(v),o(ne),o(ie),o(O)),o(t),A(I,e),A(L,e),A(E,e),A(G),A(V),A(y),A(k),A(S),A(M),A(J,e),A(q),A(j,e)}}}const je='{"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 Xe(R){return we(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ze extends Le{constructor(t){super(),Ee(this,t,Xe,qe,Fe,{})}}export{Ze as component};
