import{s as ke,o as je,n as Le}from"../chunks/scheduler.8c3d61f6.js";import{S as Ie,i as Ge,g as c,s as i,r as u,A as Ve,h as f,f as s,c as d,j as M,u as p,x as D,k as F,y as t,a as m,v as _,d as h,t as g,w as A}from"../chunks/index.da70eac4.js";import{T as Fe}from"../chunks/Tip.1d9b8c37.js";import{D as Y}from"../chunks/Docstring.6b390b9a.js";import{H as Ce,E as ze}from"../chunks/EditOnGithub.1e64e623.js";function He(E){let o,P="This API is 🧪 experimental.";return{c(){o=c("p"),o.textContent=P},l(l){o=f(l,"P",{"data-svelte-h":!0}),D(o)!=="svelte-89q1io"&&(o.textContent=P)},m(l,v){m(l,o,v)},p:Le,d(l){l&&s(o)}}}function Ne(E){let o,P="This API is 🧪 experimental.";return{c(){o=c("p"),o.textContent=P},l(l){o=f(l,"P",{"data-svelte-h":!0}),D(o)!=="svelte-89q1io"&&(o.textContent=P)},m(l,v){m(l,o,v)},p:Le,d(l){l&&s(o)}}}function Xe(E){let o,P,l,v,C,ee,L,De='The Transformer model introduced in <a href="https://hf.co/papers/2403.03206" rel="nofollow">Stable Diffusion 3</a>. Its novelty lies in the MMDiT transformer block.',te,k,oe,n,j,ae,K,ve="The Transformer model introduced in Stable Diffusion 3.",ce,q,Te='Reference: <a href="https://arxiv.org/abs/2403.03206" rel="nofollow">https://arxiv.org/abs/2403.03206</a>',fe,T,I,le,J,xe=`Sets the attention processor to use <a href="https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers" rel="nofollow">feed forward
chunking</a>.`,me,x,G,ue,R,ye='The <a href="/docs/diffusers/main/en/api/models/sd3_transformer2d#diffusers.SD3Transformer2DModel">SD3Transformer2DModel</a> forward method.',pe,$,V,_e,U,Se=`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.`,he,y,ge,S,z,Ae,O,we="Sets the attention processor to use to compute attention.",Pe,b,H,$e,Q,Me="Disables the fused QKV projection if enabled.",be,w,se,N,re,Z,ne;return C=new Ce({props:{title:"SD3 Transformer Model",local:"sd3-transformer-model",headingTag:"h1"}}),k=new Ce({props:{title:"SD3Transformer2DModel",local:"diffusers.SD3Transformer2DModel",headingTag:"h2"}}),j=new Y({props:{name:"class diffusers.SD3Transformer2DModel",anchor:"diffusers.SD3Transformer2DModel",parameters:[{name:"sample_size",val:": int = 128"},{name:"patch_size",val:": int = 2"},{name:"in_channels",val:": int = 16"},{name:"num_layers",val:": int = 18"},{name:"attention_head_dim",val:": int = 64"},{name:"num_attention_heads",val:": int = 18"},{name:"joint_attention_dim",val:": int = 4096"},{name:"caption_projection_dim",val:": int = 1152"},{name:"pooled_projection_dim",val:": int = 2048"},{name:"out_channels",val:": int = 16"},{name:"pos_embed_max_size",val:": int = 96"},{name:"dual_attention_layers",val:": typing.Tuple[int, ...] = ()"},{name:"qk_norm",val:": typing.Optional[str] = None"}],parametersDescription:[{anchor:"diffusers.SD3Transformer2DModel.sample_size",description:`<strong>sample_size</strong> (<code>int</code>) &#x2014; The width of the latent images. This is fixed during training since
it is used to learn a number of position embeddings.`,name:"sample_size"},{anchor:"diffusers.SD3Transformer2DModel.patch_size",description:"<strong>patch_size</strong> (<code>int</code>) &#x2014; Patch size to turn the input data into small patches.",name:"patch_size"},{anchor:"diffusers.SD3Transformer2DModel.in_channels",description:"<strong>in_channels</strong> (<code>int</code>, <em>optional</em>, defaults to 16) &#x2014; The number of channels in the input.",name:"in_channels"},{anchor:"diffusers.SD3Transformer2DModel.num_layers",description:"<strong>num_layers</strong> (<code>int</code>, <em>optional</em>, defaults to 18) &#x2014; The number of layers of Transformer blocks to use.",name:"num_layers"},{anchor:"diffusers.SD3Transformer2DModel.attention_head_dim",description:"<strong>attention_head_dim</strong> (<code>int</code>, <em>optional</em>, defaults to 64) &#x2014; The number of channels in each head.",name:"attention_head_dim"},{anchor:"diffusers.SD3Transformer2DModel.num_attention_heads",description:"<strong>num_attention_heads</strong> (<code>int</code>, <em>optional</em>, defaults to 18) &#x2014; The number of heads to use for multi-head attention.",name:"num_attention_heads"},{anchor:"diffusers.SD3Transformer2DModel.cross_attention_dim",description:"<strong>cross_attention_dim</strong> (<code>int</code>, <em>optional</em>) &#x2014; The number of <code>encoder_hidden_states</code> dimensions to use.",name:"cross_attention_dim"},{anchor:"diffusers.SD3Transformer2DModel.caption_projection_dim",description:"<strong>caption_projection_dim</strong> (<code>int</code>) &#x2014; Number of dimensions to use when projecting the <code>encoder_hidden_states</code>.",name:"caption_projection_dim"},{anchor:"diffusers.SD3Transformer2DModel.pooled_projection_dim",description:"<strong>pooled_projection_dim</strong> (<code>int</code>) &#x2014; Number of dimensions to use when projecting the <code>pooled_projections</code>.",name:"pooled_projection_dim"},{anchor:"diffusers.SD3Transformer2DModel.out_channels",description:"<strong>out_channels</strong> (<code>int</code>, defaults to 16) &#x2014; Number of output channels.",name:"out_channels"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/transformers/transformer_sd3.py#L106"}}),I=new Y({props:{name:"enable_forward_chunking",anchor:"diffusers.SD3Transformer2DModel.enable_forward_chunking",parameters:[{name:"chunk_size",val:": typing.Optional[int] = None"},{name:"dim",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.SD3Transformer2DModel.enable_forward_chunking.chunk_size",description:`<strong>chunk_size</strong> (<code>int</code>, <em>optional</em>) &#x2014;
The chunk size of the feed-forward layers. If not specified, will run feed-forward layer individually
over each tensor of dim=<code>dim</code>.`,name:"chunk_size"},{anchor:"diffusers.SD3Transformer2DModel.enable_forward_chunking.dim",description:`<strong>dim</strong> (<code>int</code>, <em>optional</em>, defaults to <code>0</code>) &#x2014;
The dimension over which the feed-forward computation should be chunked. Choose between dim=0 (batch)
or dim=1 (sequence length).`,name:"dim"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/transformers/transformer_sd3.py#L190"}}),G=new Y({props:{name:"forward",anchor:"diffusers.SD3Transformer2DModel.forward",parameters:[{name:"hidden_states",val:": FloatTensor"},{name:"encoder_hidden_states",val:": FloatTensor = None"},{name:"pooled_projections",val:": FloatTensor = None"},{name:"timestep",val:": LongTensor = None"},{name:"block_controlnet_hidden_states",val:": typing.List = None"},{name:"joint_attention_kwargs",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"return_dict",val:": bool = True"},{name:"skip_layers",val:": typing.Optional[typing.List[int]] = None"}],parametersDescription:[{anchor:"diffusers.SD3Transformer2DModel.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch size, channel, height, width)</code>) &#x2014;
Input <code>hidden_states</code>.`,name:"hidden_states"},{anchor:"diffusers.SD3Transformer2DModel.forward.encoder_hidden_states",description:`<strong>encoder_hidden_states</strong> (<code>torch.FloatTensor</code> of shape <code>(batch size, sequence_len, embed_dims)</code>) &#x2014;
Conditional embeddings (embeddings computed from the input conditions such as prompts) to use.`,name:"encoder_hidden_states"},{anchor:"diffusers.SD3Transformer2DModel.forward.pooled_projections",description:`<strong>pooled_projections</strong> (<code>torch.FloatTensor</code> of shape <code>(batch_size, projection_dim)</code>) &#x2014;
Embeddings projected from the embeddings of input conditions.`,name:"pooled_projections"},{anchor:"diffusers.SD3Transformer2DModel.forward.timestep",description:`<strong>timestep</strong> (<code>torch.LongTensor</code>) &#x2014;
Used to indicate denoising step.`,name:"timestep"},{anchor:"diffusers.SD3Transformer2DModel.forward.block_controlnet_hidden_states",description:`<strong>block_controlnet_hidden_states</strong> (<code>list</code> of <code>torch.Tensor</code>) &#x2014;
A list of tensors that if specified are added to the residuals of transformer blocks.`,name:"block_controlnet_hidden_states"},{anchor:"diffusers.SD3Transformer2DModel.forward.joint_attention_kwargs",description:`<strong>joint_attention_kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014;
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:"joint_attention_kwargs"},{anchor:"diffusers.SD3Transformer2DModel.forward.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.transformer_2d.Transformer2DModelOutput</code> instead of a plain
tuple.`,name:"return_dict"},{anchor:"diffusers.SD3Transformer2DModel.forward.skip_layers",description:`<strong>skip_layers</strong> (<code>list</code> of <code>int</code>, <em>optional</em>) &#x2014;
A list of layer indices to skip during the forward pass.`,name:"skip_layers"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/transformers/transformer_sd3.py#L335",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>
`}}),V=new Y({props:{name:"fuse_qkv_projections",anchor:"diffusers.SD3Transformer2DModel.fuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/transformers/transformer_sd3.py#L292"}}),y=new Fe({props:{warning:!0,$$slots:{default:[He]},$$scope:{ctx:E}}}),z=new Y({props:{name:"set_attn_processor",anchor:"diffusers.SD3Transformer2DModel.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.SD3IPAdapterJointAttnProcessor2_0, 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.SD3IPAdapterJointAttnProcessor2_0, 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.SD3Transformer2DModel.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/main/src/diffusers/models/transformers/transformer_sd3.py#L257"}}),H=new Y({props:{name:"unfuse_qkv_projections",anchor:"diffusers.SD3Transformer2DModel.unfuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/transformers/transformer_sd3.py#L318"}}),w=new Fe({props:{warning:!0,$$slots:{default:[Ne]},$$scope:{ctx:E}}}),N=new ze({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/sd3_transformer2d.md"}}),{c(){o=c("meta"),P=i(),l=c("p"),v=i(),u(C.$$.fragment),ee=i(),L=c("p"),L.innerHTML=De,te=i(),u(k.$$.fragment),oe=i(),n=c("div"),u(j.$$.fragment),ae=i(),K=c("p"),K.textContent=ve,ce=i(),q=c("p"),q.innerHTML=Te,fe=i(),T=c("div"),u(I.$$.fragment),le=i(),J=c("p"),J.innerHTML=xe,me=i(),x=c("div"),u(G.$$.fragment),ue=i(),R=c("p"),R.innerHTML=ye,pe=i(),$=c("div"),u(V.$$.fragment),_e=i(),U=c("p"),U.textContent=Se,he=i(),u(y.$$.fragment),ge=i(),S=c("div"),u(z.$$.fragment),Ae=i(),O=c("p"),O.textContent=we,Pe=i(),b=c("div"),u(H.$$.fragment),$e=i(),Q=c("p"),Q.textContent=Me,be=i(),u(w.$$.fragment),se=i(),u(N.$$.fragment),re=i(),Z=c("p"),this.h()},l(e){const r=Ve("svelte-u9bgzb",document.head);o=f(r,"META",{name:!0,content:!0}),r.forEach(s),P=d(e),l=f(e,"P",{}),M(l).forEach(s),v=d(e),p(C.$$.fragment,e),ee=d(e),L=f(e,"P",{"data-svelte-h":!0}),D(L)!=="svelte-hv1bl6"&&(L.innerHTML=De),te=d(e),p(k.$$.fragment,e),oe=d(e),n=f(e,"DIV",{class:!0});var a=M(n);p(j.$$.fragment,a),ae=d(a),K=f(a,"P",{"data-svelte-h":!0}),D(K)!=="svelte-1f9jxt2"&&(K.textContent=ve),ce=d(a),q=f(a,"P",{"data-svelte-h":!0}),D(q)!=="svelte-5lf8o6"&&(q.innerHTML=Te),fe=d(a),T=f(a,"DIV",{class:!0});var X=M(T);p(I.$$.fragment,X),le=d(X),J=f(X,"P",{"data-svelte-h":!0}),D(J)!=="svelte-2m23sy"&&(J.innerHTML=xe),X.forEach(s),me=d(a),x=f(a,"DIV",{class:!0});var ie=M(x);p(G.$$.fragment,ie),ue=d(ie),R=f(ie,"P",{"data-svelte-h":!0}),D(R)!=="svelte-1fdt9lr"&&(R.innerHTML=ye),ie.forEach(s),pe=d(a),$=f(a,"DIV",{class:!0});var W=M($);p(V.$$.fragment,W),_e=d(W),U=f(W,"P",{"data-svelte-h":!0}),D(U)!=="svelte-1254b9i"&&(U.textContent=Se),he=d(W),p(y.$$.fragment,W),W.forEach(s),ge=d(a),S=f(a,"DIV",{class:!0});var de=M(S);p(z.$$.fragment,de),Ae=d(de),O=f(de,"P",{"data-svelte-h":!0}),D(O)!=="svelte-1o77hl2"&&(O.textContent=we),de.forEach(s),Pe=d(a),b=f(a,"DIV",{class:!0});var B=M(b);p(H.$$.fragment,B),$e=d(B),Q=f(B,"P",{"data-svelte-h":!0}),D(Q)!=="svelte-1vhtc74"&&(Q.textContent=Me),be=d(B),p(w.$$.fragment,B),B.forEach(s),a.forEach(s),se=d(e),p(N.$$.fragment,e),re=d(e),Z=f(e,"P",{}),M(Z).forEach(s),this.h()},h(){F(o,"name","hf:doc:metadata"),F(o,"content",Ee),F(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),F(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),F($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),F(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),F(b,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),F(n,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,r){t(document.head,o),m(e,P,r),m(e,l,r),m(e,v,r),_(C,e,r),m(e,ee,r),m(e,L,r),m(e,te,r),_(k,e,r),m(e,oe,r),m(e,n,r),_(j,n,null),t(n,ae),t(n,K),t(n,ce),t(n,q),t(n,fe),t(n,T),_(I,T,null),t(T,le),t(T,J),t(n,me),t(n,x),_(G,x,null),t(x,ue),t(x,R),t(n,pe),t(n,$),_(V,$,null),t($,_e),t($,U),t($,he),_(y,$,null),t(n,ge),t(n,S),_(z,S,null),t(S,Ae),t(S,O),t(n,Pe),t(n,b),_(H,b,null),t(b,$e),t(b,Q),t(b,be),_(w,b,null),m(e,se,r),_(N,e,r),m(e,re,r),m(e,Z,r),ne=!0},p(e,[r]){const a={};r&2&&(a.$$scope={dirty:r,ctx:e}),y.$set(a);const X={};r&2&&(X.$$scope={dirty:r,ctx:e}),w.$set(X)},i(e){ne||(h(C.$$.fragment,e),h(k.$$.fragment,e),h(j.$$.fragment,e),h(I.$$.fragment,e),h(G.$$.fragment,e),h(V.$$.fragment,e),h(y.$$.fragment,e),h(z.$$.fragment,e),h(H.$$.fragment,e),h(w.$$.fragment,e),h(N.$$.fragment,e),ne=!0)},o(e){g(C.$$.fragment,e),g(k.$$.fragment,e),g(j.$$.fragment,e),g(I.$$.fragment,e),g(G.$$.fragment,e),g(V.$$.fragment,e),g(y.$$.fragment,e),g(z.$$.fragment,e),g(H.$$.fragment,e),g(w.$$.fragment,e),g(N.$$.fragment,e),ne=!1},d(e){e&&(s(P),s(l),s(v),s(ee),s(L),s(te),s(oe),s(n),s(se),s(re),s(Z)),s(o),A(C,e),A(k,e),A(j),A(I),A(G),A(V),A(y),A(z),A(H),A(w),A(N,e)}}}const Ee='{"title":"SD3 Transformer Model","local":"sd3-transformer-model","sections":[{"title":"SD3Transformer2DModel","local":"diffusers.SD3Transformer2DModel","sections":[],"depth":2}],"depth":1}';function Ke(E){return je(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Qe extends Ie{constructor(o){super(),Ge(this,o,Ke,Xe,ke,{})}}export{Qe as component};
