import{s as Xe,n as Qe,o as Be}from"../chunks/scheduler.53228c21.js";import{S as Fe,i as Ae,e as d,s as n,c,h as Ye,a,d as o,b as r,f as x,g as m,j as _,k as y,l as i,m as s,n as f,t as p,o as u,p as h}from"../chunks/index.100fac89.js";import{C as Ke}from"../chunks/CopyLLMTxtMenu.999d3d86.js";import{D as K}from"../chunks/Docstring.46d0934e.js";import{C as et}from"../chunks/CodeBlock.d30a6509.js";import{H as $e,E as tt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.d27ae4df.js";function ot(Le){let $,oe,ee,ne,T,re,w,se,N,Ze="SD3ControlNetModel is an implementation of ControlNet for Stable Diffusion 3.",ie,D,qe='The ControlNet model was introduced in <a href="https://huggingface.co/papers/2302.05543" rel="nofollow">Adding Conditional Control to Text-to-Image Diffusion Models</a> by Lvmin Zhang, Anyi Rao, Maneesh Agrawala. It provides a greater degree of control over text-to-image generation by conditioning the model on additional inputs such as edge maps, depth maps, segmentation maps, and keypoints for pose detection.',de,S,Ee="The abstract from the paper is:",ae,k,Re="<em>We present ControlNet, a neural network architecture to add spatial conditioning controls to large, pretrained text-to-image diffusion models. ControlNet locks the production-ready large diffusion models, and reuses their deep and robust encoding layers pretrained with billions of images as a strong backbone to learn a diverse set of conditional controls. The neural architecture is connected with “zero convolutions” (zero-initialized convolution layers) that progressively grow the parameters from zero and ensure that no harmful noise could affect the finetuning. We test various conditioning controls, eg, edges, depth, segmentation, human pose, etc, with Stable Diffusion, using single or multiple conditions, with or without prompts. We show that the training of ControlNets is robust with small (&lt;50k) and large (&gt;1m) datasets. Extensive results show that ControlNet may facilitate wider applications to control image diffusion models.</em>",le,j,ce,z,Ue='By default the <a href="/docs/diffusers/main/en/api/models/controlnet_sd3#diffusers.SD3ControlNetModel">SD3ControlNetModel</a> should be loaded with <a href="/docs/diffusers/main/en/api/models/overview#diffusers.ModelMixin.from_pretrained">from_pretrained()</a>.',me,L,fe,Z,pe,l,q,Ce,J,He='ControlNet model for <a href="https://huggingface.co/papers/2403.03206" rel="nofollow">Stable Diffusion 3</a>.',Me,C,E,xe,X,Pe=`Sets the attention processor to use <a href="https://huggingface.co/blog/reformer#2-chunked-feed-forward-layers" rel="nofollow">feed forward
chunking</a>.`,Te,M,R,we,Q,Ie='The <a href="/docs/diffusers/main/en/api/models/sd3_transformer2d#diffusers.SD3Transformer2DModel">SD3Transformer2DModel</a> forward method.',Ne,b,U,De,B,Oe=`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.`,Se,H,Ge="<p>&gt; This API is 🧪 experimental.</p>",ke,v,P,je,F,Ve="Disables the fused QKV projection if enabled.",ze,I,We="<p>&gt; This API is 🧪 experimental.</p>",ue,O,he,G,V,ge,W,_e,te,be;return T=new Ke({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),w=new $e({props:{title:"SD3ControlNetModel",local:"sd3controlnetmodel",headingTag:"h1"}}),j=new $e({props:{title:"Loading from the original format",local:"loading-from-the-original-format",headingTag:"h2"}}),L=new et({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMFN0YWJsZURpZmZ1c2lvbjNDb250cm9sTmV0UGlwZWxpbmUlMEFmcm9tJTIwZGlmZnVzZXJzLm1vZGVscyUyMGltcG9ydCUyMFNEM0NvbnRyb2xOZXRNb2RlbCUyQyUyMFNEM011bHRpQ29udHJvbE5ldE1vZGVsJTBBJTBBY29udHJvbG5ldCUyMCUzRCUyMFNEM0NvbnRyb2xOZXRNb2RlbC5mcm9tX3ByZXRyYWluZWQoJTIySW5zdGFudFglMkZTRDMtQ29udHJvbG5ldC1DYW5ueSUyMiklMEFwaXBlJTIwJTNEJTIwU3RhYmxlRGlmZnVzaW9uM0NvbnRyb2xOZXRQaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTIyc3RhYmlsaXR5YWklMkZzdGFibGUtZGlmZnVzaW9uLTMtbWVkaXVtLWRpZmZ1c2VycyUyMiUyQyUyMGNvbnRyb2xuZXQlM0Rjb250cm9sbmV0KQ==",highlighted:`<span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> StableDiffusion3ControlNetPipeline
<span class="hljs-keyword">from</span> diffusers.models <span class="hljs-keyword">import</span> SD3ControlNetModel, SD3MultiControlNetModel

controlnet = SD3ControlNetModel.from_pretrained(<span class="hljs-string">&quot;InstantX/SD3-Controlnet-Canny&quot;</span>)
pipe = StableDiffusion3ControlNetPipeline.from_pretrained(<span class="hljs-string">&quot;stabilityai/stable-diffusion-3-medium-diffusers&quot;</span>, controlnet=controlnet)`,wrap:!1}}),Z=new $e({props:{title:"SD3ControlNetModel",local:"diffusers.SD3ControlNetModel",headingTag:"h2"}}),q=new K({props:{name:"class diffusers.SD3ControlNetModel",anchor:"diffusers.SD3ControlNetModel",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:"extra_conditioning_channels",val:": int = 0"},{name:"dual_attention_layers",val:": typing.Tuple[int, ...] = ()"},{name:"qk_norm",val:": typing.Optional[str] = None"},{name:"pos_embed_type",val:": typing.Optional[str] = 'sincos'"},{name:"use_pos_embed",val:": bool = True"},{name:"force_zeros_for_pooled_projection",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.SD3ControlNetModel.sample_size",description:`<strong>sample_size</strong> (<code>int</code>, defaults to <code>128</code>) &#x2014;
The width/height of the latents. This is fixed during training since it is used to learn a number of
position embeddings.`,name:"sample_size"},{anchor:"diffusers.SD3ControlNetModel.patch_size",description:`<strong>patch_size</strong> (<code>int</code>, defaults to <code>2</code>) &#x2014;
Patch size to turn the input data into small patches.`,name:"patch_size"},{anchor:"diffusers.SD3ControlNetModel.in_channels",description:`<strong>in_channels</strong> (<code>int</code>, defaults to <code>16</code>) &#x2014;
The number of latent channels in the input.`,name:"in_channels"},{anchor:"diffusers.SD3ControlNetModel.num_layers",description:`<strong>num_layers</strong> (<code>int</code>, defaults to <code>18</code>) &#x2014;
The number of layers of transformer blocks to use.`,name:"num_layers"},{anchor:"diffusers.SD3ControlNetModel.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.SD3ControlNetModel.num_attention_heads",description:`<strong>num_attention_heads</strong> (<code>int</code>, defaults to <code>18</code>) &#x2014;
The number of heads to use for multi-head attention.`,name:"num_attention_heads"},{anchor:"diffusers.SD3ControlNetModel.joint_attention_dim",description:`<strong>joint_attention_dim</strong> (<code>int</code>, defaults to <code>4096</code>) &#x2014;
The embedding dimension to use for joint text-image attention.`,name:"joint_attention_dim"},{anchor:"diffusers.SD3ControlNetModel.caption_projection_dim",description:`<strong>caption_projection_dim</strong> (<code>int</code>, defaults to <code>1152</code>) &#x2014;
The embedding dimension of caption embeddings.`,name:"caption_projection_dim"},{anchor:"diffusers.SD3ControlNetModel.pooled_projection_dim",description:`<strong>pooled_projection_dim</strong> (<code>int</code>, defaults to <code>2048</code>) &#x2014;
The embedding dimension of pooled text projections.`,name:"pooled_projection_dim"},{anchor:"diffusers.SD3ControlNetModel.out_channels",description:`<strong>out_channels</strong> (<code>int</code>, defaults to <code>16</code>) &#x2014;
The number of latent channels in the output.`,name:"out_channels"},{anchor:"diffusers.SD3ControlNetModel.pos_embed_max_size",description:`<strong>pos_embed_max_size</strong> (<code>int</code>, defaults to <code>96</code>) &#x2014;
The maximum latent height/width of positional embeddings.`,name:"pos_embed_max_size"},{anchor:"diffusers.SD3ControlNetModel.extra_conditioning_channels",description:`<strong>extra_conditioning_channels</strong> (<code>int</code>, defaults to <code>0</code>) &#x2014;
The number of extra channels to use for conditioning for patch embedding.`,name:"extra_conditioning_channels"},{anchor:"diffusers.SD3ControlNetModel.dual_attention_layers",description:`<strong>dual_attention_layers</strong> (<code>Tuple[int, ...]</code>, defaults to <code>()</code>) &#x2014;
The number of dual-stream transformer blocks to use.`,name:"dual_attention_layers"},{anchor:"diffusers.SD3ControlNetModel.qk_norm",description:`<strong>qk_norm</strong> (<code>str</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
The normalization to use for query and key in the attention layer. If <code>None</code>, no normalization is used.`,name:"qk_norm"},{anchor:"diffusers.SD3ControlNetModel.pos_embed_type",description:`<strong>pos_embed_type</strong> (<code>str</code>, defaults to <code>&quot;sincos&quot;</code>) &#x2014;
The type of positional embedding to use. Choose between <code>&quot;sincos&quot;</code> and <code>None</code>.`,name:"pos_embed_type"},{anchor:"diffusers.SD3ControlNetModel.use_pos_embed",description:`<strong>use_pos_embed</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether to use positional embeddings.`,name:"use_pos_embed"},{anchor:"diffusers.SD3ControlNetModel.force_zeros_for_pooled_projection",description:`<strong>force_zeros_for_pooled_projection</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014;
Whether to force zeros for pooled projection embeddings. This is handled in the pipelines by reading the
config value of the ControlNet model.`,name:"force_zeros_for_pooled_projection"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/controlnets/controlnet_sd3.py#L42"}}),E=new K({props:{name:"enable_forward_chunking",anchor:"diffusers.SD3ControlNetModel.enable_forward_chunking",parameters:[{name:"chunk_size",val:": typing.Optional[int] = None"},{name:"dim",val:": int = 0"}],parametersDescription:[{anchor:"diffusers.SD3ControlNetModel.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.SD3ControlNetModel.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/controlnets/controlnet_sd3.py#L178"}}),R=new K({props:{name:"forward",anchor:"diffusers.SD3ControlNetModel.forward",parameters:[{name:"hidden_states",val:": Tensor"},{name:"controlnet_cond",val:": Tensor"},{name:"conditioning_scale",val:": float = 1.0"},{name:"encoder_hidden_states",val:": Tensor = None"},{name:"pooled_projections",val:": Tensor = None"},{name:"timestep",val:": LongTensor = None"},{name:"joint_attention_kwargs",val:": typing.Optional[typing.Dict[str, typing.Any]] = None"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.SD3ControlNetModel.forward.hidden_states",description:`<strong>hidden_states</strong> (<code>torch.Tensor</code> of shape <code>(batch size, channel, height, width)</code>) &#x2014;
Input <code>hidden_states</code>.`,name:"hidden_states"},{anchor:"diffusers.SD3ControlNetModel.forward.controlnet_cond",description:`<strong>controlnet_cond</strong> (<code>torch.Tensor</code>) &#x2014;
The conditional input tensor of shape <code>(batch_size, sequence_length, hidden_size)</code>.`,name:"controlnet_cond"},{anchor:"diffusers.SD3ControlNetModel.forward.conditioning_scale",description:`<strong>conditioning_scale</strong> (<code>float</code>, defaults to <code>1.0</code>) &#x2014;
The scale factor for ControlNet outputs.`,name:"conditioning_scale"},{anchor:"diffusers.SD3ControlNetModel.forward.encoder_hidden_states",description:`<strong>encoder_hidden_states</strong> (<code>torch.Tensor</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.SD3ControlNetModel.forward.pooled_projections",description:`<strong>pooled_projections</strong> (<code>torch.Tensor</code> of shape <code>(batch_size, projection_dim)</code>) &#x2014; Embeddings projected
from the embeddings of input conditions.`,name:"pooled_projections"},{anchor:"diffusers.SD3ControlNetModel.forward.timestep",description:`<strong>timestep</strong> ( <code>torch.LongTensor</code>) &#x2014;
Used to indicate denoising step.`,name:"timestep"},{anchor:"diffusers.SD3ControlNetModel.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.SD3ControlNetModel.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"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/controlnets/controlnet_sd3.py#L272",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>
`}}),U=new K({props:{name:"fuse_qkv_projections",anchor:"diffusers.SD3ControlNetModel.fuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/controlnets/controlnet_sd3.py#L208"}}),P=new K({props:{name:"unfuse_qkv_projections",anchor:"diffusers.SD3ControlNetModel.unfuse_qkv_projections",parameters:[],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/controlnets/controlnet_sd3.py#L230"}}),O=new $e({props:{title:"SD3ControlNetOutput",local:"diffusers.models.controlnets.SD3ControlNetOutput",headingTag:"h2"}}),V=new K({props:{name:"class diffusers.models.controlnets.SD3ControlNetOutput",anchor:"diffusers.models.controlnets.SD3ControlNetOutput",parameters:[{name:"controlnet_block_samples",val:": typing.Tuple[torch.Tensor]"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/controlnets/controlnet_sd3.py#L38"}}),W=new tt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/models/controlnet_sd3.md"}}),{c(){$=d("meta"),oe=n(),ee=d("p"),ne=n(),c(T.$$.fragment),re=n(),c(w.$$.fragment),se=n(),N=d("p"),N.textContent=Ze,ie=n(),D=d("p"),D.innerHTML=qe,de=n(),S=d("p"),S.textContent=Ee,ae=n(),k=d("p"),k.innerHTML=Re,le=n(),c(j.$$.fragment),ce=n(),z=d("p"),z.innerHTML=Ue,me=n(),c(L.$$.fragment),fe=n(),c(Z.$$.fragment),pe=n(),l=d("div"),c(q.$$.fragment),Ce=n(),J=d("p"),J.innerHTML=He,Me=n(),C=d("div"),c(E.$$.fragment),xe=n(),X=d("p"),X.innerHTML=Pe,Te=n(),M=d("div"),c(R.$$.fragment),we=n(),Q=d("p"),Q.innerHTML=Ie,Ne=n(),b=d("div"),c(U.$$.fragment),De=n(),B=d("p"),B.textContent=Oe,Se=n(),H=d("blockquote"),H.innerHTML=Ge,ke=n(),v=d("div"),c(P.$$.fragment),je=n(),F=d("p"),F.textContent=Ve,ze=n(),I=d("blockquote"),I.innerHTML=We,ue=n(),c(O.$$.fragment),he=n(),G=d("div"),c(V.$$.fragment),ge=n(),c(W.$$.fragment),_e=n(),te=d("p"),this.h()},l(e){const t=Ye("svelte-u9bgzb",document.head);$=a(t,"META",{name:!0,content:!0}),t.forEach(o),oe=r(e),ee=a(e,"P",{}),x(ee).forEach(o),ne=r(e),m(T.$$.fragment,e),re=r(e),m(w.$$.fragment,e),se=r(e),N=a(e,"P",{"data-svelte-h":!0}),_(N)!=="svelte-plv1v9"&&(N.textContent=Ze),ie=r(e),D=a(e,"P",{"data-svelte-h":!0}),_(D)!=="svelte-1s65p96"&&(D.innerHTML=qe),de=r(e),S=a(e,"P",{"data-svelte-h":!0}),_(S)!=="svelte-1cwsb16"&&(S.textContent=Ee),ae=r(e),k=a(e,"P",{"data-svelte-h":!0}),_(k)!=="svelte-fbiw6t"&&(k.innerHTML=Re),le=r(e),m(j.$$.fragment,e),ce=r(e),z=a(e,"P",{"data-svelte-h":!0}),_(z)!=="svelte-i9x6qn"&&(z.innerHTML=Ue),me=r(e),m(L.$$.fragment,e),fe=r(e),m(Z.$$.fragment,e),pe=r(e),l=a(e,"DIV",{class:!0});var g=x(l);m(q.$$.fragment,g),Ce=r(g),J=a(g,"P",{"data-svelte-h":!0}),_(J)!=="svelte-1dtgvd2"&&(J.innerHTML=He),Me=r(g),C=a(g,"DIV",{class:!0});var ve=x(C);m(E.$$.fragment,ve),xe=r(ve),X=a(ve,"P",{"data-svelte-h":!0}),_(X)!=="svelte-2m23sy"&&(X.innerHTML=Pe),ve.forEach(o),Te=r(g),M=a(g,"DIV",{class:!0});var ye=x(M);m(R.$$.fragment,ye),we=r(ye),Q=a(ye,"P",{"data-svelte-h":!0}),_(Q)!=="svelte-1fdt9lr"&&(Q.innerHTML=Ie),ye.forEach(o),Ne=r(g),b=a(g,"DIV",{class:!0});var A=x(b);m(U.$$.fragment,A),De=r(A),B=a(A,"P",{"data-svelte-h":!0}),_(B)!=="svelte-1254b9i"&&(B.textContent=Oe),Se=r(A),H=a(A,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),_(H)!=="svelte-6y4o4y"&&(H.innerHTML=Ge),A.forEach(o),ke=r(g),v=a(g,"DIV",{class:!0});var Y=x(v);m(P.$$.fragment,Y),je=r(Y),F=a(Y,"P",{"data-svelte-h":!0}),_(F)!=="svelte-1vhtc74"&&(F.textContent=Ve),ze=r(Y),I=a(Y,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),_(I)!=="svelte-6y4o4y"&&(I.innerHTML=We),Y.forEach(o),g.forEach(o),ue=r(e),m(O.$$.fragment,e),he=r(e),G=a(e,"DIV",{class:!0});var Je=x(G);m(V.$$.fragment,Je),Je.forEach(o),ge=r(e),m(W.$$.fragment,e),_e=r(e),te=a(e,"P",{}),x(te).forEach(o),this.h()},h(){y($,"name","hf:doc:metadata"),y($,"content",nt),y(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(H,"class","warning"),y(b,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(I,"class","warning"),y(v,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(l,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),y(G,"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,t){i(document.head,$),s(e,oe,t),s(e,ee,t),s(e,ne,t),f(T,e,t),s(e,re,t),f(w,e,t),s(e,se,t),s(e,N,t),s(e,ie,t),s(e,D,t),s(e,de,t),s(e,S,t),s(e,ae,t),s(e,k,t),s(e,le,t),f(j,e,t),s(e,ce,t),s(e,z,t),s(e,me,t),f(L,e,t),s(e,fe,t),f(Z,e,t),s(e,pe,t),s(e,l,t),f(q,l,null),i(l,Ce),i(l,J),i(l,Me),i(l,C),f(E,C,null),i(C,xe),i(C,X),i(l,Te),i(l,M),f(R,M,null),i(M,we),i(M,Q),i(l,Ne),i(l,b),f(U,b,null),i(b,De),i(b,B),i(b,Se),i(b,H),i(l,ke),i(l,v),f(P,v,null),i(v,je),i(v,F),i(v,ze),i(v,I),s(e,ue,t),f(O,e,t),s(e,he,t),s(e,G,t),f(V,G,null),s(e,ge,t),f(W,e,t),s(e,_e,t),s(e,te,t),be=!0},p:Qe,i(e){be||(p(T.$$.fragment,e),p(w.$$.fragment,e),p(j.$$.fragment,e),p(L.$$.fragment,e),p(Z.$$.fragment,e),p(q.$$.fragment,e),p(E.$$.fragment,e),p(R.$$.fragment,e),p(U.$$.fragment,e),p(P.$$.fragment,e),p(O.$$.fragment,e),p(V.$$.fragment,e),p(W.$$.fragment,e),be=!0)},o(e){u(T.$$.fragment,e),u(w.$$.fragment,e),u(j.$$.fragment,e),u(L.$$.fragment,e),u(Z.$$.fragment,e),u(q.$$.fragment,e),u(E.$$.fragment,e),u(R.$$.fragment,e),u(U.$$.fragment,e),u(P.$$.fragment,e),u(O.$$.fragment,e),u(V.$$.fragment,e),u(W.$$.fragment,e),be=!1},d(e){e&&(o(oe),o(ee),o(ne),o(re),o(se),o(N),o(ie),o(D),o(de),o(S),o(ae),o(k),o(le),o(ce),o(z),o(me),o(fe),o(pe),o(l),o(ue),o(he),o(G),o(ge),o(_e),o(te)),o($),h(T,e),h(w,e),h(j,e),h(L,e),h(Z,e),h(q),h(E),h(R),h(U),h(P),h(O,e),h(V),h(W,e)}}}const nt='{"title":"SD3ControlNetModel","local":"sd3controlnetmodel","sections":[{"title":"Loading from the original format","local":"loading-from-the-original-format","sections":[],"depth":2},{"title":"SD3ControlNetModel","local":"diffusers.SD3ControlNetModel","sections":[],"depth":2},{"title":"SD3ControlNetOutput","local":"diffusers.models.controlnets.SD3ControlNetOutput","sections":[],"depth":2}],"depth":1}';function rt(Le){return Be(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mt extends Fe{constructor($){super(),Ae(this,$,rt,ot,Xe,{})}}export{mt as component};
