import{s as D,n as G,o as k}from"../chunks/scheduler.d9d004e7.js";import{S as F,i as N,e as c,s as r,c as T,h as Q,a as d,d as a,b as l,f as I,g as L,j as S,k as O,l as R,m as i,n as z,t as E,o as M,p as A}from"../chunks/index.4a2b774c.js";import{C as W,H as B,E as J}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.2d77c8e6.js";function K(H){let n,$,h,_,o,v,s,w,m,U="Welcome to the Optimum for Intel® Gaudi® AI Accelerator how-to guides!",x,p,j=`These guides tackle more advanced topics and will show you how to easily get the best from HPUs.
Here’s what you’ll find:`,y,u,q='<li><a href="./script_adaptation">Script adaptation</a>: Learn how to adapt a Transformers/Diffusers script for Intel Gaudi</li> <li><a href="./pretraining">Pretraining models</a>: A guide to pretraining a model using Transformers</li> <li><a href="./accelerate_training">Accelerating training</a>: Discover techniques to speed up training</li> <li><a href="./accelerate_inference">Accelerating inference</a> Learn how to optimize inference for faster execution</li> <li><a href="./deepspeed">Using DeepSpeed</a>: Scale your training to handle larger models</li> <li><a href="./multi_node_training">Multi-node training</a>: Speed up runs with multi-node setups</li> <li><a href="./quantization">Quantization</a>: Explore FP8 and UINT4 quantization for optimized inference</li>',P,f,b,g,C;return o=new W({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),s=new B({props:{title:"Overview",local:"overview",headingTag:"h1"}}),f=new J({props:{source:"https://github.com/huggingface/optimum-habana/blob/main/docs/source/usage_guides/overview.mdx"}}),{c(){n=c("meta"),$=r(),h=c("p"),_=r(),T(o.$$.fragment),v=r(),T(s.$$.fragment),w=r(),m=c("p"),m.textContent=U,x=r(),p=c("p"),p.textContent=j,y=r(),u=c("ul"),u.innerHTML=q,P=r(),T(f.$$.fragment),b=r(),g=c("p"),this.h()},l(e){const t=Q("svelte-u9bgzb",document.head);n=d(t,"META",{name:!0,content:!0}),t.forEach(a),$=l(e),h=d(e,"P",{}),I(h).forEach(a),_=l(e),L(o.$$.fragment,e),v=l(e),L(s.$$.fragment,e),w=l(e),m=d(e,"P",{"data-svelte-h":!0}),S(m)!=="svelte-1oe566p"&&(m.textContent=U),x=l(e),p=d(e,"P",{"data-svelte-h":!0}),S(p)!=="svelte-1w6m3j0"&&(p.textContent=j),y=l(e),u=d(e,"UL",{"data-svelte-h":!0}),S(u)!=="svelte-1jjs55p"&&(u.innerHTML=q),P=l(e),L(f.$$.fragment,e),b=l(e),g=d(e,"P",{}),I(g).forEach(a),this.h()},h(){O(n,"name","hf:doc:metadata"),O(n,"content",V)},m(e,t){R(document.head,n),i(e,$,t),i(e,h,t),i(e,_,t),z(o,e,t),i(e,v,t),z(s,e,t),i(e,w,t),i(e,m,t),i(e,x,t),i(e,p,t),i(e,y,t),i(e,u,t),i(e,P,t),z(f,e,t),i(e,b,t),i(e,g,t),C=!0},p:G,i(e){C||(E(o.$$.fragment,e),E(s.$$.fragment,e),E(f.$$.fragment,e),C=!0)},o(e){M(o.$$.fragment,e),M(s.$$.fragment,e),M(f.$$.fragment,e),C=!1},d(e){e&&(a($),a(h),a(_),a(v),a(w),a(m),a(x),a(p),a(y),a(u),a(P),a(b),a(g)),a(n),A(o,e),A(s,e),A(f,e)}}}const V='{"title":"Overview","local":"overview","sections":[],"depth":1}';function X(H){return k(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class te extends F{constructor(n){super(),N(this,n,X,K,D,{})}}export{te as component};
