import{S as wt,i as vt,s as $t,e as a,k as f,w as D,t as c,M as Mt,c as r,d as t,m,a as n,x as P,h as d,b as p,G as s,g as u,y as J,q as E,o as j,B as x,v as It,L as Dt}from"../../../chunks/vendor-hf-doc-builder.js";import{T as Pt}from"../../../chunks/Tip-hf-doc-builder.js";import{D as Je}from"../../../chunks/Docstring-hf-doc-builder.js";import{C as Jt}from"../../../chunks/CodeBlock-hf-doc-builder.js";import{I as st}from"../../../chunks/IconCopyLink-hf-doc-builder.js";import{E as Et}from"../../../chunks/ExampleCodeBlock-hf-doc-builder.js";function jt(Q){let l,w,h,g,_,i,y,k;return{c(){l=a("p"),w=c("Make sure to check out the Schedulers "),h=a("a"),g=c("guide"),_=c(" to learn how to explore the tradeoff between scheduler speed and quality, and see the "),i=a("a"),y=c("reuse components across pipelines"),k=c(" section to learn how to efficiently load the same components into multiple pipelines."),this.h()},l(G){l=r(G,"P",{});var T=n(l);w=d(T,"Make sure to check out the Schedulers "),h=r(T,"A",{href:!0});var v=n(h);g=d(v,"guide"),v.forEach(t),_=d(T," to learn how to explore the tradeoff between scheduler speed and quality, and see the "),i=r(T,"A",{href:!0});var $=n(i);y=d($,"reuse components across pipelines"),$.forEach(t),k=d(T," section to learn how to efficiently load the same components into multiple pipelines."),T.forEach(t),this.h()},h(){p(h,"href","/using-diffusers/schedulers"),p(i,"href","/using-diffusers/loading#reuse-components-across-pipelines")},m(G,T){u(G,l,T),s(l,w),s(l,h),s(h,g),s(l,_),s(l,i),s(i,y),s(l,k)},d(G){G&&t(l)}}}function xt(Q){let l,w,h,g,_;return g=new Jt({props:{code:"ZnJvbSUyMGRpZmZ1c2VycyUyMGltcG9ydCUyMERpVFBpcGVsaW5lJTJDJTIwRFBNU29sdmVyTXVsdGlzdGVwU2NoZWR1bGVyJTBBaW1wb3J0JTIwdG9yY2glMEElMEFwaXBlJTIwJTNEJTIwRGlUUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUyMmZhY2Vib29rJTJGRGlULVhMLTItMjU2JTIyJTJDJTIwdG9yY2hfZHR5cGUlM0R0b3JjaC5mbG9hdDE2KSUwQXBpcGUuc2NoZWR1bGVyJTIwJTNEJTIwRFBNU29sdmVyTXVsdGlzdGVwU2NoZWR1bGVyLmZyb21fY29uZmlnKHBpcGUuc2NoZWR1bGVyLmNvbmZpZyklMEFwaXBlJTIwJTNEJTIwcGlwZS50byglMjJjdWRhJTIyKSUwQSUwQSUyMyUyMHBpY2slMjB3b3JkcyUyMGZyb20lMjBJbWFnZW5ldCUyMGNsYXNzJTIwbGFiZWxzJTBBcGlwZS5sYWJlbHMlMjAlMjAlMjMlMjB0byUyMHByaW50JTIwYWxsJTIwYXZhaWxhYmxlJTIwd29yZHMlMEElMEElMjMlMjBwaWNrJTIwd29yZHMlMjB0aGF0JTIwZXhpc3QlMjBpbiUyMEltYWdlTmV0JTBBd29yZHMlMjAlM0QlMjAlNUIlMjJ3aGl0ZSUyMHNoYXJrJTIyJTJDJTIwJTIydW1icmVsbGElMjIlNUQlMEElMEFjbGFzc19pZHMlMjAlM0QlMjBwaXBlLmdldF9sYWJlbF9pZHMod29yZHMpJTBBJTBBZ2VuZXJhdG9yJTIwJTNEJTIwdG9yY2gubWFudWFsX3NlZWQoMzMpJTBBb3V0cHV0JTIwJTNEJTIwcGlwZShjbGFzc19sYWJlbHMlM0RjbGFzc19pZHMlMkMlMjBudW1faW5mZXJlbmNlX3N0ZXBzJTNEMjUlMkMlMjBnZW5lcmF0b3IlM0RnZW5lcmF0b3IpJTBBJTBBaW1hZ2UlMjAlM0QlMjBvdXRwdXQuaW1hZ2VzJTVCMCU1RCUyMCUyMCUyMyUyMGxhYmVsJTIwJ3doaXRlJTIwc2hhcmsn",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> DiTPipeline, DPMSolverMultistepScheduler
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch

<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = DiTPipeline.from_pretrained(<span class="hljs-string">&quot;facebook/DiT-XL-2-256&quot;</span>, torch_dtype=torch.float16)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = pipe.to(<span class="hljs-string">&quot;cuda&quot;</span>)

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># pick words from Imagenet class labels</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.labels  <span class="hljs-comment"># to print all available words</span>

<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-comment"># pick words that exist in ImageNet</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>words = [<span class="hljs-string">&quot;white shark&quot;</span>, <span class="hljs-string">&quot;umbrella&quot;</span>]

<span class="hljs-meta">&gt;&gt;&gt; </span>class_ids = pipe.get_label_ids(words)

<span class="hljs-meta">&gt;&gt;&gt; </span>generator = torch.manual_seed(<span class="hljs-number">33</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>output = pipe(class_labels=class_ids, num_inference_steps=<span class="hljs-number">25</span>, generator=generator)

<span class="hljs-meta">&gt;&gt;&gt; </span>image = output.images[<span class="hljs-number">0</span>]  <span class="hljs-comment"># label &#x27;white shark&#x27;</span>`}}),{c(){l=a("p"),w=c("Examples:"),h=f(),D(g.$$.fragment)},l(i){l=r(i,"P",{});var y=n(l);w=d(y,"Examples:"),y.forEach(t),h=m(i),P(g.$$.fragment,i)},m(i,y){u(i,l,y),s(l,w),u(i,h,y),J(g,i,y),_=!0},p:Dt,i(i){_||(E(g.$$.fragment,i),_=!0)},o(i){j(g.$$.fragment,i),_=!1},d(i){i&&t(l),i&&t(h),x(g,i)}}}function kt(Q){let l,w,h,g,_,i,y,k,G,T,v,$,Ee,je,me,K,xe,ue,ee,ae,ke,he,W,Ge,F,Ne,Ue,ge,Z,be,N,S,re,X,Be,ne,We,_e,b,C,Ze,ie,Se,Ve,O,Le,te,Ae,Fe,Xe,M,R,Ce,oe,Oe,Re,V,He,L,H,qe,le,Ye,ye,U,A,pe,q,ze,ce,Qe,Te,B,Y,Ke,de,et,we;return i=new st({}),Z=new Pt({props:{$$slots:{default:[jt]},$$scope:{ctx:Q}}}),X=new st({}),C=new Je({props:{name:"class diffusers.DiTPipeline",anchor:"diffusers.DiTPipeline",parameters:[{name:"transformer",val:": Transformer2DModel"},{name:"vae",val:": AutoencoderKL"},{name:"scheduler",val:": KarrasDiffusionSchedulers"},{name:"id2label",val:": typing.Union[typing.Dict[int, str], NoneType] = None"}],parametersDescription:[{anchor:"diffusers.DiTPipeline.transformer",description:`<strong>transformer</strong> (<a href="/docs/diffusers/main/en/api/models/transformer2d#diffusers.Transformer2DModel">Transformer2DModel</a>) &#x2014;
A class conditioned <code>Transformer2DModel</code> to denoise the encoded image latents.`,name:"transformer"},{anchor:"diffusers.DiTPipeline.vae",description:`<strong>vae</strong> (<a href="/docs/diffusers/main/en/api/models/autoencoderkl#diffusers.AutoencoderKL">AutoencoderKL</a>) &#x2014;
Variational Auto-Encoder (VAE) model to encode and decode images to and from latent representations.`,name:"vae"},{anchor:"diffusers.DiTPipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/main/en/api/schedulers/ddim#diffusers.DDIMScheduler">DDIMScheduler</a>) &#x2014;
A scheduler to be used in combination with <code>transformer</code> to denoise the encoded image latents.`,name:"scheduler"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/dit/pipeline_dit.py#L31"}}),R=new Je({props:{name:"__call__",anchor:"diffusers.DiTPipeline.__call__",parameters:[{name:"class_labels",val:": typing.List[int]"},{name:"guidance_scale",val:": float = 4.0"},{name:"generator",val:": typing.Union[torch._C.Generator, typing.List[torch._C.Generator], NoneType] = None"},{name:"num_inference_steps",val:": int = 50"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"}],parametersDescription:[{anchor:"diffusers.DiTPipeline.__call__.class_labels",description:`<strong>class_labels</strong> (List[int]) &#x2014;
List of ImageNet class labels for the images to be generated.`,name:"class_labels"},{anchor:"diffusers.DiTPipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 4.0) &#x2014;
A higher guidance scale value encourages the model to generate images closely linked to the text
<code>prompt</code> at the expense of lower image quality. Guidance scale is enabled when <code>guidance_scale &gt; 1</code>.`,name:"guidance_scale"},{anchor:"diffusers.DiTPipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code>, <em>optional</em>) &#x2014;
A <a href="https://pytorch.org/docs/stable/generated/torch.Generator.html" rel="nofollow"><code>torch.Generator</code></a> to make
generation deterministic.`,name:"generator"},{anchor:"diffusers.DiTPipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 250) &#x2014;
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
expense of slower inference.`,name:"num_inference_steps"},{anchor:"diffusers.DiTPipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;pil&quot;</code>) &#x2014;
The output format of the generated image. Choose between <code>PIL.Image</code> or <code>np.array</code>.`,name:"output_type"},{anchor:"diffusers.DiTPipeline.__call__.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 <a href="/docs/diffusers/main/en/api/pipelines/ddim#diffusers.ImagePipelineOutput">ImagePipelineOutput</a> instead of a plain tuple.`,name:"return_dict"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/dit/pipeline_dit.py#L90",returnDescription:`
<p>If <code>return_dict</code> is <code>True</code>, <a
  href="/docs/diffusers/main/en/api/pipelines/ddim#diffusers.ImagePipelineOutput"
>ImagePipelineOutput</a> is returned, otherwise a <code>tuple</code> is
returned where the first element is a list with the generated images</p>
`,returnType:`
<p><a
  href="/docs/diffusers/main/en/api/pipelines/ddim#diffusers.ImagePipelineOutput"
>ImagePipelineOutput</a> or <code>tuple</code></p>
`}}),V=new Et({props:{anchor:"diffusers.DiTPipeline.__call__.example",$$slots:{default:[xt]},$$scope:{ctx:Q}}}),H=new Je({props:{name:"get_label_ids",anchor:"diffusers.DiTPipeline.get_label_ids",parameters:[{name:"label",val:": typing.Union[str, typing.List[str]]"}],parametersDescription:[{anchor:"diffusers.DiTPipeline.get_label_ids.label",description:`<strong>label</strong> (<code>str</code> or <code>dict</code> of <code>str</code>) &#x2014;
Label strings to be mapped to class ids.`,name:"label"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/dit/pipeline_dit.py#L65",returnDescription:`
<p>Class ids to be processed by pipeline.</p>
`,returnType:`
<p><code>list</code> of <code>int</code></p>
`}}),q=new st({}),Y=new Je({props:{name:"class diffusers.ImagePipelineOutput",anchor:"diffusers.ImagePipelineOutput",parameters:[{name:"images",val:": typing.Union[typing.List[PIL.Image.Image], numpy.ndarray]"}],parametersDescription:[{anchor:"diffusers.ImagePipelineOutput.images",description:`<strong>images</strong> (<code>List[PIL.Image.Image]</code> or <code>np.ndarray</code>) &#x2014;
List of denoised PIL images of length <code>batch_size</code> or NumPy array of shape <code>(batch_size, height, width, num_channels)</code>.`,name:"images"}],source:"https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/pipeline_utils.py#L112"}}),{c(){l=a("meta"),w=f(),h=a("h1"),g=a("a"),_=a("span"),D(i.$$.fragment),y=f(),k=a("span"),G=c("DiT"),T=f(),v=a("p"),$=a("a"),Ee=c("Scalable Diffusion Models with Transformers"),je=c(" (DiT) is by William Peebles and Saining Xie."),me=f(),K=a("p"),xe=c("The abstract from the paper is:"),ue=f(),ee=a("p"),ae=a("em"),ke=c("We explore a new class of diffusion models based on the transformer architecture. We train latent diffusion models of images, replacing the commonly-used U-Net backbone with a transformer that operates on latent patches. We analyze the scalability of our Diffusion Transformers (DiTs) through the lens of forward pass complexity as measured by Gflops. We find that DiTs with higher Gflops \u2014 through increased transformer depth/width or increased number of input tokens \u2014 consistently have lower FID. In addition to possessing good scalability properties, our largest DiT-XL/2 models outperform all prior diffusion models on the class-conditional ImageNet 512x512 and 256x256 benchmarks, achieving a state-of-the-art FID of 2.27 on the latter."),he=f(),W=a("p"),Ge=c("The original codebase can be found at "),F=a("a"),Ne=c("facebookresearch/dit"),Ue=c("."),ge=f(),D(Z.$$.fragment),be=f(),N=a("h2"),S=a("a"),re=a("span"),D(X.$$.fragment),Be=f(),ne=a("span"),We=c("DiTPipeline"),_e=f(),b=a("div"),D(C.$$.fragment),Ze=f(),ie=a("p"),Se=c("Pipeline for image generation based on a Transformer backbone instead of a UNet."),Ve=f(),O=a("p"),Le=c("This model inherits from "),te=a("a"),Ae=c("DiffusionPipeline"),Fe=c(`. Check the superclass documentation for the generic methods
implemented for all pipelines (downloading, saving, running on a particular device, etc.).`),Xe=f(),M=a("div"),D(R.$$.fragment),Ce=f(),oe=a("p"),Oe=c("The call function to the pipeline for generation."),Re=f(),D(V.$$.fragment),He=f(),L=a("div"),D(H.$$.fragment),qe=f(),le=a("p"),Ye=c("Map label strings from ImageNet to corresponding class ids."),ye=f(),U=a("h2"),A=a("a"),pe=a("span"),D(q.$$.fragment),ze=f(),ce=a("span"),Qe=c("ImagePipelineOutput"),Te=f(),B=a("div"),D(Y.$$.fragment),Ke=f(),de=a("p"),et=c("Output class for image pipelines."),this.h()},l(e){const o=Mt('[data-svelte="svelte-1phssyn"]',document.head);l=r(o,"META",{name:!0,content:!0}),o.forEach(t),w=m(e),h=r(e,"H1",{class:!0});var z=n(h);g=r(z,"A",{id:!0,class:!0,href:!0});var fe=n(g);_=r(fe,"SPAN",{});var at=n(_);P(i.$$.fragment,at),at.forEach(t),fe.forEach(t),y=m(z),k=r(z,"SPAN",{});var rt=n(k);G=d(rt,"DiT"),rt.forEach(t),z.forEach(t),T=m(e),v=r(e,"P",{});var tt=n(v);$=r(tt,"A",{href:!0,rel:!0});var nt=n($);Ee=d(nt,"Scalable Diffusion Models with Transformers"),nt.forEach(t),je=d(tt," (DiT) is by William Peebles and Saining Xie."),tt.forEach(t),me=m(e),K=r(e,"P",{});var it=n(K);xe=d(it,"The abstract from the paper is:"),it.forEach(t),ue=m(e),ee=r(e,"P",{});var ot=n(ee);ae=r(ot,"EM",{});var lt=n(ae);ke=d(lt,"We explore a new class of diffusion models based on the transformer architecture. We train latent diffusion models of images, replacing the commonly-used U-Net backbone with a transformer that operates on latent patches. We analyze the scalability of our Diffusion Transformers (DiTs) through the lens of forward pass complexity as measured by Gflops. We find that DiTs with higher Gflops \u2014 through increased transformer depth/width or increased number of input tokens \u2014 consistently have lower FID. In addition to possessing good scalability properties, our largest DiT-XL/2 models outperform all prior diffusion models on the class-conditional ImageNet 512x512 and 256x256 benchmarks, achieving a state-of-the-art FID of 2.27 on the latter."),lt.forEach(t),ot.forEach(t),he=m(e),W=r(e,"P",{});var ve=n(W);Ge=d(ve,"The original codebase can be found at "),F=r(ve,"A",{href:!0,rel:!0});var pt=n(F);Ne=d(pt,"facebookresearch/dit"),pt.forEach(t),Ue=d(ve,"."),ve.forEach(t),ge=m(e),P(Z.$$.fragment,e),be=m(e),N=r(e,"H2",{class:!0});var $e=n(N);S=r($e,"A",{id:!0,class:!0,href:!0});var ct=n(S);re=r(ct,"SPAN",{});var dt=n(re);P(X.$$.fragment,dt),dt.forEach(t),ct.forEach(t),Be=m($e),ne=r($e,"SPAN",{});var ft=n(ne);We=d(ft,"DiTPipeline"),ft.forEach(t),$e.forEach(t),_e=m(e),b=r(e,"DIV",{class:!0});var I=n(b);P(C.$$.fragment,I),Ze=m(I),ie=r(I,"P",{});var mt=n(ie);Se=d(mt,"Pipeline for image generation based on a Transformer backbone instead of a UNet."),mt.forEach(t),Ve=m(I),O=r(I,"P",{});var Me=n(O);Le=d(Me,"This model inherits from "),te=r(Me,"A",{href:!0});var ut=n(te);Ae=d(ut,"DiffusionPipeline"),ut.forEach(t),Fe=d(Me,`. Check the superclass documentation for the generic methods
implemented for all pipelines (downloading, saving, running on a particular device, etc.).`),Me.forEach(t),Xe=m(I),M=r(I,"DIV",{class:!0});var se=n(M);P(R.$$.fragment,se),Ce=m(se),oe=r(se,"P",{});var ht=n(oe);Oe=d(ht,"The call function to the pipeline for generation."),ht.forEach(t),Re=m(se),P(V.$$.fragment,se),se.forEach(t),He=m(I),L=r(I,"DIV",{class:!0});var Ie=n(L);P(H.$$.fragment,Ie),qe=m(Ie),le=r(Ie,"P",{});var gt=n(le);Ye=d(gt,"Map label strings from ImageNet to corresponding class ids."),gt.forEach(t),Ie.forEach(t),I.forEach(t),ye=m(e),U=r(e,"H2",{class:!0});var De=n(U);A=r(De,"A",{id:!0,class:!0,href:!0});var bt=n(A);pe=r(bt,"SPAN",{});var _t=n(pe);P(q.$$.fragment,_t),_t.forEach(t),bt.forEach(t),ze=m(De),ce=r(De,"SPAN",{});var yt=n(ce);Qe=d(yt,"ImagePipelineOutput"),yt.forEach(t),De.forEach(t),Te=m(e),B=r(e,"DIV",{class:!0});var Pe=n(B);P(Y.$$.fragment,Pe),Ke=m(Pe),de=r(Pe,"P",{});var Tt=n(de);et=d(Tt,"Output class for image pipelines."),Tt.forEach(t),Pe.forEach(t),this.h()},h(){p(l,"name","hf:doc:metadata"),p(l,"content",JSON.stringify(Gt)),p(g,"id","dit"),p(g,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(g,"href","#dit"),p(h,"class","relative group"),p($,"href","https://huggingface.co/papers/2212.09748"),p($,"rel","nofollow"),p(F,"href","https://github.com/facebookresearch/dit"),p(F,"rel","nofollow"),p(S,"id","diffusers.DiTPipeline"),p(S,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(S,"href","#diffusers.DiTPipeline"),p(N,"class","relative group"),p(te,"href","/docs/diffusers/main/en/api/pipelines/overview#diffusers.DiffusionPipeline"),p(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(b,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),p(A,"id","diffusers.ImagePipelineOutput"),p(A,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(A,"href","#diffusers.ImagePipelineOutput"),p(U,"class","relative group"),p(B,"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){s(document.head,l),u(e,w,o),u(e,h,o),s(h,g),s(g,_),J(i,_,null),s(h,y),s(h,k),s(k,G),u(e,T,o),u(e,v,o),s(v,$),s($,Ee),s(v,je),u(e,me,o),u(e,K,o),s(K,xe),u(e,ue,o),u(e,ee,o),s(ee,ae),s(ae,ke),u(e,he,o),u(e,W,o),s(W,Ge),s(W,F),s(F,Ne),s(W,Ue),u(e,ge,o),J(Z,e,o),u(e,be,o),u(e,N,o),s(N,S),s(S,re),J(X,re,null),s(N,Be),s(N,ne),s(ne,We),u(e,_e,o),u(e,b,o),J(C,b,null),s(b,Ze),s(b,ie),s(ie,Se),s(b,Ve),s(b,O),s(O,Le),s(O,te),s(te,Ae),s(O,Fe),s(b,Xe),s(b,M),J(R,M,null),s(M,Ce),s(M,oe),s(oe,Oe),s(M,Re),J(V,M,null),s(b,He),s(b,L),J(H,L,null),s(L,qe),s(L,le),s(le,Ye),u(e,ye,o),u(e,U,o),s(U,A),s(A,pe),J(q,pe,null),s(U,ze),s(U,ce),s(ce,Qe),u(e,Te,o),u(e,B,o),J(Y,B,null),s(B,Ke),s(B,de),s(de,et),we=!0},p(e,[o]){const z={};o&2&&(z.$$scope={dirty:o,ctx:e}),Z.$set(z);const fe={};o&2&&(fe.$$scope={dirty:o,ctx:e}),V.$set(fe)},i(e){we||(E(i.$$.fragment,e),E(Z.$$.fragment,e),E(X.$$.fragment,e),E(C.$$.fragment,e),E(R.$$.fragment,e),E(V.$$.fragment,e),E(H.$$.fragment,e),E(q.$$.fragment,e),E(Y.$$.fragment,e),we=!0)},o(e){j(i.$$.fragment,e),j(Z.$$.fragment,e),j(X.$$.fragment,e),j(C.$$.fragment,e),j(R.$$.fragment,e),j(V.$$.fragment,e),j(H.$$.fragment,e),j(q.$$.fragment,e),j(Y.$$.fragment,e),we=!1},d(e){t(l),e&&t(w),e&&t(h),x(i),e&&t(T),e&&t(v),e&&t(me),e&&t(K),e&&t(ue),e&&t(ee),e&&t(he),e&&t(W),e&&t(ge),x(Z,e),e&&t(be),e&&t(N),x(X),e&&t(_e),e&&t(b),x(C),x(R),x(V),x(H),e&&t(ye),e&&t(U),x(q),e&&t(Te),e&&t(B),x(Y)}}}const Gt={local:"dit",sections:[{local:"diffusers.DiTPipeline",title:"DiTPipeline"},{local:"diffusers.ImagePipelineOutput",title:"ImagePipelineOutput"}],title:"DiT"};function Nt(Q){return It(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Lt extends wt{constructor(l){super();vt(this,l,Nt,kt,$t,{})}}export{Lt as default,Gt as metadata};
