import{s as L,n as U,o as j}from"../chunks/scheduler.5f3e6389.js";import{S as N,i as V,e as g,s as i,c as y,h as q,a as h,d as n,b as s,f as R,g as Z,j as X,k as Y,l as O,m as a,n as v,t as H,o as k,p as I}from"../chunks/index.373ab25c.js";import{C as S,H as z}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.84e44acb.js";import{C as G}from"../chunks/CodeBlock.d743bcd5.js";function B(W){let l,d,c,w,o,x,m,M,p,P="To install Optimum ONNX, you can do:",_,u,C,r,E="Optimum ONNX is a fast-moving project, and you may want to install from source with the following command:",J,f,T,$,b;return o=new S({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),m=new z({props:{title:"Installation",local:"installation",headingTag:"h1"}}),u=new G({props:{code:"cGlwJTIwaW5zdGFsbCUyMCUyMm9wdGltdW0tb25ueCU1Qm9ubnhydW50aW1lJTVEJTIwJTQwJTIwZ2l0JTJCaHR0cHMlM0ElMkYlMkZnaXRodWIuY29tJTJGaHVnZ2luZ2ZhY2UlMkZvcHRpbXVtLW9ubnguZ2l0JTIy",highlighted:'pip install <span class="hljs-string">&quot;optimum-onnx[onnxruntime] @ git+https://github.com/huggingface/optimum-onnx.git&quot;</span>',wrap:!1}}),f=new G({props:{code:"cHl0aG9uJTIwLW0lMjBwaXAlMjBpbnN0YWxsJTIwZ2l0JTJCaHR0cHMlM0ElMkYlMkZnaXRodWIuY29tJTJGaHVnZ2luZ2ZhY2UlMkZvcHRpbXVtLW9ubnguZ2l0",highlighted:"python -m pip install git+https://github.com/huggingface/optimum-onnx.git",wrap:!1}}),{c(){l=g("meta"),d=i(),c=g("p"),w=i(),y(o.$$.fragment),x=i(),y(m.$$.fragment),M=i(),p=g("p"),p.textContent=P,_=i(),y(u.$$.fragment),C=i(),r=g("p"),r.textContent=E,J=i(),y(f.$$.fragment),T=i(),$=g("p"),this.h()},l(t){const e=q("svelte-u9bgzb",document.head);l=h(e,"META",{name:!0,content:!0}),e.forEach(n),d=s(t),c=h(t,"P",{}),R(c).forEach(n),w=s(t),Z(o.$$.fragment,t),x=s(t),Z(m.$$.fragment,t),M=s(t),p=h(t,"P",{"data-svelte-h":!0}),X(p)!=="svelte-19nq0lu"&&(p.textContent=P),_=s(t),Z(u.$$.fragment,t),C=s(t),r=h(t,"P",{"data-svelte-h":!0}),X(r)!=="svelte-6wfe70"&&(r.textContent=E),J=s(t),Z(f.$$.fragment,t),T=s(t),$=h(t,"P",{}),R($).forEach(n),this.h()},h(){Y(l,"name","hf:doc:metadata"),Y(l,"content",A)},m(t,e){O(document.head,l),a(t,d,e),a(t,c,e),a(t,w,e),v(o,t,e),a(t,x,e),v(m,t,e),a(t,M,e),a(t,p,e),a(t,_,e),v(u,t,e),a(t,C,e),a(t,r,e),a(t,J,e),v(f,t,e),a(t,T,e),a(t,$,e),b=!0},p:U,i(t){b||(H(o.$$.fragment,t),H(m.$$.fragment,t),H(u.$$.fragment,t),H(f.$$.fragment,t),b=!0)},o(t){k(o.$$.fragment,t),k(m.$$.fragment,t),k(u.$$.fragment,t),k(f.$$.fragment,t),b=!1},d(t){t&&(n(d),n(c),n(w),n(x),n(M),n(p),n(_),n(C),n(r),n(J),n(T),n($)),n(l),I(o,t),I(m,t),I(u,t),I(f,t)}}}const A='{"title":"Installation","local":"installation","sections":[],"depth":1}';function Q(W){return j(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class et extends N{constructor(l){super(),V(this,l,Q,B,L,{})}}export{et as component};
