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