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