import{s as L,o as U,n as k}from"../chunks/scheduler.9bc65507.js";import{S as A,i as q,g as _,s as c,r as T,A as O,h as d,f as n,c as u,j as M,u as b,x as G,k as j,y as R,a as r,v as E,d as H,t as z,w as C}from"../chunks/index.707bf1b6.js";import{T as B}from"../chunks/Tip.c2ecdbf4.js";import{H as D,E as F}from"../chunks/EditOnGithub.922df6ba.js";function I(h){let a,o='注意: <a href="perf_train_gpu_one">単一GPUセクション</a>で紹介されたほとんどの戦略（混合精度トレーニングや勾配蓄積など）および<a href="perf_train_gpu_many">マルチGPUセクション</a>は一般的なトレーニングモデルに適用される汎用的なものですので、このセクションに入る前にそれを確認してください。';return{c(){a=_("p"),a.innerHTML=o},l(s){a=d(s,"P",{"data-svelte-h":!0}),G(a)!=="svelte-nsgxjc"&&(a.innerHTML=o)},m(s,f){r(s,a,f)},p:k,d(s){s&&n(a)}}}function J(h){let a,o,s,f,m,g,i,w,p,S="このドキュメントは、専用ハードウェアでトレーニングする方法に関する情報を近日中に追加予定です。",P,l,x,$,v;return m=new D({props:{title:"Training on Specialized Hardware",local:"training-on-specialized-hardware",headingTag:"h1"}}),i=new B({props:{$$slots:{default:[I]},$$scope:{ctx:h}}}),l=new F({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/perf_train_special.md"}}),{c(){a=_("meta"),o=c(),s=_("p"),f=c(),T(m.$$.fragment),g=c(),T(i.$$.fragment),w=c(),p=_("p"),p.textContent=S,P=c(),T(l.$$.fragment),x=c(),$=_("p"),this.h()},l(t){const e=O("svelte-u9bgzb",document.head);a=d(e,"META",{name:!0,content:!0}),e.forEach(n),o=u(t),s=d(t,"P",{}),M(s).forEach(n),f=u(t),b(m.$$.fragment,t),g=u(t),b(i.$$.fragment,t),w=u(t),p=d(t,"P",{"data-svelte-h":!0}),G(p)!=="svelte-1rtk05u"&&(p.textContent=S),P=u(t),b(l.$$.fragment,t),x=u(t),$=d(t,"P",{}),M($).forEach(n),this.h()},h(){j(a,"name","hf:doc:metadata"),j(a,"content",K)},m(t,e){R(document.head,a),r(t,o,e),r(t,s,e),r(t,f,e),E(m,t,e),r(t,g,e),E(i,t,e),r(t,w,e),r(t,p,e),r(t,P,e),E(l,t,e),r(t,x,e),r(t,$,e),v=!0},p(t,[e]){const y={};e&2&&(y.$$scope={dirty:e,ctx:t}),i.$set(y)},i(t){v||(H(m.$$.fragment,t),H(i.$$.fragment,t),H(l.$$.fragment,t),v=!0)},o(t){z(m.$$.fragment,t),z(i.$$.fragment,t),z(l.$$.fragment,t),v=!1},d(t){t&&(n(o),n(s),n(f),n(g),n(w),n(p),n(P),n(x),n($)),n(a),C(m,t),C(i,t),C(l,t)}}}const K='{"title":"Training on Specialized Hardware","local":"training-on-specialized-hardware","sections":[],"depth":1}';function N(h){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends A{constructor(a){super(),q(this,a,N,J,L,{})}}export{Y as component};
