import{S as ms,i as ds,s as vs,e as s,k as p,w as v,t as a,M as $s,c as i,d as t,m as u,a as r,x as $,h as n,b as h,G as l,g as f,y,q as w,o as _,B as E,v as ys}from"../chunks/vendor-hf-doc-builder.js";import{T as ws}from"../chunks/Tip-hf-doc-builder.js";import{I as zt}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as A}from"../chunks/CodeBlock-hf-doc-builder.js";function _s(ot){let c,N,d,P,T;return{c(){c=s("p"),N=a("You must keep the "),d=s("code"),P=a("diffusers"),T=a(" folder if you want to keep using the library.")},l(k){c=i(k,"P",{});var x=r(c);N=n(x,"You must keep the "),d=i(x,"CODE",{});var j=r(d);P=n(j,"diffusers"),j.forEach(t),T=n(x," folder if you want to keep using the library."),x.forEach(t)},m(k,x){f(k,c,x),l(c,N),l(c,d),l(d,P),l(c,T)},d(k){k&&t(c)}}}function Es(ot){let c,N,d,P,T,k,x,j,Kt,st,me,Qt,it,de,Vt,rt,q,ve,W,Xt,Zt,el,$e,J,tl,ll,at,F,L,Te,z,ol,Fe,sl,nt,I,il,K,rl,al,Q,nl,fl,ft,ye,pl,pt,V,ut,we,ul,ht,X,ct,_e,hl,mt,Ee,Oe,cl,dt,Z,vt,be,Se,ml,$t,ee,yt,O,Y,Ne,te,dl,je,vl,wt,g,$l,qe,yl,wl,Le,_l,El,Ye,bl,kl,_t,D,Pl,He,gl,Dl,Ge,xl,Il,le,Cl,Al,Et,oe,Tl,Re,Fl,bt,se,kt,ke,Ol,Pt,ie,gt,m,Sl,Ue,Nl,jl,Be,ql,Ll,Me,Yl,Hl,We,Gl,Rl,Je,Ul,Bl,re,Ml,Wl,Dt,S,H,ze,ae,Jl,Ke,zl,xt,Pe,Kl,It,G,ne,Ql,Qe,Vl,Xl,Zl,Ve,eo,Ct,ge,to,At,fe,Tt,De,Xe,lo,Ft,pe,Ot,xe,Ze,oo,St,ue,Nt,C,so,et,io,ro,tt,ao,no,jt,R,qt,Ie,fo,Lt,he,Yt,U,po,lt,uo,ho,Ht;return k=new zt({}),z=new zt({}),V=new A({props:{code:"python -m venv .env",highlighted:'python -m venv .<span class="hljs-built_in">env</span>'}}),X=new A({props:{code:"source .env/bin/activate",highlighted:'<span class="hljs-built_in">source</span> .<span class="hljs-built_in">env</span>/bin/activate'}}),Z=new A({props:{code:'pip install diffusers["torch"]',highlighted:'pip install diffusers[<span class="hljs-string">&quot;torch&quot;</span>]'}}),ee=new A({props:{code:'pip install diffusers["flax"]',highlighted:'pip install diffusers[<span class="hljs-string">&quot;flax&quot;</span>]'}}),te=new zt({}),se=new A({props:{code:"pip install accelerate",highlighted:"pip install accelerate"}}),ie=new A({props:{code:"pip install git+https://github.com/huggingface/diffusers",highlighted:"pip install git+https://github.com/huggingface/diffusers"}}),ae=new zt({}),fe=new A({props:{code:`git clone https://github.com/huggingface/diffusers.git
cd diffusers`,highlighted:`git <span class="hljs-built_in">clone</span> https://github.com/huggingface/diffusers.git
<span class="hljs-built_in">cd</span> diffusers`}}),pe=new A({props:{code:'pip install -e ".[torch]"',highlighted:'pip <span class="hljs-keyword">install</span> -e <span class="hljs-string">&quot;.[torch]&quot;</span>'}}),ue=new A({props:{code:'pip install -e ".[flax]"',highlighted:'pip <span class="hljs-keyword">install</span> -e <span class="hljs-string">&quot;.[flax]&quot;</span>'}}),R=new ws({props:{warning:!0,$$slots:{default:[_s]},$$scope:{ctx:ot}}}),he=new A({props:{code:`cd ~/diffusers/
git pull`,highlighted:`<span class="hljs-built_in">cd</span> ~/diffusers/
git pull`}}),{c(){c=s("meta"),N=p(),d=s("h1"),P=s("a"),T=s("span"),v(k.$$.fragment),x=p(),j=s("span"),Kt=a("Installation"),st=p(),me=s("p"),Qt=a("Install \u{1F917} Diffusers for whichever deep learning library you\u2019re working with."),it=p(),de=s("p"),Vt=a("\u{1F917} Diffusers is tested on Python 3.7+, PyTorch 1.7.0+ and flax. Follow the installation instructions below for the deep learning library you are using:"),rt=p(),q=s("ul"),ve=s("li"),W=s("a"),Xt=a("PyTorch"),Zt=a(" installation instructions."),el=p(),$e=s("li"),J=s("a"),tl=a("Flax"),ll=a(" installation instructions."),at=p(),F=s("h2"),L=s("a"),Te=s("span"),v(z.$$.fragment),ol=p(),Fe=s("span"),sl=a("Install with pip"),nt=p(),I=s("p"),il=a("You should install \u{1F917} Diffusers in a "),K=s("a"),rl=a("virtual environment"),al=a(`.
If you\u2019re unfamiliar with Python virtual environments, take a look at this `),Q=s("a"),nl=a("guide"),fl=a(`.
A virtual environment makes it easier to manage different projects, and avoid compatibility issues between dependencies.`),ft=p(),ye=s("p"),pl=a("Start by creating a virtual environment in your project directory:"),pt=p(),v(V.$$.fragment),ut=p(),we=s("p"),ul=a("Activate the virtual environment:"),ht=p(),v(X.$$.fragment),ct=p(),_e=s("p"),hl=a("Now you\u2019re ready to install \u{1F917} Diffusers with the following command:"),mt=p(),Ee=s("p"),Oe=s("strong"),cl=a("For PyTorch"),dt=p(),v(Z.$$.fragment),vt=p(),be=s("p"),Se=s("strong"),ml=a("For Flax"),$t=p(),v(ee.$$.fragment),yt=p(),O=s("h2"),Y=s("a"),Ne=s("span"),v(te.$$.fragment),dl=p(),je=s("span"),vl=a("Install from source"),wt=p(),g=s("p"),$l=a("Before intsalling "),qe=s("code"),yl=a("diffusers"),wl=a(" from source, make sure you have "),Le=s("code"),_l=a("torch"),El=a(" and "),Ye=s("code"),bl=a("accelerate"),kl=a(" installed."),_t=p(),D=s("p"),Pl=a("For "),He=s("code"),gl=a("torch"),Dl=a(" installation refer to the "),Ge=s("code"),xl=a("torch"),Il=p(),le=s("a"),Cl=a("docs"),Al=a("."),Et=p(),oe=s("p"),Tl=a("To install "),Re=s("code"),Fl=a("accelerate"),bt=p(),v(se.$$.fragment),kt=p(),ke=s("p"),Ol=a("Install \u{1F917} Diffusers from source with the following command:"),Pt=p(),v(ie.$$.fragment),gt=p(),m=s("p"),Sl=a("This command installs the bleeding edge "),Ue=s("code"),Nl=a("main"),jl=a(" version rather than the latest "),Be=s("code"),ql=a("stable"),Ll=a(` version.
The `),Me=s("code"),Yl=a("main"),Hl=a(` version is useful for staying up-to-date with the latest developments.
For instance, if a bug has been fixed since the last official release but a new release hasn\u2019t been rolled out yet.
However, this means the `),We=s("code"),Gl=a("main"),Rl=a(` version may not always be stable.
We strive to keep the `),Je=s("code"),Ul=a("main"),Bl=a(` version operational, and most issues are usually resolved within a few hours or a day.
If you run into a problem, please open an `),re=s("a"),Ml=a("Issue"),Wl=a(", so we can fix it even sooner!"),Dt=p(),S=s("h2"),H=s("a"),ze=s("span"),v(ae.$$.fragment),Jl=p(),Ke=s("span"),zl=a("Editable install"),xt=p(),Pe=s("p"),Kl=a("You will need an editable install if you\u2019d like to:"),It=p(),G=s("ul"),ne=s("li"),Ql=a("Use the "),Qe=s("code"),Vl=a("main"),Xl=a(" version of the source code."),Zl=p(),Ve=s("li"),eo=a("Contribute to \u{1F917} Diffusers and need to test changes in the code."),Ct=p(),ge=s("p"),to=a("Clone the repository and install \u{1F917} Diffusers with the following commands:"),At=p(),v(fe.$$.fragment),Tt=p(),De=s("p"),Xe=s("strong"),lo=a("For PyTorch"),Ft=p(),v(pe.$$.fragment),Ot=p(),xe=s("p"),Ze=s("strong"),oo=a("For Flax"),St=p(),v(ue.$$.fragment),Nt=p(),C=s("p"),so=a(`These commands will link the folder you cloned the repository to and your Python library paths.
Python will now look inside the folder you cloned to in addition to the normal library paths.
For example, if your Python packages are typically installed in `),et=s("code"),io=a("~/anaconda3/envs/main/lib/python3.7/site-packages/"),ro=a(", Python will also search the folder you cloned to: "),tt=s("code"),ao=a("~/diffusers/"),no=a("."),jt=p(),v(R.$$.fragment),qt=p(),Ie=s("p"),fo=a("Now you can easily update your clone to the latest version of \u{1F917} Diffusers with the following command:"),Lt=p(),v(he.$$.fragment),Yt=p(),U=s("p"),po=a("Your Python environment will find the "),lt=s("code"),uo=a("main"),ho=a(" version of \u{1F917} Diffusers on the next run."),this.h()},l(e){const o=$s('[data-svelte="svelte-1phssyn"]',document.head);c=i(o,"META",{name:!0,content:!0}),o.forEach(t),N=u(e),d=i(e,"H1",{class:!0});var ce=r(d);P=i(ce,"A",{id:!0,class:!0,href:!0});var $o=r(P);T=i($o,"SPAN",{});var yo=r(T);$(k.$$.fragment,yo),yo.forEach(t),$o.forEach(t),x=u(ce),j=i(ce,"SPAN",{});var wo=r(j);Kt=n(wo,"Installation"),wo.forEach(t),ce.forEach(t),st=u(e),me=i(e,"P",{});var _o=r(me);Qt=n(_o,"Install \u{1F917} Diffusers for whichever deep learning library you\u2019re working with."),_o.forEach(t),it=u(e),de=i(e,"P",{});var Eo=r(de);Vt=n(Eo,"\u{1F917} Diffusers is tested on Python 3.7+, PyTorch 1.7.0+ and flax. Follow the installation instructions below for the deep learning library you are using:"),Eo.forEach(t),rt=u(e),q=i(e,"UL",{});var Gt=r(q);ve=i(Gt,"LI",{});var co=r(ve);W=i(co,"A",{href:!0,rel:!0});var bo=r(W);Xt=n(bo,"PyTorch"),bo.forEach(t),Zt=n(co," installation instructions."),co.forEach(t),el=u(Gt),$e=i(Gt,"LI",{});var mo=r($e);J=i(mo,"A",{href:!0,rel:!0});var ko=r(J);tl=n(ko,"Flax"),ko.forEach(t),ll=n(mo," installation instructions."),mo.forEach(t),Gt.forEach(t),at=u(e),F=i(e,"H2",{class:!0});var Rt=r(F);L=i(Rt,"A",{id:!0,class:!0,href:!0});var Po=r(L);Te=i(Po,"SPAN",{});var go=r(Te);$(z.$$.fragment,go),go.forEach(t),Po.forEach(t),ol=u(Rt),Fe=i(Rt,"SPAN",{});var Do=r(Fe);sl=n(Do,"Install with pip"),Do.forEach(t),Rt.forEach(t),nt=u(e),I=i(e,"P",{});var Ce=r(I);il=n(Ce,"You should install \u{1F917} Diffusers in a "),K=i(Ce,"A",{href:!0,rel:!0});var xo=r(K);rl=n(xo,"virtual environment"),xo.forEach(t),al=n(Ce,`.
If you\u2019re unfamiliar with Python virtual environments, take a look at this `),Q=i(Ce,"A",{href:!0,rel:!0});var Io=r(Q);nl=n(Io,"guide"),Io.forEach(t),fl=n(Ce,`.
A virtual environment makes it easier to manage different projects, and avoid compatibility issues between dependencies.`),Ce.forEach(t),ft=u(e),ye=i(e,"P",{});var Co=r(ye);pl=n(Co,"Start by creating a virtual environment in your project directory:"),Co.forEach(t),pt=u(e),$(V.$$.fragment,e),ut=u(e),we=i(e,"P",{});var Ao=r(we);ul=n(Ao,"Activate the virtual environment:"),Ao.forEach(t),ht=u(e),$(X.$$.fragment,e),ct=u(e),_e=i(e,"P",{});var To=r(_e);hl=n(To,"Now you\u2019re ready to install \u{1F917} Diffusers with the following command:"),To.forEach(t),mt=u(e),Ee=i(e,"P",{});var Fo=r(Ee);Oe=i(Fo,"STRONG",{});var Oo=r(Oe);cl=n(Oo,"For PyTorch"),Oo.forEach(t),Fo.forEach(t),dt=u(e),$(Z.$$.fragment,e),vt=u(e),be=i(e,"P",{});var So=r(be);Se=i(So,"STRONG",{});var No=r(Se);ml=n(No,"For Flax"),No.forEach(t),So.forEach(t),$t=u(e),$(ee.$$.fragment,e),yt=u(e),O=i(e,"H2",{class:!0});var Ut=r(O);Y=i(Ut,"A",{id:!0,class:!0,href:!0});var jo=r(Y);Ne=i(jo,"SPAN",{});var qo=r(Ne);$(te.$$.fragment,qo),qo.forEach(t),jo.forEach(t),dl=u(Ut),je=i(Ut,"SPAN",{});var Lo=r(je);vl=n(Lo,"Install from source"),Lo.forEach(t),Ut.forEach(t),wt=u(e),g=i(e,"P",{});var B=r(g);$l=n(B,"Before intsalling "),qe=i(B,"CODE",{});var Yo=r(qe);yl=n(Yo,"diffusers"),Yo.forEach(t),wl=n(B," from source, make sure you have "),Le=i(B,"CODE",{});var Ho=r(Le);_l=n(Ho,"torch"),Ho.forEach(t),El=n(B," and "),Ye=i(B,"CODE",{});var Go=r(Ye);bl=n(Go,"accelerate"),Go.forEach(t),kl=n(B," installed."),B.forEach(t),_t=u(e),D=i(e,"P",{});var M=r(D);Pl=n(M,"For "),He=i(M,"CODE",{});var Ro=r(He);gl=n(Ro,"torch"),Ro.forEach(t),Dl=n(M," installation refer to the "),Ge=i(M,"CODE",{});var Uo=r(Ge);xl=n(Uo,"torch"),Uo.forEach(t),Il=u(M),le=i(M,"A",{href:!0,rel:!0});var Bo=r(le);Cl=n(Bo,"docs"),Bo.forEach(t),Al=n(M,"."),M.forEach(t),Et=u(e),oe=i(e,"P",{});var vo=r(oe);Tl=n(vo,"To install "),Re=i(vo,"CODE",{});var Mo=r(Re);Fl=n(Mo,"accelerate"),Mo.forEach(t),vo.forEach(t),bt=u(e),$(se.$$.fragment,e),kt=u(e),ke=i(e,"P",{});var Wo=r(ke);Ol=n(Wo,"Install \u{1F917} Diffusers from source with the following command:"),Wo.forEach(t),Pt=u(e),$(ie.$$.fragment,e),gt=u(e),m=i(e,"P",{});var b=r(m);Sl=n(b,"This command installs the bleeding edge "),Ue=i(b,"CODE",{});var Jo=r(Ue);Nl=n(Jo,"main"),Jo.forEach(t),jl=n(b," version rather than the latest "),Be=i(b,"CODE",{});var zo=r(Be);ql=n(zo,"stable"),zo.forEach(t),Ll=n(b,` version.
The `),Me=i(b,"CODE",{});var Ko=r(Me);Yl=n(Ko,"main"),Ko.forEach(t),Hl=n(b,` version is useful for staying up-to-date with the latest developments.
For instance, if a bug has been fixed since the last official release but a new release hasn\u2019t been rolled out yet.
However, this means the `),We=i(b,"CODE",{});var Qo=r(We);Gl=n(Qo,"main"),Qo.forEach(t),Rl=n(b,` version may not always be stable.
We strive to keep the `),Je=i(b,"CODE",{});var Vo=r(Je);Ul=n(Vo,"main"),Vo.forEach(t),Bl=n(b,` version operational, and most issues are usually resolved within a few hours or a day.
If you run into a problem, please open an `),re=i(b,"A",{href:!0,rel:!0});var Xo=r(re);Ml=n(Xo,"Issue"),Xo.forEach(t),Wl=n(b,", so we can fix it even sooner!"),b.forEach(t),Dt=u(e),S=i(e,"H2",{class:!0});var Bt=r(S);H=i(Bt,"A",{id:!0,class:!0,href:!0});var Zo=r(H);ze=i(Zo,"SPAN",{});var es=r(ze);$(ae.$$.fragment,es),es.forEach(t),Zo.forEach(t),Jl=u(Bt),Ke=i(Bt,"SPAN",{});var ts=r(Ke);zl=n(ts,"Editable install"),ts.forEach(t),Bt.forEach(t),xt=u(e),Pe=i(e,"P",{});var ls=r(Pe);Kl=n(ls,"You will need an editable install if you\u2019d like to:"),ls.forEach(t),It=u(e),G=i(e,"UL",{});var Mt=r(G);ne=i(Mt,"LI",{});var Wt=r(ne);Ql=n(Wt,"Use the "),Qe=i(Wt,"CODE",{});var os=r(Qe);Vl=n(os,"main"),os.forEach(t),Xl=n(Wt," version of the source code."),Wt.forEach(t),Zl=u(Mt),Ve=i(Mt,"LI",{});var ss=r(Ve);eo=n(ss,"Contribute to \u{1F917} Diffusers and need to test changes in the code."),ss.forEach(t),Mt.forEach(t),Ct=u(e),ge=i(e,"P",{});var is=r(ge);to=n(is,"Clone the repository and install \u{1F917} Diffusers with the following commands:"),is.forEach(t),At=u(e),$(fe.$$.fragment,e),Tt=u(e),De=i(e,"P",{});var rs=r(De);Xe=i(rs,"STRONG",{});var as=r(Xe);lo=n(as,"For PyTorch"),as.forEach(t),rs.forEach(t),Ft=u(e),$(pe.$$.fragment,e),Ot=u(e),xe=i(e,"P",{});var ns=r(xe);Ze=i(ns,"STRONG",{});var fs=r(Ze);oo=n(fs,"For Flax"),fs.forEach(t),ns.forEach(t),St=u(e),$(ue.$$.fragment,e),Nt=u(e),C=i(e,"P",{});var Ae=r(C);so=n(Ae,`These commands will link the folder you cloned the repository to and your Python library paths.
Python will now look inside the folder you cloned to in addition to the normal library paths.
For example, if your Python packages are typically installed in `),et=i(Ae,"CODE",{});var ps=r(et);io=n(ps,"~/anaconda3/envs/main/lib/python3.7/site-packages/"),ps.forEach(t),ro=n(Ae,", Python will also search the folder you cloned to: "),tt=i(Ae,"CODE",{});var us=r(tt);ao=n(us,"~/diffusers/"),us.forEach(t),no=n(Ae,"."),Ae.forEach(t),jt=u(e),$(R.$$.fragment,e),qt=u(e),Ie=i(e,"P",{});var hs=r(Ie);fo=n(hs,"Now you can easily update your clone to the latest version of \u{1F917} Diffusers with the following command:"),hs.forEach(t),Lt=u(e),$(he.$$.fragment,e),Yt=u(e),U=i(e,"P",{});var Jt=r(U);po=n(Jt,"Your Python environment will find the "),lt=i(Jt,"CODE",{});var cs=r(lt);uo=n(cs,"main"),cs.forEach(t),ho=n(Jt," version of \u{1F917} Diffusers on the next run."),Jt.forEach(t),this.h()},h(){h(c,"name","hf:doc:metadata"),h(c,"content",JSON.stringify(bs)),h(P,"id","installation"),h(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"),h(P,"href","#installation"),h(d,"class","relative group"),h(W,"href","https://pytorch.org/get-started/locally/"),h(W,"rel","nofollow"),h(J,"href","https://flax.readthedocs.io/en/latest/"),h(J,"rel","nofollow"),h(L,"id","install-with-pip"),h(L,"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"),h(L,"href","#install-with-pip"),h(F,"class","relative group"),h(K,"href","https://docs.python.org/3/library/venv.html"),h(K,"rel","nofollow"),h(Q,"href","https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/"),h(Q,"rel","nofollow"),h(Y,"id","install-from-source"),h(Y,"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"),h(Y,"href","#install-from-source"),h(O,"class","relative group"),h(le,"href","https://pytorch.org/get-started/locally/#start-locally"),h(le,"rel","nofollow"),h(re,"href","https://github.com/huggingface/transformers/issues"),h(re,"rel","nofollow"),h(H,"id","editable-install"),h(H,"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"),h(H,"href","#editable-install"),h(S,"class","relative group")},m(e,o){l(document.head,c),f(e,N,o),f(e,d,o),l(d,P),l(P,T),y(k,T,null),l(d,x),l(d,j),l(j,Kt),f(e,st,o),f(e,me,o),l(me,Qt),f(e,it,o),f(e,de,o),l(de,Vt),f(e,rt,o),f(e,q,o),l(q,ve),l(ve,W),l(W,Xt),l(ve,Zt),l(q,el),l(q,$e),l($e,J),l(J,tl),l($e,ll),f(e,at,o),f(e,F,o),l(F,L),l(L,Te),y(z,Te,null),l(F,ol),l(F,Fe),l(Fe,sl),f(e,nt,o),f(e,I,o),l(I,il),l(I,K),l(K,rl),l(I,al),l(I,Q),l(Q,nl),l(I,fl),f(e,ft,o),f(e,ye,o),l(ye,pl),f(e,pt,o),y(V,e,o),f(e,ut,o),f(e,we,o),l(we,ul),f(e,ht,o),y(X,e,o),f(e,ct,o),f(e,_e,o),l(_e,hl),f(e,mt,o),f(e,Ee,o),l(Ee,Oe),l(Oe,cl),f(e,dt,o),y(Z,e,o),f(e,vt,o),f(e,be,o),l(be,Se),l(Se,ml),f(e,$t,o),y(ee,e,o),f(e,yt,o),f(e,O,o),l(O,Y),l(Y,Ne),y(te,Ne,null),l(O,dl),l(O,je),l(je,vl),f(e,wt,o),f(e,g,o),l(g,$l),l(g,qe),l(qe,yl),l(g,wl),l(g,Le),l(Le,_l),l(g,El),l(g,Ye),l(Ye,bl),l(g,kl),f(e,_t,o),f(e,D,o),l(D,Pl),l(D,He),l(He,gl),l(D,Dl),l(D,Ge),l(Ge,xl),l(D,Il),l(D,le),l(le,Cl),l(D,Al),f(e,Et,o),f(e,oe,o),l(oe,Tl),l(oe,Re),l(Re,Fl),f(e,bt,o),y(se,e,o),f(e,kt,o),f(e,ke,o),l(ke,Ol),f(e,Pt,o),y(ie,e,o),f(e,gt,o),f(e,m,o),l(m,Sl),l(m,Ue),l(Ue,Nl),l(m,jl),l(m,Be),l(Be,ql),l(m,Ll),l(m,Me),l(Me,Yl),l(m,Hl),l(m,We),l(We,Gl),l(m,Rl),l(m,Je),l(Je,Ul),l(m,Bl),l(m,re),l(re,Ml),l(m,Wl),f(e,Dt,o),f(e,S,o),l(S,H),l(H,ze),y(ae,ze,null),l(S,Jl),l(S,Ke),l(Ke,zl),f(e,xt,o),f(e,Pe,o),l(Pe,Kl),f(e,It,o),f(e,G,o),l(G,ne),l(ne,Ql),l(ne,Qe),l(Qe,Vl),l(ne,Xl),l(G,Zl),l(G,Ve),l(Ve,eo),f(e,Ct,o),f(e,ge,o),l(ge,to),f(e,At,o),y(fe,e,o),f(e,Tt,o),f(e,De,o),l(De,Xe),l(Xe,lo),f(e,Ft,o),y(pe,e,o),f(e,Ot,o),f(e,xe,o),l(xe,Ze),l(Ze,oo),f(e,St,o),y(ue,e,o),f(e,Nt,o),f(e,C,o),l(C,so),l(C,et),l(et,io),l(C,ro),l(C,tt),l(tt,ao),l(C,no),f(e,jt,o),y(R,e,o),f(e,qt,o),f(e,Ie,o),l(Ie,fo),f(e,Lt,o),y(he,e,o),f(e,Yt,o),f(e,U,o),l(U,po),l(U,lt),l(lt,uo),l(U,ho),Ht=!0},p(e,[o]){const ce={};o&2&&(ce.$$scope={dirty:o,ctx:e}),R.$set(ce)},i(e){Ht||(w(k.$$.fragment,e),w(z.$$.fragment,e),w(V.$$.fragment,e),w(X.$$.fragment,e),w(Z.$$.fragment,e),w(ee.$$.fragment,e),w(te.$$.fragment,e),w(se.$$.fragment,e),w(ie.$$.fragment,e),w(ae.$$.fragment,e),w(fe.$$.fragment,e),w(pe.$$.fragment,e),w(ue.$$.fragment,e),w(R.$$.fragment,e),w(he.$$.fragment,e),Ht=!0)},o(e){_(k.$$.fragment,e),_(z.$$.fragment,e),_(V.$$.fragment,e),_(X.$$.fragment,e),_(Z.$$.fragment,e),_(ee.$$.fragment,e),_(te.$$.fragment,e),_(se.$$.fragment,e),_(ie.$$.fragment,e),_(ae.$$.fragment,e),_(fe.$$.fragment,e),_(pe.$$.fragment,e),_(ue.$$.fragment,e),_(R.$$.fragment,e),_(he.$$.fragment,e),Ht=!1},d(e){t(c),e&&t(N),e&&t(d),E(k),e&&t(st),e&&t(me),e&&t(it),e&&t(de),e&&t(rt),e&&t(q),e&&t(at),e&&t(F),E(z),e&&t(nt),e&&t(I),e&&t(ft),e&&t(ye),e&&t(pt),E(V,e),e&&t(ut),e&&t(we),e&&t(ht),E(X,e),e&&t(ct),e&&t(_e),e&&t(mt),e&&t(Ee),e&&t(dt),E(Z,e),e&&t(vt),e&&t(be),e&&t($t),E(ee,e),e&&t(yt),e&&t(O),E(te),e&&t(wt),e&&t(g),e&&t(_t),e&&t(D),e&&t(Et),e&&t(oe),e&&t(bt),E(se,e),e&&t(kt),e&&t(ke),e&&t(Pt),E(ie,e),e&&t(gt),e&&t(m),e&&t(Dt),e&&t(S),E(ae),e&&t(xt),e&&t(Pe),e&&t(It),e&&t(G),e&&t(Ct),e&&t(ge),e&&t(At),E(fe,e),e&&t(Tt),e&&t(De),e&&t(Ft),E(pe,e),e&&t(Ot),e&&t(xe),e&&t(St),E(ue,e),e&&t(Nt),e&&t(C),e&&t(jt),E(R,e),e&&t(qt),e&&t(Ie),e&&t(Lt),E(he,e),e&&t(Yt),e&&t(U)}}}const bs={local:"installation",sections:[{local:"install-with-pip",title:"Install with pip"},{local:"install-from-source",title:"Install from source"},{local:"editable-install",title:"Editable install"}],title:"Installation"};function ks(ot){return ys(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Is extends ms{constructor(c){super();ds(this,c,ks,Es,vs,{})}}export{Is as default,bs as metadata};
