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,Sn,an,x,Tr,ht,on,nn,br,be,Dr,ln,sn,ct,fn,dn,Gr,hn,M,wr,ut,cn,un,Sr,De,gn,pn,gt,_n,vn,yr,Ur,Ge,Ir,En,mn,$r;return te=new qs({}),ne=new qs({}),{c(){N=r("meta"),Ar=l(),_=r("p"),Vr=r("br"),jr=l(),we=r("img"),Qr=l(),Jr=r("br"),Rr=l(),P=r("h1"),U=r("a"),vt=r("span"),Ns(te.$$.fragment),Yr=l(),Et=r("span"),Kr=i("\u{1F9E8} Diffusers"),xr=l(),Se=r("p"),Wr=i("\u{1F917} Diffusers provides pretrained vision diffusion models, and serves as a modular toolbox for inference and training."),Mr=l(),ye=r("p"),Xr=i("More precisely, \u{1F917} Diffusers offers:"),Nr=l(),p=r("ul"),k=r("li"),Zr=i("State-of-the-art diffusion pipelines that can be run in inference with just a couple of lines of code (see "),Ie=r("a"),mt=r("strong"),ea=i("Using Diffusers"),ta=i(") or have a look at "),Ae=r("a"),Tt=r("strong"),ra=i("Pipelines"),aa=i(" to get an overview of all supported pipelines and their corresponding papers."),oa=l(),re=r("li"),na=i("Various noise schedulers that can be used interchangeably for the preferred speed vs. quality trade-off in inference. For more information see "),Re=r("a"),bt=r("strong"),la=i("Schedulers"),sa=i("."),ia=l(),ae=r("li"),fa=i("Multiple types of models, such as UNet, can be used as building blocks in an end-to-end diffusion system. See "),xe=r("a"),Dt=r("strong"),da=i("Models"),ha=i(" for more details"),ca=l(),oe=r("li"),ua=i("Training examples to show how to train the most popular diffusion model tasks. For more information see "),Me=r("a"),Gt=r("strong"),ga=i("Training"),pa=i("."),Pr=l(),O=r("h2"),$=r("a"),wt=r("span"),Ns(ne.$$.fragment),_a=l(),St=r("span"),va=i("\u{1F9E8} Diffusers Pipelines"),kr=l(),Ne=r("p"),Ea=i(`The following table summarizes all officially supported pipelines, their corresponding paper, and if
available a colab notebook to directly try them out.`),Or=l(),q=r("table"),yt=r("thead"),v=r("tr"),It=r("th"),ma=i("Pipeline"),Ta=l(),At=r("th"),ba=i("Paper"),Da=l(),Pe=r("th"),Ga=i("Tasks"),wa=l(),ke=r("th"),Sa=i("Colab"),ya=l(),h=r("tbody"),E=r("tr"),Rt=r("td"),Oe=r("a"),Ia=i("cycle_diffusion"),Aa=l(),xt=r("td"),le=r("a"),Mt=r("strong"),Ra=i("Cycle Diffusion"),xa=l(),Ue=r("td"),Ma=i("Image-to-Image Text-Guided Generation"),Na=l(),Nt=r("td"),Pa=l(),m=r("tr"),Pt=r("td"),$e=r("a"),ka=i("dance_diffusion"),Oa=l(),kt=r("td"),se=r("a"),Ot=r("strong"),Ua=i("Dance Diffusion"),$a=l(),qe=r("td"),qa=i("Unconditional Audio Generation"),Ha=l(),Ut=r("td"),La=l(),T=r("tr"),$t=r("td"),He=r("a"),Ba=i("ddpm"),Ca=l(),qt=r("td"),ie=r("a"),Ht=r("strong"),za=i("Denoising Diffusion Probabilistic Models"),Fa=l(),Le=r("td"),Va=i("Unconditional Image Generation"),ja=l(),Lt=r("td"),Qa=l(),b=r("tr"),Bt=r("td"),Be=r("a"),Ja=i("ddim"),Ya=l(),Ct=r("td"),fe=r("a"),zt=r("strong"),Ka=i("Denoising Diffusion Implicit Models"),Wa=l(),Ce=r("td"),Xa=i("Unconditional Image Generation"),Za=l(),Ft=r("td"),eo=l(),D=r("tr"),Vt=r("td"),ze=r("a"),to=i("latent_diffusion"),ro=l(),jt=r("td"),de=r("a"),Qt=r("strong"),ao=i("High-Resolution Image Synthesis with Latent Diffusion Models"),oo=l(),Fe=r("td"),no=i("Text-to-Image Generation"),lo=l(),Jt=r("td"),so=l(),G=r("tr"),Yt=r("td"),Ve=r("a"),io=i("latent_diffusion_uncond"),fo=l(),Kt=r("td"),he=r("a"),Wt=r("strong"),ho=i("High-Resolution Image Synthesis with Latent Diffusion Models"),co=l(),je=r("td"),uo=i("Unconditional Image Generation"),go=l(),Xt=r("td"),po=l(),w=r("tr"),Zt=r("td"),Qe=r("a"),_o=i("pndm"),vo=l(),er=r("td"),ce=r("a"),tr=r("strong"),Eo=i("Pseudo Numerical Methods for Diffusion Models on Manifolds"),mo=l(),Je=r("td"),To=i("Unconditional Image Generation"),bo=l(),rr=r("td"),Do=l(),S=r("tr"),ar=r("td"),Ye=r("a"),Go=i("score_sde_ve"),wo=l(),or=r("td"),ue=r("a"),nr=r("strong"),So=i("Score-Based Generative Modeling through Stochastic Differential Equations"),yo=l(),Ke=r("td"),Io=i("Unconditional Image Generation"),Ao=l(),lr=r("td"),Ro=l(),y=r("tr"),sr=r("td"),We=r("a"),xo=i("score_sde_vp"),Mo=l(),ir=r("td"),ge=r("a"),fr=r("strong"),No=i("Score-Based Generative Modeling through Stochastic Differential Equations"),Po=l(),Xe=r("td"),ko=i("Unconditional Image Generation"),Oo=l(),dr=r("td"),Uo=l(),I=r("tr"),hr=r("td"),Ze=r("a"),$o=i("stable_diffusion"),qo=l(),cr=r("td"),pe=r("a"),ur=r("strong"),Ho=i("Stable Diffusion"),Lo=l(),et=r("td"),Bo=i("Text-to-Image Generation"),Co=l(),tt=r("td"),_e=r("a"),rt=r("img"),zo=l(),A=r("tr"),gr=r("td"),at=r("a"),Fo=i("stable_diffusion"),Vo=l(),pr=r("td"),ve=r("a"),_r=r("strong"),jo=i("Stable Diffusion"),Qo=l(),ot=r("td"),Jo=i("Image-to-Image Text-Guided Generation"),Yo=l(),nt=r("td"),Ee=r("a"),lt=r("img"),Ko=l(),R=r("tr"),vr=r("td"),st=r("a"),Wo=i("stable_diffusion"),Xo=l(),Er=r("td"),me=r("a"),mr=r("strong"),Zo=i("Stable Diffusion"),en=l(),it=r("td"),tn=i("Text-Guided Image Inpainting"),rn=l(),ft=r("td"),Te=r("a"),dt=r("img"),an=l(),x=r("tr"),Tr=r("td"),ht=r("a"),on=i("stochastic_karras_ve"),nn=l(),br=r("td"),be=r("a"),Dr=r("strong"),ln=i("Elucidating the Design Space of Diffusion-Based Generative Models"),sn=l(),ct=r("td"),fn=i("Unconditional Image Generation"),dn=l(),Gr=r("td"),hn=l(),M=r("tr"),wr=r("td"),ut=r("a"),cn=i("vq_diffusion"),un=l(),Sr=r("td"),De=r("a"),gn=i("Vector Quantized Diffusion Model for Text-to-Image Synthesis"),pn=l(),gt=r("td"),_n=i("Text-to-Image Generation"),vn=l(),yr=r("td"),Ur=l(),Ge=r("p"),Ir=r("strong"),En=i("Note"),mn=i(": Pipelines are simple examples of how to play around with the diffusion systems as described in the corresponding papers."),this.h()},l(d){const u=Cs('[data-svelte="svelte-1phssyn"]',document.head);N=a(u,"META",{name:!0,content:!0}),u.forEach(t),Ar=s(d),_=a(d,"P",{align:!0});var pt=o(_);Vr=a(pt,"BR",{}),jr=s(pt),we=a(pt,"IMG",{src:!0,width:!0}),Qr=s(pt),Jr=a(pt,"BR",{}),pt.forEach(t),Rr=s(d),P=a(d,"H1",{class:!0});var qr=o(P);U=a(qr,"A",{id:!0,class:!0,href:!0});var yn=o(U);vt=a(yn,"SPAN",{});var In=o(vt);Ps(te.$$.fragment,In),In.forEach(t),yn.forEach(t),Yr=s(qr),Et=a(qr,"SPAN",{});var An=o(Et);Kr=f(An,"\u{1F9E8} Diffusers"),An.forEach(t),qr.forEach(t),xr=s(d),Se=a(d,"P",{});var Rn=o(Se);Wr=f(Rn,"\u{1F917} Diffusers provides pretrained vision diffusion models, and serves as a modular toolbox for inference and training."),Rn.forEach(t),Mr=s(d),ye=a(d,"P",{});var xn=o(ye);Xr=f(xn,"More precisely, \u{1F917} Diffusers offers:"),xn.forEach(t),Nr=s(d),p=a(d,"UL",{});var H=o(p);k=a(H,"LI",{});var _t=o(k);Zr=f(_t,"State-of-the-art diffusion pipelines that can be run in inference with just a couple of lines of code (see "),Ie=a(_t,"A",{href:!0});var Mn=o(Ie);mt=a(Mn,"STRONG",{});var Nn=o(mt);ea=f(Nn,"Using Diffusers"),Nn.forEach(t),Mn.forEach(t),ta=f(_t,") or have a look at "),Ae=a(_t,"A",{href:!0});var Pn=o(Ae);Tt=a(Pn,"STRONG",{});var kn=o(Tt);ra=f(kn,"Pipelines"),kn.forEach(t),Pn.forEach(t),aa=f(_t," to get an overview of all supported pipelines and their corresponding papers."),_t.forEach(t),oa=s(H),re=a(H,"LI",{});var Hr=o(re);na=f(Hr,"Various noise schedulers that can be used interchangeably for the preferred speed vs. quality trade-off in inference. For more information see "),Re=a(Hr,"A",{href:!0});var On=o(Re);bt=a(On,"STRONG",{});var Un=o(bt);la=f(Un,"Schedulers"),Un.forEach(t),On.forEach(t),sa=f(Hr,"."),Hr.forEach(t),ia=s(H),ae=a(H,"LI",{});var Lr=o(ae);fa=f(Lr,"Multiple types of models, such as UNet, can be used as building blocks in an end-to-end diffusion system. See "),xe=a(Lr,"A",{href:!0});var $n=o(xe);Dt=a($n,"STRONG",{});var qn=o(Dt);da=f(qn,"Models"),qn.forEach(t),$n.forEach(t),ha=f(Lr," for more details"),Lr.forEach(t),ca=s(H),oe=a(H,"LI",{});var Br=o(oe);ua=f(Br,"Training examples to show how to train the most popular diffusion model tasks. For more information see "),Me=a(Br,"A",{href:!0});var Hn=o(Me);Gt=a(Hn,"STRONG",{});var Ln=o(Gt);ga=f(Ln,"Training"),Ln.forEach(t),Hn.forEach(t),pa=f(Br,"."),Br.forEach(t),H.forEach(t),Pr=s(d),O=a(d,"H2",{class:!0});var Cr=o(O);$=a(Cr,"A",{id:!0,class:!0,href:!0});var Bn=o($);wt=a(Bn,"SPAN",{});var Cn=o(wt);Ps(ne.$$.fragment,Cn),Cn.forEach(t),Bn.forEach(t),_a=s(Cr),St=a(Cr,"SPAN",{});var zn=o(St);va=f(zn,"\u{1F9E8} Diffusers Pipelines"),zn.forEach(t),Cr.forEach(t),kr=s(d),Ne=a(d,"P",{});var Fn=o(Ne);Ea=f(Fn,`The following table summarizes all officially supported pipelines, their corresponding paper, and if
available a colab notebook to directly try them out.`),Fn.forEach(t),Or=s(d),q=a(d,"TABLE",{});var zr=o(q);yt=a(zr,"THEAD",{});var Vn=o(yt);v=a(Vn,"TR",{});var L=o(v);It=a(L,"TH",{});var jn=o(It);ma=f(jn,"Pipeline"),jn.forEach(t),Ta=s(L),At=a(L,"TH",{});var Qn=o(At);ba=f(Qn,"Paper"),Qn.forEach(t),Da=s(L),Pe=a(L,"TH",{align:!0});var Jn=o(Pe);Ga=f(Jn,"Tasks"),Jn.forEach(t),wa=s(L),ke=a(L,"TH",{align:!0});var Yn=o(ke);Sa=f(Yn,"Colab"),Yn.forEach(t),L.forEach(t),Vn.forEach(t),ya=s(zr),h=a(zr,"TBODY",{});var c=o(h);E=a(c,"TR",{});var B=o(E);Rt=a(B,"TD",{});var Kn=o(Rt);Oe=a(Kn,"A",{href:!0});var Wn=o(Oe);Ia=f(Wn,"cycle_diffusion"),Wn.forEach(t),Kn.forEach(t),Aa=s(B),xt=a(B,"TD",{});var Xn=o(xt);le=a(Xn,"A",{href:!0,rel:!0});var Zn=o(le);Mt=a(Zn,"STRONG",{});var el=o(Mt);Ra=f(el,"Cycle Diffusion"),el.forEach(t),Zn.forEach(t),Xn.forEach(t),xa=s(B),Ue=a(B,"TD",{align:!0});var tl=o(Ue);Ma=f(tl,"Image-to-Image Text-Guided Generation"),tl.forEach(t),Na=s(B),Nt=a(B,"TD",{align:!0}),o(Nt).forEach(t),B.forEach(t),Pa=s(c),m=a(c,"TR",{});var C=o(m);Pt=a(C,"TD",{});var rl=o(Pt);$e=a(rl,"A",{href:!0});var al=o($e);ka=f(al,"dance_diffusion"),al.forEach(t),rl.forEach(t),Oa=s(C),kt=a(C,"TD",{});var ol=o(kt);se=a(ol,"A",{href:!0,rel:!0});var nl=o(se);Ot=a(nl,"STRONG",{});var ll=o(Ot);Ua=f(ll,"Dance Diffusion"),ll.forEach(t),nl.forEach(t),ol.forEach(t),$a=s(C),qe=a(C,"TD",{align:!0});var sl=o(qe);qa=f(sl,"Unconditional Audio Generation"),sl.forEach(t),Ha=s(C),Ut=a(C,"TD",{align:!0}),o(Ut).forEach(t),C.forEach(t),La=s(c),T=a(c,"TR",{});var z=o(T);$t=a(z,"TD",{});var il=o($t);He=a(il,"A",{href:!0});var fl=o(He);Ba=f(fl,"ddpm"),fl.forEach(t),il.forEach(t),Ca=s(z),qt=a(z,"TD",{});var dl=o(qt);ie=a(dl,"A",{href:!0,rel:!0});var hl=o(ie);Ht=a(hl,"STRONG",{});var cl=o(Ht);za=f(cl,"Denoising Diffusion Probabilistic Models"),cl.forEach(t),hl.forEach(t),dl.forEach(t),Fa=s(z),Le=a(z,"TD",{align:!0});var ul=o(Le);Va=f(ul,"Unconditional Image Generation"),ul.forEach(t),ja=s(z),Lt=a(z,"TD",{align:!0}),o(Lt).forEach(t),z.forEach(t),Qa=s(c),b=a(c,"TR",{});var F=o(b);Bt=a(F,"TD",{});var gl=o(Bt);Be=a(gl,"A",{href:!0});var pl=o(Be);Ja=f(pl,"ddim"),pl.forEach(t),gl.forEach(t),Ya=s(F),Ct=a(F,"TD",{});var _l=o(Ct);fe=a(_l,"A",{href:!0,rel:!0});var vl=o(fe);zt=a(vl,"STRONG",{});var El=o(zt);Ka=f(El,"Denoising Diffusion Implicit Models"),El.forEach(t),vl.forEach(t),_l.forEach(t),Wa=s(F),Ce=a(F,"TD",{align:!0});var ml=o(Ce);Xa=f(ml,"Unconditional Image Generation"),ml.forEach(t),Za=s(F),Ft=a(F,"TD",{align:!0}),o(Ft).forEach(t),F.forEach(t),eo=s(c),D=a(c,"TR",{});var V=o(D);Vt=a(V,"TD",{});var Tl=o(Vt);ze=a(Tl,"A",{href:!0});var bl=o(ze);to=f(bl,"latent_diffusion"),bl.forEach(t),Tl.forEach(t),ro=s(V),jt=a(V,"TD",{});var Dl=o(jt);de=a(Dl,"A",{href:!0,rel:!0});var Gl=o(de);Qt=a(Gl,"STRONG",{});var wl=o(Qt);ao=f(wl,"High-Resolution Image Synthesis with Latent Diffusion Models"),wl.forEach(t),Gl.forEach(t),Dl.forEach(t),oo=s(V),Fe=a(V,"TD",{align:!0});var Sl=o(Fe);no=f(Sl,"Text-to-Image Generation"),Sl.forEach(t),lo=s(V),Jt=a(V,"TD",{align:!0}),o(Jt).forEach(t),V.forEach(t),so=s(c),G=a(c,"TR",{});var j=o(G);Yt=a(j,"TD",{});var yl=o(Yt);Ve=a(yl,"A",{href:!0});var Il=o(Ve);io=f(Il,"latent_diffusion_uncond"),Il.forEach(t),yl.forEach(t),fo=s(j),Kt=a(j,"TD",{});var Al=o(Kt);he=a(Al,"A",{href:!0,rel:!0});var Rl=o(he);Wt=a(Rl,"STRONG",{});var xl=o(Wt);ho=f(xl,"High-Resolution Image Synthesis with Latent Diffusion Models"),xl.forEach(t),Rl.forEach(t),Al.forEach(t),co=s(j),je=a(j,"TD",{align:!0});var Ml=o(je);uo=f(Ml,"Unconditional Image Generation"),Ml.forEach(t),go=s(j),Xt=a(j,"TD",{align:!0}),o(Xt).forEach(t),j.forEach(t),po=s(c),w=a(c,"TR",{});var Q=o(w);Zt=a(Q,"TD",{});var Nl=o(Zt);Qe=a(Nl,"A",{href:!0});var Pl=o(Qe);_o=f(Pl,"pndm"),Pl.forEach(t),Nl.forEach(t),vo=s(Q),er=a(Q,"TD",{});var kl=o(er);ce=a(kl,"A",{href:!0,rel:!0});var Ol=o(ce);tr=a(Ol,"STRONG",{});var Ul=o(tr);Eo=f(Ul,"Pseudo Numerical Methods for Diffusion Models on Manifolds"),Ul.forEach(t),Ol.forEach(t),kl.forEach(t),mo=s(Q),Je=a(Q,"TD",{align:!0});var $l=o(Je);To=f($l,"Unconditional Image Generation"),$l.forEach(t),bo=s(Q),rr=a(Q,"TD",{align:!0}),o(rr).forEach(t),Q.forEach(t),Do=s(c),S=a(c,"TR",{});var J=o(S);ar=a(J,"TD",{});var ql=o(ar);Ye=a(ql,"A",{href:!0});var Hl=o(Ye);Go=f(Hl,"score_sde_ve"),Hl.forEach(t),ql.forEach(t),wo=s(J),or=a(J,"TD",{});var Ll=o(or);ue=a(Ll,"A",{href:!0,rel:!0});var Bl=o(ue);nr=a(Bl,"STRONG",{});var Cl=o(nr);So=f(Cl,"Score-Based Generative Modeling through Stochastic Differential Equations"),Cl.forEach(t),Bl.forEach(t),Ll.forEach(t),yo=s(J),Ke=a(J,"TD",{align:!0});var zl=o(Ke);Io=f(zl,"Unconditional Image Generation"),zl.forEach(t),Ao=s(J),lr=a(J,"TD",{align:!0}),o(lr).forEach(t),J.forEach(t),Ro=s(c),y=a(c,"TR",{});var Y=o(y);sr=a(Y,"TD",{});var Fl=o(sr);We=a(Fl,"A",{href:!0});var Vl=o(We);xo=f(Vl,"score_sde_vp"),Vl.forEach(t),Fl.forEach(t),Mo=s(Y),ir=a(Y,"TD",{});var jl=o(ir);ge=a(jl,"A",{href:!0,rel:!0});var Ql=o(ge);fr=a(Ql,"STRONG",{});var Jl=o(fr);No=f(Jl,"Score-Based Generative Modeling through Stochastic Differential Equations"),Jl.forEach(t),Ql.forEach(t),jl.forEach(t),Po=s(Y),Xe=a(Y,"TD",{align:!0});var Yl=o(Xe);ko=f(Yl,"Unconditional Image Generation"),Yl.forEach(t),Oo=s(Y),dr=a(Y,"TD",{align:!0}),o(dr).forEach(t),Y.forEach(t),Uo=s(c),I=a(c,"TR",{});var K=o(I);hr=a(K,"TD",{});var Kl=o(hr);Ze=a(Kl,"A",{href:!0});var Wl=o(Ze);$o=f(Wl,"stable_diffusion"),Wl.forEach(t),Kl.forEach(t),qo=s(K),cr=a(K,"TD",{});var Xl=o(cr);pe=a(Xl,"A",{href:!0,rel:!0});var Zl=o(pe);ur=a(Zl,"STRONG",{});var es=o(ur);Ho=f(es,"Stable Diffusion"),es.forEach(t),Zl.forEach(t),Xl.forEach(t),Lo=s(K),et=a(K,"TD",{align:!0});var ts=o(et);Bo=f(ts,"Text-to-Image Generation"),ts.forEach(t),Co=s(K),tt=a(K,"TD",{align:!0});var rs=o(tt);_e=a(rs,"A",{href:!0,rel:!0});var as=o(_e);rt=a(as,"IMG",{src:!0,alt:!0}),as.forEach(t),rs.forEach(t),K.forEach(t),zo=s(c),A=a(c,"TR",{});var W=o(A);gr=a(W,"TD",{});var os=o(gr);at=a(os,"A",{href:!0});var ns=o(at);Fo=f(ns,"stable_diffusion"),ns.forEach(t),os.forEach(t),Vo=s(W),pr=a(W,"TD",{});var ls=o(pr);ve=a(ls,"A",{href:!0,rel:!0});var ss=o(ve);_r=a(ss,"STRONG",{});var is=o(_r);jo=f(is,"Stable Diffusion"),is.forEach(t),ss.forEach(t),ls.forEach(t),Qo=s(W),ot=a(W,"TD",{align:!0});var fs=o(ot);Jo=f(fs,"Image-to-Image Text-Guided Generation"),fs.forEach(t),Yo=s(W),nt=a(W,"TD",{align:!0});var ds=o(nt);Ee=a(ds,"A",{href:!0,rel:!0});var hs=o(Ee);lt=a(hs,"IMG",{src:!0,alt:!0}),hs.forEach(t),ds.forEach(t),W.forEach(t),Ko=s(c),R=a(c,"TR",{});var X=o(R);vr=a(X,"TD",{});var cs=o(vr);st=a(cs,"A",{href:!0});var us=o(st);Wo=f(us,"stable_diffusion"),us.forEach(t),cs.forEach(t),Xo=s(X),Er=a(X,"TD",{});var gs=o(Er);me=a(gs,"A",{href:!0,rel:!0});var ps=o(me);mr=a(ps,"STRONG",{});var _s=o(mr);Zo=f(_s,"Stable Diffusion"),_s.forEach(t),ps.forEach(t),gs.forEach(t),en=s(X),it=a(X,"TD",{align:!0});var vs=o(it);tn=f(vs,"Text-Guided Image Inpainting"),vs.forEach(t),rn=s(X),ft=a(X,"TD",{align:!0});var Es=o(ft);Te=a(Es,"A",{href:!0,rel:!0});var ms=o(Te);dt=a(ms,"IMG",{src:!0,alt:!0}),ms.forEach(t),Es.forEach(t),X.forEach(t),an=s(c),x=a(c,"TR",{});var Z=o(x);Tr=a(Z,"TD",{});var Ts=o(Tr);ht=a(Ts,"A",{href:!0});var bs=o(ht);on=f(bs,"stochastic_karras_ve"),bs.forEach(t),Ts.forEach(t),nn=s(Z),br=a(Z,"TD",{});var Ds=o(br);be=a(Ds,"A",{href:!0,rel:!0});var Gs=o(be);Dr=a(Gs,"STRONG",{});var ws=o(Dr);ln=f(ws,"Elucidating the Design Space of Diffusion-Based Generative Models"),ws.forEach(t),Gs.forEach(t),Ds.forEach(t),sn=s(Z),ct=a(Z,"TD",{align:!0});var Ss=o(ct);fn=f(Ss,"Unconditional Image Generation"),Ss.forEach(t),dn=s(Z),Gr=a(Z,"TD",{align:!0}),o(Gr).forEach(t),Z.forEach(t),hn=s(c),M=a(c,"TR",{});var ee=o(M);wr=a(ee,"TD",{});var ys=o(wr);ut=a(ys,"A",{href:!0});var Is=o(ut);cn=f(Is,"vq_diffusion"),Is.forEach(t),ys.forEach(t),un=s(ee),Sr=a(ee,"TD",{});var As=o(Sr);De=a(As,"A",{href:!0,rel:!0});var Rs=o(De);gn=f(Rs,"Vector Quantized Diffusion Model for Text-to-Image Synthesis"),Rs.forEach(t),As.forEach(t),pn=s(ee),gt=a(ee,"TD",{align:!0});var xs=o(gt);_n=f(xs,"Text-to-Image Generation"),xs.forEach(t),vn=s(ee),yr=a(ee,"TD",{align:!0}),o(yr).forEach(t),ee.forEach(t),c.forEach(t),zr.forEach(t),Ur=s(d),Ge=a(d,"P",{});var Tn=o(Ge);Ir=a(Tn,"STRONG",{});var Ms=o(Ir);En=f(Ms,"Note"),Ms.forEach(t),mn=f(Tn,": Pipelines are simple examples of how to play around with the diffusion systems as described in the corresponding papers."),Tn.forEach(t),this.h()},h(){n(N,"name","hf:doc:metadata"),n(N,"content",JSON.stringify(js)),Fr(we.src,Dn="https://raw.githubusercontent.com/huggingface/diffusers/77aadfee6a891ab9fcfb780f87c693f7a5beeb8e/docs/source/imgs/diffusers_library.jpg")||n(we,"src",Dn),n(we,"width","400"),n(_,"align","center"),n(U,"id","diffusers"),n(U,"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"),n(U,"href","#diffusers"),n(P,"class","relative group"),n(Ie,"href","./using-diffusers/conditional_image_generation"),n(Ae,"href","#pipelines"),n(Re,"href","./api/schedulers"),n(xe,"href","./api/models"),n(Me,"href","./training/overview"),n($,"id","diffusers-pipelines"),n($,"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"),n($,"href","#diffusers-pipelines"),n(O,"class","relative group"),n(Pe,"align","center"),n(ke,"align","center"),n(Oe,"href","./api/pipelines/cycle_diffusion"),n(le,"href","https://arxiv.org/abs/2210.05559"),n(le,"rel","nofollow"),n(Ue,"align","center"),n(Nt,"align","center"),n($e,"href","./api/pipelines/dance_diffusion"),n(se,"href","https://github.com/williamberman/diffusers.git"),n(se,"rel","nofollow"),n(qe,"align","center"),n(Ut,"align","center"),n(He,"href","./api/pipelines/ddpm"),n(ie,"href","https://arxiv.org/abs/2006.11239"),n(ie,"rel","nofollow"),n(Le,"align","center"),n(Lt,"align","center"),n(Be,"href","./api/pipelines/ddim"),n(fe,"href","https://arxiv.org/abs/2010.02502"),n(fe,"rel","nofollow"),n(Ce,"align","center"),n(Ft,"align","center"),n(ze,"href","./api/pipelines/latent_diffusion"),n(de,"href","https://arxiv.org/abs/2112.10752"),n(de,"rel","nofollow"),n(Fe,"align","center"),n(Jt,"align","center"),n(Ve,"href","./api/pipelines/latent_diffusion_uncond"),n(he,"href","https://arxiv.org/abs/2112.10752"),n(he,"rel","nofollow"),n(je,"align","center"),n(Xt,"align","center"),n(Qe,"href","./api/pipelines/pndm"),n(ce,"href","https://arxiv.org/abs/2202.09778"),n(ce,"rel","nofollow"),n(Je,"align","center"),n(rr,"align","center"),n(Ye,"href","./api/pipelines/score_sde_ve"),n(ue,"href","https://openreview.net/forum?id=PxTIG12RRHS"),n(ue,"rel","nofollow"),n(Ke,"align","center"),n(lr,"align","center"),n(We,"href","./api/pipelines/score_sde_vp"),n(ge,"href","https://openreview.net/forum?id=PxTIG12RRHS"),n(ge,"rel","nofollow"),n(Xe,"align","center"),n(dr,"align","center"),n(Ze,"href","./api/pipelines/stable_diffusion"),n(pe,"href","https://stability.ai/blog/stable-diffusion-public-release"),n(pe,"rel","nofollow"),n(et,"align","center"),Fr(rt.src,Gn="https://colab.research.google.com/assets/colab-badge.svg")||n(rt,"src",Gn),n(rt,"alt","Open In Colab"),n(_e,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/training_example.ipynb"),n(_e,"rel","nofollow"),n(tt,"align","center"),n(at,"href","./api/pipelines/stable_diffusion"),n(ve,"href","https://stability.ai/blog/stable-diffusion-public-release"),n(ve,"rel","nofollow"),n(ot,"align","center"),Fr(lt.src,wn="https://colab.research.google.com/assets/colab-badge.svg")||n(lt,"src",wn),n(lt,"alt","Open In Colab"),n(Ee,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/image_2_image_using_diffusers.ipynb"),n(Ee,"rel","nofollow"),n(nt,"align","center"),n(st,"href","./api/pipelines/stable_diffusion"),n(me,"href","https://stability.ai/blog/stable-diffusion-public-release"),n(me,"rel","nofollow"),n(it,"align","center"),Fr(dt.src,Sn="https://colab.research.google.com/assets/colab-badge.svg")||n(dt,"src",Sn),n(dt,"alt","Open In Colab"),n(Te,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/in_painting_with_stable_diffusion_using_diffusers.ipynb"),n(Te,"rel","nofollow"),n(ft,"align","center"),n(ht,"href","./api/pipelines/stochastic_karras_ve"),n(be,"href","https://arxiv.org/abs/2206.00364"),n(be,"rel","nofollow"),n(ct,"align","center"),n(Gr,"align","center"),n(ut,"href","./api/pipelines/vq_diffusion"),n(De,"href","https://arxiv.org/abs/2111.14822"),n(De,"rel","nofollow"),n(gt,"align","center"),n(yr,"align","center")},m(d,u){e(document.head,N),g(d,Ar,u),g(d,_,u),e(_,Vr),e(_,jr),e(_,we),e(_,Qr),e(_,Jr),g(d,Rr,u),g(d,P,u),e(P,U),e(U,vt),ks(te,vt,null),e(P,Yr),e(P,Et),e(Et,Kr),g(d,xr,u),g(d,Se,u),e(Se,Wr),g(d,Mr,u),g(d,ye,u),e(ye,Xr),g(d,Nr,u),g(d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,lo),e(D,Jt),e(h,so),e(h,G),e(G,Yt),e(Yt,Ve),e(Ve,io),e(G,fo),e(G,Kt),e(Kt,he),e(he,Wt),e(Wt,ho),e(G,co),e(G,je),e(je,uo),e(G,go),e(G,Xt),e(h,po),e(h,w),e(w,Zt),e(Zt,Qe),e(Qe,_o),e(w,vo),e(w,er),e(er,ce),e(ce,tr),e(tr,Eo),e(w,mo),e(w,Je),e(Je,To),e(w,bo),e(w,rr),e(h,Do),e(h,S),e(S,ar),e(ar,Ye),e(Ye,Go),e(S,wo),e(S,or),e(or,ue),e(ue,nr),e(nr,So),e(S,yo),e(S,Ke),e(Ke,Io),e(S,Ao),e(S,lr),e(h,Ro),e(h,y),e(y,sr),e(sr,We),e(We,xo),e(y,Mo),e(y,ir),e(ir,ge),e(ge,fr),e(fr,No),e(y,Po),e(y,Xe),e(Xe,ko),e(y,Oo),e(y,dr),e(h,Uo),e(h,I),e(I,hr),e(hr,Ze),e(Ze,$o),e(I,qo),e(I,cr),e(cr,pe),e(pe,ur),e(ur,Ho),e(I,Lo),e(I,et),e(et,Bo),e(I,Co),e(I,tt),e(tt,_e),e(_e,rt),e(h,zo),e(h,A),e(A,gr),e(gr,at),e(at,Fo),e(A,Vo),e(A,pr),e(pr,ve),e(ve,_r),e(_r,jo),e(A,Qo),e(A,ot),e(ot,Jo),e(A,Yo),e(A,nt),e(nt,Ee),e(Ee,lt),e(h,Ko),e(h,R),e(R,vr),e(vr,st),e(st,Wo),e(R,Xo),e(R,Er),e(Er,me),e(me,mr),e(mr,Zo),e(R,en),e(R,it),e(it,tn),e(R,rn),e(R,ft),e(ft,Te),e(Te,dt),e(h,an),e(h,x),e(x,Tr),e(Tr,ht),e(ht,on),e(x,nn),e(x,br),e(br,be),e(be,Dr),e(Dr,ln),e(x,sn),e(x,ct),e(ct,fn),e(x,dn),e(x,Gr),e(h,hn),e(h,M),e(M,wr),e(wr,ut),e(ut,cn),e(M,un),e(M,Sr),e(Sr,De),e(De,gn),e(M,pn),e(M,gt),e(gt,_n),e(M,vn),e(M,yr),g(d,Ur,u),g(d,Ge,u),e(Ge,Ir),e(Ir,En),e(Ge,mn),$r=!0},p:zs,i(d){$r||(Os(te.$$.fragment,d),Os(ne.$$.fragment,d),$r=!0)},o(d){Us(te.$$.fragment,d),Us(ne.$$.fragment,d),$r=!1},d(d){t(N),d&&t(Ar),d&&t(_),d&&t(Rr),d&&t(P),$s(te),d&&t(xr),d&&t(Se),d&&t(Mr),d&&t(ye),d&&t(Nr),d&&t(p),d&&t(Pr),d&&t(O),$s(ne),d&&t(kr),d&&t(Ne),d&&t(Or),d&&t(q),d&&t(Ur),d&&t(Ge)}}}const js={local:"diffusers",sections:[{local:"diffusers-pipelines",title:"\u{1F9E8} Diffusers Pipelines"}],title:"\u{1F9E8} Diffusers"};function Qs(bn){return Fs(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ks extends Hs{constructor(N){super();Ls(this,N,Qs,Vs,Bs,{})}}export{Ks as default,js as metadata};
