import{s as z,n as R,o as S}from"../chunks/scheduler.5f3e6389.js";import{S as X,i as q,e as u,s as d,c as C,h as j,a as f,d as a,b as p,f as N,g as P,j as T,k as y,l as A,m as n,n as H,t as M,o as E,p as L}from"../chunks/index.373ab25c.js";import{C as D,H as I}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.972976e0.js";function U($){let o,g,m,h,i,v,l,x,s,k="🤗 Optimum provides an integration with ONNX Runtime, a cross-platform, high performance engine for Open Neural Network Exchange (ONNX) models.",w,r,O='<div class="w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-3 md:gap-y-4 md:gap-x-5"><a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./usage_guides/pipelines"><div class="w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">How-to guides</div> <p class="text-gray-700">Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use 🤗 Optimum to solve real-world problems.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./concept_guides/onnx"><div class="w-full text-center bg-gradient-to-br from-pink-400 to-pink-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Conceptual guides</div> <p class="text-gray-700">High-level explanations for building a better understanding about important topics such as quantization and graph optimization.</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./package_reference/modeling_ort"><div class="w-full text-center bg-gradient-to-br from-purple-400 to-purple-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Reference</div> <p class="text-gray-700">Technical descriptions of how the ONNX Runtime classes and methods of 🤗 Optimum work.</p></a></div>',b,c,_;return i=new D({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),l=new I({props:{title:"Overview",local:"overview",headingTag:"h1"}}),{c(){o=u("meta"),g=d(),m=u("p"),h=d(),C(i.$$.fragment),v=d(),C(l.$$.fragment),x=d(),s=u("p"),s.textContent=k,w=d(),r=u("div"),r.innerHTML=O,b=d(),c=u("p"),this.h()},l(e){const t=j("svelte-u9bgzb",document.head);o=f(t,"META",{name:!0,content:!0}),t.forEach(a),g=p(e),m=f(e,"P",{}),N(m).forEach(a),h=p(e),P(i.$$.fragment,e),v=p(e),P(l.$$.fragment,e),x=p(e),s=f(e,"P",{"data-svelte-h":!0}),T(s)!=="svelte-1uf7hfi"&&(s.textContent=k),w=p(e),r=f(e,"DIV",{class:!0,"data-svelte-h":!0}),T(r)!=="svelte-coff0d"&&(r.innerHTML=O),b=p(e),c=f(e,"P",{}),N(c).forEach(a),this.h()},h(){y(o,"name","hf:doc:metadata"),y(o,"content",V),y(r,"class","mt-10")},m(e,t){A(document.head,o),n(e,g,t),n(e,m,t),n(e,h,t),H(i,e,t),n(e,v,t),H(l,e,t),n(e,x,t),n(e,s,t),n(e,w,t),n(e,r,t),n(e,b,t),n(e,c,t),_=!0},p:R,i(e){_||(M(i.$$.fragment,e),M(l.$$.fragment,e),_=!0)},o(e){E(i.$$.fragment,e),E(l.$$.fragment,e),_=!1},d(e){e&&(a(g),a(m),a(h),a(v),a(x),a(s),a(w),a(r),a(b),a(c)),a(o),L(i,e),L(l,e)}}}const V='{"title":"Overview","local":"overview","sections":[],"depth":1}';function B($){return S(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class K extends X{constructor(o){super(),q(this,o,B,U,z,{})}}export{K as component};
