import{S as xe,i as Ee,s as ke,e as o,k as n,w as Oe,t as c,M as Pe,c as s,d as t,m as d,a as i,x as Te,h,b as r,G as e,g as S,y as ze,L as $e,q as Ae,o as Ie,B as Se,v as qe}from"../../chunks/vendor-hf-doc-builder.js";import{I as De}from"../../chunks/IconCopyLink-hf-doc-builder.js";function Ve(ne){let u,V,p,b,q,y,B,D,G,H,E,J,L,x,l,m,k,U,j,O,K,Q,f,P,W,Y,T,Z,ee,v,z,te,ae,$,re,oe,g,A,se,ie,I,le,C;return y=new De({}),{c(){u=o("meta"),V=n(),p=o("h1"),b=o("a"),q=o("span"),Oe(y.$$.fragment),B=n(),D=o("span"),G=c("Overview"),H=n(),E=o("p"),J=c("\u{1F917} Optimum provides an integration with Torch FX, a library for PyTorch that allows developers to implement custom transformations of their models that can be optimized for performance."),L=n(),x=o("div"),l=o("div"),m=o("a"),k=o("div"),U=c("Tutorials"),j=n(),O=o("p"),K=c("Learn the basics and become familiar with quantizing and optimizing transformers with \u{1F917} Optimum. Start here if you are using \u{1F917} Optimum for the first time!"),Q=n(),f=o("a"),P=o("div"),W=c("How-to guides"),Y=n(),T=o("p"),Z=c("Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use \u{1F917} Optimum to solve real-world problems."),ee=n(),v=o("a"),z=o("div"),te=c("Conceptual guides"),ae=n(),$=o("p"),re=c("High-level explanations for building a better understanding about important topics such as quantization and graph optimization."),oe=n(),g=o("a"),A=o("div"),se=c("Reference"),ie=n(),I=o("p"),le=c("Technical descriptions of how the Torch FX classes and methods of \u{1F917} Optimum work."),this.h()},l(a){const w=Pe('[data-svelte="svelte-1phssyn"]',document.head);u=s(w,"META",{name:!0,content:!0}),w.forEach(t),V=d(a),p=s(a,"H1",{class:!0});var F=i(p);b=s(F,"A",{id:!0,class:!0,href:!0});var de=i(b);q=s(de,"SPAN",{});var ce=i(q);Te(y.$$.fragment,ce),ce.forEach(t),de.forEach(t),B=d(F),D=s(F,"SPAN",{});var he=i(D);G=h(he,"Overview"),he.forEach(t),F.forEach(t),H=d(a),E=s(a,"P",{});var ue=i(E);J=h(ue,"\u{1F917} Optimum provides an integration with Torch FX, a library for PyTorch that allows developers to implement custom transformations of their models that can be optimized for performance."),ue.forEach(t),L=d(a),x=s(a,"DIV",{class:!0});var pe=i(x);l=s(pe,"DIV",{class:!0});var _=i(l);m=s(_,"A",{class:!0,href:!0});var X=i(m);k=s(X,"DIV",{class:!0});var me=i(k);U=h(me,"Tutorials"),me.forEach(t),j=d(X),O=s(X,"P",{class:!0});var fe=i(O);K=h(fe,"Learn the basics and become familiar with quantizing and optimizing transformers with \u{1F917} Optimum. Start here if you are using \u{1F917} Optimum for the first time!"),fe.forEach(t),X.forEach(t),Q=d(_),f=s(_,"A",{class:!0,href:!0});var M=i(f);P=s(M,"DIV",{class:!0});var ve=i(P);W=h(ve,"How-to guides"),ve.forEach(t),Y=d(M),T=s(M,"P",{class:!0});var ge=i(T);Z=h(ge,"Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use \u{1F917} Optimum to solve real-world problems."),ge.forEach(t),M.forEach(t),ee=d(_),v=s(_,"A",{class:!0,href:!0});var N=i(v);z=s(N,"DIV",{class:!0});var we=i(z);te=h(we,"Conceptual guides"),we.forEach(t),ae=d(N),$=s(N,"P",{class:!0});var be=i($);re=h(be,"High-level explanations for building a better understanding about important topics such as quantization and graph optimization."),be.forEach(t),N.forEach(t),oe=d(_),g=s(_,"A",{class:!0,href:!0});var R=i(g);A=s(R,"DIV",{class:!0});var _e=i(A);se=h(_e,"Reference"),_e.forEach(t),ie=d(R),I=s(R,"P",{class:!0});var ye=i(I);le=h(ye,"Technical descriptions of how the Torch FX classes and methods of \u{1F917} Optimum work."),ye.forEach(t),R.forEach(t),_.forEach(t),pe.forEach(t),this.h()},h(){r(u,"name","hf:doc:metadata"),r(u,"content",JSON.stringify(He)),r(b,"id","overview"),r(b,"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"),r(b,"href","#overview"),r(p,"class","relative group"),r(k,"class","w-full text-center bg-gradient-to-br from-blue-400 to-blue-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed"),r(O,"class","text-gray-700"),r(m,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),r(m,"href","./tutorials/overview"),r(P,"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"),r(T,"class","text-gray-700"),r(f,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),r(f,"href","./usage_guides/optimization"),r(z,"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"),r($,"class","text-gray-700"),r(v,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),r(v,"href","./concept_guides/symbolic_tracer"),r(A,"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"),r(I,"class","text-gray-700"),r(g,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),r(g,"href","./package_reference/optimization"),r(l,"class","w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-2 md:gap-y-4 md:gap-x-5"),r(x,"class","mt-10")},m(a,w){e(document.head,u),S(a,V,w),S(a,p,w),e(p,b),e(b,q),ze(y,q,null),e(p,B),e(p,D),e(D,G),S(a,H,w),S(a,E,w),e(E,J),S(a,L,w),S(a,x,w),e(x,l),e(l,m),e(m,k),e(k,U),e(m,j),e(m,O),e(O,K),e(l,Q),e(l,f),e(f,P),e(P,W),e(f,Y),e(f,T),e(T,Z),e(l,ee),e(l,v),e(v,z),e(z,te),e(v,ae),e(v,$),e($,re),e(l,oe),e(l,g),e(g,A),e(A,se),e(g,ie),e(g,I),e(I,le),C=!0},p:$e,i(a){C||(Ae(y.$$.fragment,a),C=!0)},o(a){Ie(y.$$.fragment,a),C=!1},d(a){t(u),a&&t(V),a&&t(p),Se(y),a&&t(H),a&&t(E),a&&t(L),a&&t(x)}}}const He={local:"overview",title:"Overview"};function Le(ne){return qe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Xe extends xe{constructor(u){super();Ee(this,u,Le,Ve,ke,{})}}export{Xe as default,He as metadata};
