import{s as k,o as L,n as U}from"../chunks/scheduler.9bc65507.js";import{S as q,i as A,g as u,s as f,r as T,A as G,h,f as n,c as d,j as z,u as H,x as E,k as b,y as j,a as s,v as y,d as C,t as M,w as S}from"../chunks/index.707bf1b6.js";import{T as N}from"../chunks/Tip.c2ecdbf4.js";import{H as R}from"../chunks/Heading.342b1fa6.js";function B(_){let t,r='Note: Most of the strategies introduced in the <a href="perf_train_gpu_one">single GPU section</a> (such as mixed precision training or gradient accumulation) and <a href="perf_train_gpu_many">multi-GPU section</a> are generic and apply to training models in general so make sure to have a look at it before diving into this section.';return{c(){t=u("p"),t.innerHTML=r},l(i){t=h(i,"P",{"data-svelte-h":!0}),E(t)!=="svelte-1abfqa9"&&(t.innerHTML=r)},m(i,m){s(i,t,m)},p:U,d(i){i&&n(t)}}}function D(_){let t,r,i,m,l,$,o,g,c,P="This document will be completed soon with information on how to train on specialized hardware.",w,p,v;return l=new R({props:{title:"Training on Specialized Hardware",local:"training-on-specialized-hardware",headingTag:"h1"}}),o=new N({props:{$$slots:{default:[B]},$$scope:{ctx:_}}}),{c(){t=u("meta"),r=f(),i=u("p"),m=f(),T(l.$$.fragment),$=f(),T(o.$$.fragment),g=f(),c=u("p"),c.textContent=P,w=f(),p=u("p"),this.h()},l(e){const a=G("svelte-u9bgzb",document.head);t=h(a,"META",{name:!0,content:!0}),a.forEach(n),r=d(e),i=h(e,"P",{}),z(i).forEach(n),m=d(e),H(l.$$.fragment,e),$=d(e),H(o.$$.fragment,e),g=d(e),c=h(e,"P",{"data-svelte-h":!0}),E(c)!=="svelte-1scr206"&&(c.textContent=P),w=d(e),p=h(e,"P",{}),z(p).forEach(n),this.h()},h(){b(t,"name","hf:doc:metadata"),b(t,"content",F)},m(e,a){j(document.head,t),s(e,r,a),s(e,i,a),s(e,m,a),y(l,e,a),s(e,$,a),y(o,e,a),s(e,g,a),s(e,c,a),s(e,w,a),s(e,p,a),v=!0},p(e,[a]){const x={};a&2&&(x.$$scope={dirty:a,ctx:e}),o.$set(x)},i(e){v||(C(l.$$.fragment,e),C(o.$$.fragment,e),v=!0)},o(e){M(l.$$.fragment,e),M(o.$$.fragment,e),v=!1},d(e){e&&(n(r),n(i),n(m),n($),n(g),n(c),n(w),n(p)),n(t),S(l,e),S(o,e)}}}const F='{"title":"Training on Specialized Hardware","local":"training-on-specialized-hardware","sections":[],"depth":1}';function I(_){return L(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class V extends q{constructor(t){super(),A(this,t,I,D,k,{})}}export{V as component};
