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 g,d as a,b as p,f as N,g as P,j as T,k as _,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.84e44acb.js";function U($){let o,f,m,h,r,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,i,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"><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,y;return r=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"),f=d(),m=u("p"),h=d(),C(r.$$.fragment),v=d(),C(l.$$.fragment),x=d(),s=u("p"),s.textContent=k,w=d(),i=u("div"),i.innerHTML=O,b=d(),c=u("p"),this.h()},l(e){const t=j("svelte-u9bgzb",document.head);o=g(t,"META",{name:!0,content:!0}),t.forEach(a),f=p(e),m=g(e,"P",{}),N(m).forEach(a),h=p(e),P(r.$$.fragment,e),v=p(e),P(l.$$.fragment,e),x=p(e),s=g(e,"P",{"data-svelte-h":!0}),T(s)!=="svelte-1uf7hfi"&&(s.textContent=k),w=p(e),i=g(e,"DIV",{class:!0,"data-svelte-h":!0}),T(i)!=="svelte-2ay70h"&&(i.innerHTML=O),b=p(e),c=g(e,"P",{}),N(c).forEach(a),this.h()},h(){_(o,"name","hf:doc:metadata"),_(o,"content",V),_(i,"class","mt-10")},m(e,t){A(document.head,o),n(e,f,t),n(e,m,t),n(e,h,t),H(r,e,t),n(e,v,t),H(l,e,t),n(e,x,t),n(e,s,t),n(e,w,t),n(e,i,t),n(e,b,t),n(e,c,t),y=!0},p:R,i(e){y||(M(r.$$.fragment,e),M(l.$$.fragment,e),y=!0)},o(e){E(r.$$.fragment,e),E(l.$$.fragment,e),y=!1},d(e){e&&(a(f),a(m),a(h),a(v),a(x),a(s),a(w),a(i),a(b),a(c)),a(o),L(r,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};
