import{s as ne,o as ae,n as re}from"../chunks/scheduler.36a0863c.js";import{S as ie,i as oe,g as r,s as c,u as B,A as se,h as i,f as t,c as u,j as $,v as J,y as k,k as l,o as m,a as o,w as O,d as Q,t as R,x as D}from"../chunks/index.d0f7a4c4.js";import{T as le}from"../chunks/Tip.4c7d7eb1.js";import{I as te}from"../chunks/IconCopyLink.bc5fad79.js";function pe(A){let a,_='Nota: Un setup con GPU multiple può utilizzare la maggior parte delle strategie descritte nella <a href="./perf_infer_gpu_one">sezione con GPU singola</a>. Tuttavia, è necessario conoscere delle tecniche semplici che possono essere utilizzate per un risultato migliore.';return{c(){a=r("p"),a.innerHTML=_},l(s){a=i(s,"P",{"data-svelte-h":!0}),k(a)!=="svelte-1x4c7ja"&&(a.innerHTML=_)},m(s,y){o(s,a,y)},p:re,d(s){s&&t(a)}}}function fe(A){let a,_,s,y,p,h,E,g,I,T,F="Inferenza Efficiente su GPU Multiple",H,w,K="Questo documento contiene informazioni su come fare inferenza in maniera efficiente su GPU multiple.",L,d,S,f,v,b,z,j,C,V="<code>BetterTransformer</code> per inferenza più rapida",U,P,W='Abbiamo recentemente integrato <code>BetterTransformer</code> per inferenza più rapida su multi-GPU per modelli su testo, immagini e audio. Controlla il documento con queste integrazioni <a href="https://huggingface.co/docs/optimum/bettertransformer/overview" rel="nofollow">qui</a> per maggiori dettagli.',G,M,N;return g=new te({}),d=new le({props:{$$slots:{default:[pe]},$$scope:{ctx:A}}}),z=new te({}),{c(){a=r("meta"),_=c(),s=r("p"),y=c(),p=r("h1"),h=r("a"),E=r("span"),B(g.$$.fragment),I=c(),T=r("span"),T.textContent=F,H=c(),w=r("p"),w.textContent=K,L=c(),B(d.$$.fragment),S=c(),f=r("h2"),v=r("a"),b=r("span"),B(z.$$.fragment),j=c(),C=r("span"),C.innerHTML=V,U=c(),P=r("p"),P.innerHTML=W,G=c(),M=r("p"),this.h()},l(e){const n=se("svelte-1phssyn",document.head);a=i(n,"META",{name:!0,content:!0}),n.forEach(t),_=u(e),s=i(e,"P",{}),$(s).forEach(t),y=u(e),p=i(e,"H1",{class:!0});var x=$(p);h=i(x,"A",{id:!0,class:!0,href:!0});var X=$(h);E=i(X,"SPAN",{});var Y=$(E);J(g.$$.fragment,Y),Y.forEach(t),X.forEach(t),I=u(x),T=i(x,"SPAN",{"data-svelte-h":!0}),k(T)!=="svelte-1ynq1kn"&&(T.textContent=F),x.forEach(t),H=u(e),w=i(e,"P",{"data-svelte-h":!0}),k(w)!=="svelte-anqryh"&&(w.textContent=K),L=u(e),J(d.$$.fragment,e),S=u(e),f=i(e,"H2",{class:!0});var q=$(f);v=i(q,"A",{id:!0,class:!0,href:!0});var Z=$(v);b=i(Z,"SPAN",{});var ee=$(b);J(z.$$.fragment,ee),ee.forEach(t),Z.forEach(t),j=u(q),C=i(q,"SPAN",{"data-svelte-h":!0}),k(C)!=="svelte-xfnbwn"&&(C.innerHTML=V),q.forEach(t),U=u(e),P=i(e,"P",{"data-svelte-h":!0}),k(P)!=="svelte-j8irol"&&(P.innerHTML=W),G=u(e),M=i(e,"P",{}),$(M).forEach(t),this.h()},h(){l(a,"name","hf:doc:metadata"),l(a,"content",JSON.stringify(ce)),l(h,"id","inferenza-efficiente-su-gpu-multiple"),l(h,"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"),l(h,"href","#inferenza-efficiente-su-gpu-multiple"),l(p,"class","relative group"),l(v,"id","bettertransformer-per-inferenza-pi-rapida"),l(v,"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"),l(v,"href","#bettertransformer-per-inferenza-pi-rapida"),l(f,"class","relative group")},m(e,n){m(document.head,a),o(e,_,n),o(e,s,n),o(e,y,n),o(e,p,n),m(p,h),m(h,E),O(g,E,null),m(p,I),m(p,T),o(e,H,n),o(e,w,n),o(e,L,n),O(d,e,n),o(e,S,n),o(e,f,n),m(f,v),m(v,b),O(z,b,null),m(f,j),m(f,C),o(e,U,n),o(e,P,n),o(e,G,n),o(e,M,n),N=!0},p(e,[n]){const x={};n&2&&(x.$$scope={dirty:n,ctx:e}),d.$set(x)},i(e){N||(Q(g.$$.fragment,e),Q(d.$$.fragment,e),Q(z.$$.fragment,e),N=!0)},o(e){R(g.$$.fragment,e),R(d.$$.fragment,e),R(z.$$.fragment,e),N=!1},d(e){e&&(t(_),t(s),t(y),t(p),t(H),t(w),t(L),t(S),t(f),t(U),t(P),t(G),t(M)),t(a),D(g),D(d,e),D(z)}}}const ce={local:"inferenza-efficiente-su-gpu-multiple",sections:[{local:"bettertransformer-per-inferenza-pi-rapida",title:"`BetterTransformer` per inferenza più rapida"}],title:"Inferenza Efficiente su GPU Multiple"};function ue(A){return ae(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class $e extends ie{constructor(a){super(),oe(this,a,ue,fe,ne,{})}}export{$e as component};
