import{S as B,i as J,s as O,e as m,k as z,w as U,t as y,M as R,c as f,d as n,m as T,a as g,x as H,h as P,b as _,G as r,g as k,y as q,q as C,o as I,B as L,v as j}from"../chunks/vendor-hf-doc-builder.js";import{T as D}from"../chunks/Tip-hf-doc-builder.js";import{I as F}from"../chunks/IconCopyLink-hf-doc-builder.js";function K(x){let t,u,a,s,h,i,w,p;return{c(){t=m("p"),u=y("Note: Most of the strategies introduced in the "),a=m("a"),s=y("single GPU section"),h=y(" (such as mixed precision training or gradient accumulation) and "),i=m("a"),w=y("multi-GPU section"),p=y(" are generic and apply to training models in general so make sure to have a look at it before diving into this section."),this.h()},l(d){t=f(d,"P",{});var o=g(t);u=P(o,"Note: Most of the strategies introduced in the "),a=f(o,"A",{href:!0});var c=g(a);s=P(c,"single GPU section"),c.forEach(n),h=P(o," (such as mixed precision training or gradient accumulation) and "),i=f(o,"A",{href:!0});var $=g(i);w=P($,"multi-GPU section"),$.forEach(n),p=P(o," are generic and apply to training models in general so make sure to have a look at it before diving into this section."),o.forEach(n),this.h()},h(){_(a,"href","perf_train_gpu_one"),_(i,"href","perf_train_gpu_many")},m(d,o){k(d,t,o),r(t,u),r(t,a),r(a,s),r(t,h),r(t,i),r(i,w),r(t,p)},d(d){d&&n(t)}}}function Q(x){let t,u,a,s,h,i,w,p,d,o,c,$,E,b,S;return i=new F({}),c=new D({props:{$$slots:{default:[K]},$$scope:{ctx:x}}}),{c(){t=m("meta"),u=z(),a=m("h1"),s=m("a"),h=m("span"),U(i.$$.fragment),w=z(),p=m("span"),d=y("Training on Specialized Hardware"),o=z(),U(c.$$.fragment),$=z(),E=m("p"),b=y("This document will be completed soon with information on how to train on specialized hardware."),this.h()},l(e){const l=R('[data-svelte="svelte-1phssyn"]',document.head);t=f(l,"META",{name:!0,content:!0}),l.forEach(n),u=T(e),a=f(e,"H1",{class:!0});var v=g(a);s=f(v,"A",{id:!0,class:!0,href:!0});var A=g(s);h=f(A,"SPAN",{});var G=g(h);H(i.$$.fragment,G),G.forEach(n),A.forEach(n),w=T(v),p=f(v,"SPAN",{});var M=g(p);d=P(M,"Training on Specialized Hardware"),M.forEach(n),v.forEach(n),o=T(e),H(c.$$.fragment,e),$=T(e),E=f(e,"P",{});var N=g(E);b=P(N,"This document will be completed soon with information on how to train on specialized hardware."),N.forEach(n),this.h()},h(){_(t,"name","hf:doc:metadata"),_(t,"content",JSON.stringify(V)),_(s,"id","training-on-specialized-hardware"),_(s,"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"),_(s,"href","#training-on-specialized-hardware"),_(a,"class","relative group")},m(e,l){r(document.head,t),k(e,u,l),k(e,a,l),r(a,s),r(s,h),q(i,h,null),r(a,w),r(a,p),r(p,d),k(e,o,l),q(c,e,l),k(e,$,l),k(e,E,l),r(E,b),S=!0},p(e,[l]){const v={};l&2&&(v.$$scope={dirty:l,ctx:e}),c.$set(v)},i(e){S||(C(i.$$.fragment,e),C(c.$$.fragment,e),S=!0)},o(e){I(i.$$.fragment,e),I(c.$$.fragment,e),S=!1},d(e){n(t),e&&n(u),e&&n(a),L(i),e&&n(o),L(c,e),e&&n($),e&&n(E)}}}const V={local:"training-on-specialized-hardware",title:"Training on Specialized Hardware"};function W(x){return j(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ee extends B{constructor(t){super();J(this,t,W,Q,O,{})}}export{ee as default,V as metadata};
