import{s as G,o as L,n as S}from"../chunks/scheduler.36a0863c.js";import{S as k,i as j,g as $,s as c,r as T,A as N,h as _,f as n,c as f,j as A,u as b,x as q,k as H,y as O,a as i,v as z,d as E,t as U,w as C}from"../chunks/index.9c13489a.js";import{T as Q}from"../chunks/Tip.3b06990e.js";import{H as R,E as B}from"../chunks/index.fab8c5af.js";function D(g){let a,r='Nota: Molte delle strategie introdotte nella <a href="perf_train_gpu_one">sezione sulla GPU singola</a> (come mixed precision training o gradient accumulation) e <a href="perf_train_gpu_many">sezione multi-GPU</a> sono generiche e applicabili all’addestramento di modelli in generale quindi assicurati di dargli un’occhiata prima di immergerti in questa sezione.';return{c(){a=$("p"),a.innerHTML=r},l(s){a=_(s,"P",{"data-svelte-h":!0}),q(a)!=="svelte-1s5ppaf"&&(a.innerHTML=r)},m(s,u){i(s,a,u)},p:S,d(s){s&&n(a)}}}function F(g){let a,r,s,u,m,h,o,P,l,M="Questo documento sarà presto completato con informazioni su come effettuare la formazione su TPU.",v,p,w,d,x;return m=new R({props:{title:"Addestramento su TPU",local:"addestramento-su-tpu",headingTag:"h1"}}),o=new Q({props:{$$slots:{default:[D]},$$scope:{ctx:g}}}),p=new B({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/it/perf_train_tpu.md"}}),{c(){a=$("meta"),r=c(),s=$("p"),u=c(),T(m.$$.fragment),h=c(),T(o.$$.fragment),P=c(),l=$("p"),l.textContent=M,v=c(),T(p.$$.fragment),w=c(),d=$("p"),this.h()},l(e){const t=N("svelte-u9bgzb",document.head);a=_(t,"META",{name:!0,content:!0}),t.forEach(n),r=f(e),s=_(e,"P",{}),A(s).forEach(n),u=f(e),b(m.$$.fragment,e),h=f(e),b(o.$$.fragment,e),P=f(e),l=_(e,"P",{"data-svelte-h":!0}),q(l)!=="svelte-15wvmk4"&&(l.textContent=M),v=f(e),b(p.$$.fragment,e),w=f(e),d=_(e,"P",{}),A(d).forEach(n),this.h()},h(){H(a,"name","hf:doc:metadata"),H(a,"content",I)},m(e,t){O(document.head,a),i(e,r,t),i(e,s,t),i(e,u,t),z(m,e,t),i(e,h,t),z(o,e,t),i(e,P,t),i(e,l,t),i(e,v,t),z(p,e,t),i(e,w,t),i(e,d,t),x=!0},p(e,[t]){const y={};t&2&&(y.$$scope={dirty:t,ctx:e}),o.$set(y)},i(e){x||(E(m.$$.fragment,e),E(o.$$.fragment,e),E(p.$$.fragment,e),x=!0)},o(e){U(m.$$.fragment,e),U(o.$$.fragment,e),U(p.$$.fragment,e),x=!1},d(e){e&&(n(r),n(s),n(u),n(h),n(P),n(l),n(v),n(w),n(d)),n(a),C(m,e),C(o,e),C(p,e)}}}const I='{"title":"Addestramento su TPU","local":"addestramento-su-tpu","sections":[],"depth":1}';function J(g){return L(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Y extends k{constructor(a){super(),j(this,a,J,F,G,{})}}export{Y as component};
